-
Notifications
You must be signed in to change notification settings - Fork 29
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
Icon size does not scale immediately when changing your monitor scaling #125
Comments
In the logs we can observed the following:
You can see that "System DPI" is detected as 200% which does not match the scaling of 250% of the single monitor in the system. |
ShellAnything uses the More testing of function If function ExtractIconEx() does not detect changes of the main monitor scaling, another function should be use to extract icons from files. For example, function SHDefExtractIcon() might be a good alternative candidate. ShellAnything should detect when a change in display setting occurred or if the window that will displays the menu has not the same scaling as before. When such a change is detected, it should flush all loaded icons to force refresh them. |
Note to self:
|
Follow up of #117. |
Describe the bug
If you change your monitor scaling the icon size does not scale with the change. For example, changing from 100% to 300%, the icons are kept at 16x16 resolution which makes them much too small in the menu and very hard to see.
The same is also true if you move Windows Explorer window to another screen that has a different scaling factor.
To Reproduce
Steps to reproduce the behavior:
This problem seems to be affecting other application as well. Most (if not all) other application loads their icons "once" and do not refresh them until you sign-out/sign-in or reboot.
Expected behavior
The size of the icons should increase as the display scaling increases. Icons size should match other icons. The same way as the icons from the taskbar.
Screenshots
N/A
Environment
Additional context
The workaround is to sign-off and sign-in again. Reboot is also an option. This way when explorer.exe is launched, its is updated to the latest monitor scaling.
The text was updated successfully, but these errors were encountered: