-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
Theme switching does not work with multiple desktops #469
Comments
duplicate of #228 However, you've filled out the bug report template and provided screenshots, so I'm closing the other issue in favor of this one. There is a bit of weirdness when it comes to switching wallpapers on vdesktops.
OR
Not both, this is a windows limitation. In addtion, this API is different in every. single. windows build., making this very cumbersome to develop. For more info, you can check out this repo which actively tracks the new api Also, in theory the wallpaper switch should work fine if you use our Wallpaper switching mechanism instead of Windows theme mode, but it may also be broken in newer builds. |
Thanks, This should be labeled as a "known issue" to make it easier to follow. |
It actually was at some point, dunno what happened to it. |
@Spiritreader Nope, wallpaper switch mode is broken as well |
Just an idea. Is it possible to detect virtual desktop switching? If possible, maybe we can check which wallpaper/theme was used, and switch to the correct one when switched between virtual desktop? |
@Armin2208 could you re-test this when you get the chance? Thai contradicts our internal testing. |
In which windows build are you facing issues with wallpaper switch? |
@JasonHK oh yes before I forget: did you use the multi monitor option when using our wallpaper switcher? |
@Armin2208 22000.856
@Spiritreader That one doesn't work either |
I have started to notice this major bug only after upgrade from Windows 11 21H2 to 22H2 latest Release Preview. Switching to Dark Theme is nearly instantaneous, but latest Windows Version 10.0.22621.382 forgets to change the wallpaper on all other virtual desktops, other than the current one in use. I've reported the Windows bug (happens even when switching from Windows Settings) to Microsoft which breaks theming, and Auto Dark Mode, but the September 20th release date is fast approaching and the bug report remains unacknowledged (?). If you want to help upvote the bug report, it's here: Thanks! |
When I try to open your link with the Feedback Hub I get the following error: |
I shared the feedback via the app "feedback hub" which produced that short URL, if it's forbidden, must be some problem on Microsoft side. |
The proper way to get ADM's own wallpaper switcher to work is this
If that doesn't work, then you're still not using the multi-monitor switching method that works with vdesktops. Try again starting with step 1. Support for V-Desktops will come at some point, but there's still no package yet that provides this functionality with version-specific implementation. Until that is available, the method described above is the only way to get it working with our wallpaper switcher. The alternatives open to you are using the Windows theme mode, or not using the wallpaper switcher / using a third party wallpaper tool. |
I am not sure whether the above operation can work. However, if I choose to switch themes automatically. I cannot pick a wallpaper with warnning: This feature is disabled while theme mode is enabled. ADM version:10.1.0.10 |
Yes that is normal. If you use the theme mode, everything is managed by windows. If windows is buggy, then you'll have to live with it basically. |
I am having the same issue. But the situation on my side is a little bit different. I found that the wallpaper will still switch automatically, but there will be a delay. If you stay on the desktop whose wallpaper was not automatically switched for about a minute, the wallpaper will still auto-switch as expected. |
No updates have been provided to this issue after 60 days of inactivity. The issue will be automatically closed in 7 days. |
Not stale |
There is, It is a Powershell module PSVirtualDesktop and it can set wallpaper on all virtual desktops like this:
It has also a C# version with version-specific implementation: https://github.com/MScholtes/VirtualDesktop |
Windows Auto Dark Mode - Change multi-screen wallpaper |
Hey! Anyway, what I mentioned a while ago should work for multiple desktops though: Windows itself doesn't support multi-screen multi-vdesktop wallpapers itself. It is equivalent to enabling multi-monitor wallpapers in the windows settings. The reason this only works when all virtual desktops have been closed prior to setting multi-monitor wallpapers is that Windows won't allow multi monitor wallpaper switching. If it detects virtual desktops open with different wallpapers present, the v-desktop wallpaper mode is considered active. At the moment there are two possibilites:
|
I was able to get everything working with virtual desktops using that powershell module and using the custom scripts feature. I just enabled custom scripts and disabled the "Enable wallpaper switch" option so everything is controlled individually with the script, because in my case I only wanted certain virtual desktops to change their wallpaper. Here's an example of my yaml:
Where you'd replace your desktop names instead of WhateverDesktopName and the wallpaper paths. That one is an example for two virtual desktops, but you can add more by doing another semicolon and copying the same Set-DesktopWallpaper command a third time. Note that right now the module has an issue with the latest Windows 11 builds so at the moment you need to use a special version of the script the person made as described here: |
Span mode does not work with dark-mode switching for me.
Is this the same issue as here, or should I report this separately? And just to be clear, I recorded a video of what it looks like: vuY5FsCVsw.mp4 |
That sounds like you aren't using the latest build. |
@Spiritreader I switched to the beta branch, and it did indeed fix the problem. Thank you! |
This also appears to be the reason why I receive two desktop notifications (spaced apart by a few minutes) each time the light/dark mode toggles. Deleting all my virtual desktops looks to have stopped that bug. Edit: Nope, it didn't solve the issue. Not sure why I get double notifications to toggle the theme... |
This worked a treat for me. Thanks for the explicit, step-by-step guide. |
Description
Theme switching does not work with multiple desktops.
For taskbar, start menu, and stuff, the app is working to automatically switch dark and light themes.
However, for the wallpaper, the app switching does not work, only the first virtual desktops among many desktops get switched to the correct wallpaper.
Manual switching with shortcut keys still works and could switch the current desktop to the correct theme.
However, the other desktops are still left behind with the old wallpaper from the other themes.
Expected Behavior
ADM should be able to switch all desktop wallpapers together.
I guess this could be done with a for-loop, where the AMD switches all desktops sequentially.
Log Data
service.log
config.yaml.log
Operating System
Windows 11 pro 1000.22000.739.0
Commit Hash and Version
5e6ea8a
10.1.0.10
2.4.2
10.0.1.0
1.3.1.0
6.0.0
Screenshots
The text was updated successfully, but these errors were encountered: