GNOME Bugzilla – Bug 753220
Zoom level incorrect for HiDPI display
Last modified: 2018-05-22 16:18:27 UTC
Hi, When using a HiDPI screen, the zoom factor is doubled under the hood and the user sees this 'doubled' zoom scaling factor in the UI. The expected outcome is that the user is oblivious to the doubling and only sees the perceived zoom level. This also means that the user cannot increase the zoom by as much as before. The zoom level is pretty trivial to fix, I can get a patch together but I may need some help for tricking the back end to allow higher than the maximum zoom level already set.
can you upload screenshots of what you mean?
Created attachment 308725 [details] HiDPI at 100% zoom
Created attachment 308726 [details] HiDPI at 200% zoom
Created attachment 308727 [details] Normal DPI with 100%
Okay, did that clear it up ok? The PDFs were a little different so please excuse.
Yes. How did you created the normal DPI? another machine or same maching changing GTK_SCALING_FACTOR? I think the issue is not with the hiDPi but instead that we are not getting the DPI right in the calculation for the zoom... We are supposed to compute the exact dpi of the screen and use that to set the zoom with the goal of making the zoom "physical", so if it's a a4 paper and you put 100% then it should look at natural size.
(In reply to José Aliste from comment #6) > Yes. How did you created the normal DPI? another machine or same maching > changing GTK_SCALING_FACTOR? > > I think the issue is not with the hiDPi but instead that we are not getting > the DPI right in the calculation for the zoom... We are supposed to compute > the exact dpi of the screen and use that to set the zoom with the goal of > making the zoom "physical", so if it's a a4 paper and you put 100% then it > should look at natural size. I used two machines, first attached to a normal 1080 (24") and second to a 24" HiDPI. I get the same behaviour on a MacBook Pro retina.
FYI this is still an issue with 3.22.
I still have this issue as well -- on my HiDPI laptop screen, I have to look at PDFs at 50%, and when using an external monitor (where gnome's scaling factor has automatically adjusted to 100%), I can correctly use 100%. I'm using a fresh install of Gnome 3.26 on Fedora
Also probably linked, when a document is opened, it's opened in a huge window that's bigger than the screen area. One has to maximize the window in order to access the close button.
Possibly related: https://bugzilla.gnome.org/show_bug.cgi?id=793239
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/615.