GNOME Bugzilla – Bug 776250
Zoom changes to default whenever navigating to new page via the index menu.
Last modified: 2018-05-22 16:56:35 UTC
Whenever I navigate to a page via the index menu, the page zoom resets to it's default (fit page.) Additionally, using "Save Current Settings as Default Ctrl-T" does not seem to save these settings. It will always revert to the "Fit Page" setting when navigating. Closing and restarting the program after saving new default settings does nothing to aid in the settings taking hold. Xubuntu 16.04 LTS
Hi, this is not a bug, even if it can be very annoying for some. Links in PDF may specify a change in the zoom when activated. So, most probably this is what is happening, and it's not a bug, but a feature of PDF. However, since many users consider this an annoying feature, you can change the allow-links-change-zoom gsetting in the org.gnome.Evince.Default schema to false. Instead of closing this bug, I'd like to leave it open so we can add this to the help of evince.
Ahh, thank you. I was able to change the settings after some poking around. Is there any reason these settings aren't accessible in a menu? For posterity: ## Where I found the schema (Xubuntu 16.04) sudo vim /usr/share/glib-2.0/schemas/org.gnome.Evince.gschema.xml ## What to change (suggested to make a backup of file first) ## change "allow-links-change-zoom" to false ## To reload the schema (otherwise you won't see a change) sudo glib-compile-schemas /usr/share/glib-2.0/schemas
The(In reply to 13frog37 from comment #2) > Ahh, thank you. I was able to change the settings after some poking around. > Is there any reason these settings aren't accessible in a menu? > > For posterity: > > ## Where I found the schema (Xubuntu 16.04) > sudo vim /usr/share/glib-2.0/schemas/org.gnome.Evince.gschema.xml > > ## What to change (suggested to make a backup of file first) > ## change "allow-links-change-zoom" to false > > ## To reload the schema (otherwise you won't see a change) > sudo glib-compile-schemas /usr/share/glib-2.0/schemas This way is not-recommended. You shouldn't need to do anything as root to fix this. The recommended way is $ gsettings set org.gnome.Evince allow-links-change-zoom false or using dconf-editor No reason really other than we don't have preference settings UI.
*** Bug 781453 has been marked as a duplicate of this bug. ***
*** Bug 781454 has been marked as a duplicate of this bug. ***
I think that we might do something like... Detect when following a link will change the zoom, and then display an Infobar saying "this link want to change the zoom, and Evince blablabla. Do you want to override this?" or something similar... in order to do the right thing with the less annoyance possible to users.
The infobar sounds doable. Shall Evince ask per document or once for all? I wonder how the user could undo the action, specially if the latter.
Increasing the importance because this is a recurrent issue.
-- 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/741.