RetroBar icon indicating copy to clipboard operation
RetroBar copied to clipboard

Taskbar size does not update after changing display scaling percentage

Open xoascf opened this issue 4 years ago • 7 comments

The theme has to be changed manually to be updated, it is not automatic.

xoascf avatar Nov 08 '21 21:11 xoascf

I'm not able to reproduce this, have you set any compatibility options on RetroBar.exe by chance?

dremin avatar Nov 08 '21 22:11 dremin

I'm not able to reproduce this, have you set any compatibility options on RetroBar.exe by chance?

No compatibility options have been set.

In a clean installation of Windows 11, the taskbar does not update its size like the Properties window or the stock taskbar does. Artifact from: https://github.com/dremin/RetroBar/actions/runs/1437230491

Stock taskbar behaviour:

https://user-images.githubusercontent.com/28744392/140845938-d1614a51-18ad-4f6e-ae46-e2099119757c.mp4

RetroBar behaviour:

https://user-images.githubusercontent.com/28744392/140846051-9fe4f8ff-0a82-4105-a660-fd8b1fbf5865.mp4

xoascf avatar Nov 09 '21 01:11 xoascf

Thanks for the videos! Interesting, using the same settings as you I can reproduce this on Windows 11, but not Windows 10. I'll have to start debugging this further.

dremin avatar Nov 09 '21 04:11 dremin

Okay, this is really strange. Windows doesn't send WM_DPICHANGED to the taskbar window for some reason, but it does if we change our size. I'm still working through trial and error to figure out what about the taskbar window causes this.

dremin avatar Nov 27 '21 19:11 dremin

Hey, check out this implementation: https://github.com/PhilipRieck/WpfAppBar

It works fine for DPI changes in Windows 11, but everything else doesn't work as well as the ManagedShell implementation.

xoascf avatar Nov 28 '21 03:11 xoascf

I am seeing DPI changes take effect again with Insider build 22581. However, I see #304 when that happens. Are you seeing the same?

dremin avatar Mar 29 '22 03:03 dremin

I am seeing DPI changes take effect again with Insider build 22581. However, I see #304 when that happens. Are you seeing the same?

Interesting, the taskbar goes up and down in position when changing DPI and then down to the bottom edge of the screen, for some reason it worked for me to change the DPI with RetroBar at login (the taskbar was able to adapt to the selected DPI), but then it didn't (I downloaded and ran the new version).

xoascf avatar Mar 29 '22 11:03 xoascf

I don't see the retrobar at 200% scale on the third monitor at all :( If I change scale to 100% and restart the app, it works, but doesn't update the size of taskbar after a scale change.

vchirikov avatar Mar 10 '23 11:03 vchirikov