Wallpaper render incorrectly when main display is on the right
icharge opened this issue · 2 comments
Doing my own Custom-Wallpaper project I stumbled upon this issue as well.
@AlexanderPro the problem lies here:
and here
Progman (Explorer) fails with transparent windows if the primary screen is not on the left.
A possible solution would be to disable transparency and draw the background image yourself. The file %appdata%\Microsoft\Windows\Themes\TranscodedWallpaper
(it comes without extension but in JPEG-format) contains the background image. I don't know if this holds true if the user selected "Slideshow" in the Personalization>Background settings.
Hope this helps :)
Hi, icharge and Hirnmoder
Thanks that you highlighted the issue and the interesting idea to solve it. I hope I have fixed it in this version 1.1.2.
I removed lines:
AllowsTransparency="True"
Opacity="{Binding Opacity}"
But I have not used the file %appdata%\Microsoft\Windows\Themes\TranscodedWallpaper
instead of this I captured the desktop background programmatically