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 308910 - max zoom in statusbar stops at 1999%
max zoom in statusbar stops at 1999%
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: general
unspecified
Other Linux
: Normal minor
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-24 10:38 UTC by Paolo Borelli
Modified: 2005-06-25 02:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (737 bytes, patch)
2005-06-24 12:08 UTC, Paolo Borelli
none Details | Review

Description Paolo Borelli 2005-06-24 10:38:28 UTC
when you zoom in at the maximum level statusbar syas 2000% (ok).

Now zoom out a bit and then in again: statusbar stops at 1999%
Comment 1 Paolo Borelli 2005-06-24 10:43:53 UTC
note: happens when scrolling with the mouse scroll wheel, not with the toolbar
buttons
Comment 2 Paolo Borelli 2005-06-24 12:08:02 UTC
Created attachment 48275 [details] [review]
patch

here is simple patch which fixes the issue: round to the nearest integer
instead of always rounding down (note that it is safe because the return value
of eog_scroll_view_get_zoom is always clamped at MAX_ZOOM, so there is no risk
of having zoom 2001%)
Comment 3 Tim Gerla 2005-06-25 02:14:21 UTC
Thanks, patch applied.