-
Notifications
You must be signed in to change notification settings - Fork 169
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
Image has wrong scale with multiple monitors in different scale #518
Comments
It is caused by the fixed dpr in ImageViewerV2, which the value is from the primary monitor. I fixed this issue with the following code updates:
|
If I remember correctly, different scales between monitors aren't supported by X11, so this only affects Wayland. Until this is fixed qimgv can also be run with enforced usage of X11:
Also see https://wiki.archlinux.org/title/Wayland#Qt. Or just add the environment variable |
I have my primary monitor scale at 150%, and the external monitor scale at 100%. Then qimgv will display image at wrong scale in the external monitor and not fill the window, just like below:
System info:
The text was updated successfully, but these errors were encountered: