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

Wallpaper render incorrectly when main display is on the right #6

Open
icharge opened this issue May 5, 2020 · 2 comments
Open

Wallpaper render incorrectly when main display is on the right #6

icharge opened this issue May 5, 2020 · 2 comments

Comments

@icharge
Copy link

icharge commented May 5, 2020

image

No. 2 set to main display and place on the right side then start Awesome Wallpaper or config is reload.
Wallpaper will render incorrectly

image

@Hirnmoder
Copy link

Doing my own Custom-Wallpaper project I stumbled upon this issue as well.

@AlexanderPro the problem lies here:

AllowsTransparency="True"

and here
Opacity="{Binding Opacity}">

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 :)

@AlexanderPro
Copy link
Owner

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

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