GNOME Bugzilla – Bug 746132
can't zoom to 100% 200% etc. in eog 3.15.91
Last modified: 2018-11-26 18:46:55 UTC
Created attachment 299266 [details] unable to zoom to 100% or multiples of 100% Many pictures are big, so to see them as they are we need 100% zoom and to see smaller ones clearly we need 200%, 400% etc. 1:1, 1:2 1:4 are scaled much better than other sizes, with less blur and more clarity. Please allow percent wise zoom or let the slide 'stop' at different levels. Also ctrl+1 shortcut not working. Thanks.
A "stop" at 100% makes sense, since it is something that could be interesting to users. I think that's something I discussed with Felix during the design of the zoom slider. However, I don't see zooming to 200% or 400% to be interesting or useful design goals. Zooming is generally relative; you do it to make the image bigger or smaller, not to achieve a specific zoom level.
Created attachment 299464 [details] viewnoir image viewer - compact toolar and with a useful titlebar Have you seen viewnoir? http://siyanpanayotov.com/project/viewnior/ it is inspired by eog. The toolbar is compact (except the 2 buttons zoom + and -) The title bar shows the number of files in the current folder 8/46 and zoom percentage (100%) as can be seen in the attachment. Thanks.
Yes, there was a tick at 100% in one of the headerbar patches. However, adding a tick offsets the scalebar as the marker will either be above or beyond the bar, which didn't look that great IMHO. As it was also resisting my attempts at recoloring the tick, which was a bit hard to spot on the dark headerbar and Jente having experianced some problems with rendering I took it out again. We could revisit it though. Adding an empty tick is a one-liner. (In reply to Asif Ali Rizvan from comment #0) > Also ctrl+1 shortcut not working. Where did you get CTRL+1? eog's shortcuts for 100% are historically either CTRL+0 or just 1.
Created attachment 303482 [details] slider sample with tick at 100% That's how it looks with a tick at 100%. Notice the slider being offset to the top. However, I can't spot any display corruptions. The only thing that needs some retouching would probably be the tick color.
Maybe just have the stop without the tick mark?
This would require changes in GTK+, to allow GtkScale to have marks without showing them. This might be somewhat related to #582752, I guess.
I discussed this with Lapo and Jakub the other day, and we agreed that the theme could be modified so that the tick marks don't affect the positioning of the slider trough. This change is being tracked as bug 749650.
Created attachment 305331 [details] slider with gtk+ master from today With the changes from bug 749650 the marker is a bit smaller and more "under" the slider. The marker is a bit hard to see with the dark theme, but it would be pretty good to reach 100% with the mouse for example.
(In reply to Felix Riemann from comment #8) > Created attachment 305331 [details] > slider with gtk+ master from today > > With the changes from bug 749650 the marker is a bit smaller and more > "under" the slider. ... It's a bit of a shame that the slider trough isn't vertically centered inside the headerbar, but this looks OK to me.
commit 2cb75ec6e88753a0019d7876fbca57b5fb258edf Author: Felix Riemann <> Date: Mon Jun 22 20:29:08 2015 +0200 EogWindow: Add stop mark to zoom slider at 100% zoom https://bugzilla.gnome.org/show_bug.cgi?id=746132
Assuming this is fixed in recent versions?
(In reply to André Klapper from comment #11) > Assuming this is fixed in recent versions? Oops, yes it is! Especially since the slider has now been replaced by a dropdown list.