Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 7 - Add Command Issue #1

Closed
Hashnoob opened this issue Sep 18, 2018 · 12 comments
Closed

Windows 7 - Add Command Issue #1

Hashnoob opened this issue Sep 18, 2018 · 12 comments

Comments

@Hashnoob
Copy link

Hashnoob commented Sep 18, 2018

Hey Francesco,

OS: WIN7

I'm having an issue with the command "add" when I use it with or without parameters, it just makes the class/window of choice disappear from the taskbar and view, but it keeps the process running in the background. The command worked twice out of around 50+ tries, it seems very random.

Any thoughts or solutions?

Also thank you for you work on this app I have been looking for an opensource wallpaper engine for a very long time! Although you may want to consider giving this awesome app a more defined name for it's intended purpose it could be easy to overlook, just an idea. :)

@Hashnoob Hashnoob changed the title Windows 7 - Couldn't Spawn Window Behind Icons Windows 7 - Video will not spawn behind desktop icons. Sep 18, 2018
@Hashnoob Hashnoob changed the title Windows 7 - Video will not spawn behind desktop icons. Windows 7 - Add Command Issue Sep 19, 2018
@Hashnoob
Copy link
Author

Workaround: Kill and restart explorer.exe, then setting a new desktop process background works most of the time on Windows 7.

@Francesco149
Copy link
Owner

when you add the window and it fails, does it say just "W: couldn't spawn WorkerW window, trying old method" or also "W: couldnt spawn window behind icons, falling back to Progman" ? also, do you have aero enabled? if not, try enabling it. windows 7 support is very untested, maybe I'll spin up a win7 virtual machine and see if i can reproduce the issue.

@Hashnoob
Copy link
Author

Hey thanks for the reply!

So I was getting the two errors you mentioned. But I figured out that the explorer.exe had to be restarted. Then I only get one of the errors which is "W: couldn't spawn WorkerW window, trying old method". But the process does get applied successfully below the icons.

And yes Aero was enabled before I tried to initiate every command.

If you want me to try out any other ideas let me know!

@Hashnoob
Copy link
Author

Commands used.
__
wp run mpv ^
--player-operation-mode=pseudo-gui ^
--force-window=yes ^
--terminal=no ^
--no-audio ^
--loop=inf ^
video.mp4

wp add -t -c mpv -f

@Hashnoob
Copy link
Author

To run the command again, successfully.
Kill the restart explorer.exe > run commands

If you don't restart explorer: Running the commands will make the class/window of choice disappear from the taskbar and view, but it keeps the process running in the background.
Output: [0048061A] mpv | 26, -11, 1894, 1069 | video.mp4 - mpv

If you do restart explorer: It does the same thing as above but also works as intended. But it will come with an additional error.
Output: [00171DC6] mpv | 26, -11, 1894, 1069 | video.mp4 - mpv
Output: W: couldn't spawn WorkerW window, trying old method

Hope that helps.

@AClon314
Copy link

AClon314 commented Sep 25, 2018

@Francesco149
I have this same problem! The window can't be hidden below the icons. It can't work in the correct way!
But all in all, thanks your open source. I am so looking forward to useing it in the future versions!
Using Windows 7
(I M A English Learner,maybe there's some grammar mistakes)

@AClon314
Copy link

AClon314 commented Oct 27, 2018

@Hashnoob @Francesco149 It's solved!
image
Just check at least these options(Chinese, the same position as English)
Just like the DreamScene !!!

@Francesco149
Copy link
Owner

Francesco149 commented Nov 11, 2018

@Hashnoob can you retest with 0.6.0 ? I think that might've been an issue with the --fullscreen option not working correctly on multiple monitors and just placing the window out of bounds

as for the visual settings, I'm currently investigating exactly which ones are actually needed to make weebp work

@Francesco149
Copy link
Owner

Francesco149 commented Nov 18, 2018

ok so i investigated this a bit more

it seems that unchecking"Animate controls and elements inside windows" makes it fall back to Progman (not behind icons). so at least that is required. I haven't figured out why it still won't properly capture the window yet though. investigating further...

@Francesco149
Copy link
Owner

figured it out! on newer windows 7 updates it seems that the windows 10 window message works, which means that it tries to use the windows 10 method and doesn't hide the desktop window.

by detecting windows 7 in a more reliable way and hiding the desktop window it works

will push an update soon

@Francesco149
Copy link
Owner

version 0.6.1 fixes this problem, have fun!

@Hashnoob
Copy link
Author

Got around to checking github again. Your fix is working like a charm, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants