After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 788480 - libview: Allow zooming to the limits of the scale
libview: Allow zooming to the limits of the scale
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-10-03 17:02 UTC by Germán Poo-Caamaño
Modified: 2017-10-05 17:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
libview: Allow zooming to the limits of the scale (2.87 KB, patch)
2017-10-03 17:02 UTC, Germán Poo-Caamaño
committed Details | Review

Description Germán Poo-Caamaño 2017-10-03 17:02:50 UTC
If the current zoom level was within one zoom factor of the limit, it
was not possible to scroll towards the limit. This made smooth scrolling
near the limit awkward, as unless the scroll event had a large delta it
was impossible to reach the zoom limit. Non-smooth scrolling was also
affected, but it was just much more difficult to trigger.

Fix this by allowing zooming while the current zoom level is within one
zoom factor of the limit. Add a new ev_view_can_zoom() function to make
zooming by a factor (as with smooth scrolling) more convenient.
Comment 1 Germán Poo-Caamaño 2017-10-03 17:02:57 UTC
Created attachment 360847 [details] [review]
libview: Allow zooming to the limits of the scale
Comment 2 Germán Poo-Caamaño 2017-10-05 17:51:10 UTC
This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.