GNOME Bugzilla – Bug 740240
Showing the image at its normal size doesn't work for HiDPI displays.
Last modified: 2021-06-19 08:47:51 UTC
When I pressed the "Show the image at its normal size" button with a HiDPI display, it shows as double size instead of normal size.
Created attachment 290840 [details] [review] Change the zoom value according to the scale factor.
Hmm, I can only test with GDK_SCALE=n, but I think this might need to be handled differently as it displays a zoom factor of 50% when clicking the 100% button. The zoom factor should probably not be generally adjusted but instead should be handled at the actual drawing stage. cairo-1.14 apparently got some HiDPI support. Might be worth checking out as well.
You need to have a real HiDPI display to see how my patch works. When I use Fedora 21 with a HiDPI display, it actually displays a zoom factor of 200% while clicking the 100% button.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/eog/-/issues/ Thank you for your understanding and your help.