Strange zoomout behavior
This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
Strange zoomout behavior | Claus Berghammer | 26 Oct 15:08 |
Strange zoomout behavior | Martin Nordholts | 28 Oct 20:17 |
Strange zoomout behavior | Claus Berghammer (Bugzilla) | 29 Oct 14:19 |
Strange zoomout behavior | Martin Nordholts | 29 Oct 23:48 |
Strange zoomout behavior
Hello Gimp Users and Developers,
In my opinion, Gimp (especially 2.6.1) shows some weird behavior, when it comes to zooming out.
I originally posted my concern in "Bug 553534 – centering issues after image scaling and setting zoom to 100%", but Martin Nordholts told me to post it here.
When I zoomed in with 2.6.0, put the cursor on the "pixels of interest", and type "1", the pixels of interest WAS at (or close to) the cursor (as expected). Now, with 2.6.1, the "pixels of interest" are somewhere, but not by far close to the cursor. Instead I always see the corner which is closest to the "pixels of interest" centered in the window.
Martin Nordholts wrote upon that: "... that is a matter of taste. I prefer the way it works now and I don't see any compelling reason to change."
I would like to understand, why someone finds the new behavior to be better than he old one? Any examples would be appreciated, maybe my workflow is simply bad... But for the following workflow, the new behavior causes more work:
I open a "larger" picture (1944x2592px), where "red eyes" has to be removed. That for, I zoom into the eyes with the zoom tool. Then I draw a freehand selection on every eye that needs to be changed. To see the effect of the following step at 100%, I type "1" while the cursor is between the two eyes. With 2.6 the eyes were centered in the image window now, and was able to proceed without any extra panning. In 2.6.1 I have to move the visible are, because I always see one of the image corners centered in the image window.
The zoom button instead always centers the image in the image window, which is slightly more compelling to me than centering a image corner in the window, but still not the perfect way.
I would like to have the following behavior:
- Zooming out with cursor IN the image window -> center the pixels under the cursor in the image window, image borders should be ignored. - Zooming out with mouse outside image window -> pixels in the center of the image window should remain the pixels in the center of the image window, image borders should be ?.
For the thing with image borders, how about introducing a operator key for zooming? Currently ALT and SHIFT doesn't seem to have a function while zooming, so one of these keys could be used to set the wanted border behavior.
Example: If by default Gimp would not zoom out over image borders, holding SHIFT key could reverse the behavior, and Gimp zooms out (or in) ignoring image borders.
I would greatly appreciate some feedback on this...
Sincerely, Claus Berghammer
Strange zoomout behavior
Claus Berghammer wrote:
When I zoomed in with 2.6.0, put the cursor on the "pixels of interest", and type "1", the pixels of interest WAS at (or close to) the cursor (as expected). Now, with 2.6.1, the "pixels of interest" are somewhere, but not by far close to the cursor. Instead I always see the corner which is closest to the "pixels of interest" centered in the window.
Hi
Isn't what you are seeing here simply bug #555493 [1] ? If yes, then yeah that is certainly a bug.
I open a "larger" picture (1944x2592px), where "red eyes" has to be removed. That for, I zoom into the eyes with the zoom tool. Then I draw a freehand selection on every eye that needs to be changed. To see the effect of the following step at 100%, I type "1" while the cursor is between the two eyes. With 2.6 the eyes were centered in the image window now, and was able to proceed without any extra panning.
Since other use cases rely on that typing "1" does *not* use the cursor as the zoom focus point (which was what bug #553534 [2] was all about), I suggest you instead zoom out with the "-" key which *does* use the mouse cursor as the zoom focus point, or make use of the Zoom Revert functionality (View -> Zoom -> Revert Zoom, default shortcut key is "`").
The zoom button instead always centers the image in the image window, which is slightly more compelling to me than centering a image corner in the window, but still not the perfect way.
I would like to have the following behavior:
- Zooming out with cursor IN the image window -> center the pixels under the cursor in the image window, image borders should be ignored. - Zooming out with mouse outside image window -> pixels in the center of the image window should remain the pixels in the center of the image window, image borders should be ?.
If you by "zoom button" mean the "-" or "+" key, then this is how it currently behaves. And actually it is an open question if it *should* behave that way or if the image coordinate under the cursor should *always* be the zoom focus point, independent of if the cursor is within the image window canvas or not. That is how GIMP 2.4 behaves. The way it currently works in GIMP 2.6 was introduced before the image was made (in the middle of GIMP 2.5 development) to center itself in the viewport if it becomes small enough to fit there when zooming out . In other words, there is no real reason to keep the new behaviour here.
For the thing with image borders, how about introducing a operator key for zooming? Currently ALT and SHIFT doesn't seem to have a function while zooming, so one of these keys could be used to set the wanted border behavior.
I'm sceptical about this, to me it doesn't make much sense and feels like a workaround to an issue that I'm not even sure exists in the first place.
Sorry for the late reply
BR, Martin
[1]
Bug 555493 – Zoom 1:1 scrolls partly off image
http://bugzilla.gnome.org/show_bug.cgi?id=555493
[2] Bug 553534 – centering issues after image scaling and setting zoom to 100% http://bugzilla.gnome.org/show_bug.cgi?id=553534
Strange zoomout behavior
Hello Gimp Users and Developers,
@Martin Nordholts: Please do not beg yourself pardon, if answering takes a little longer! I am VERY happy, that there is feedback from the developers at all :-)
So, back to "business":
Isn't what you are seeing here simply bug #555493 [1] ? If yes, then yeah that is certainly a bug.
I'm not shure if it is the same. I don't have "Resize window on zoom" and "Resize window on image size change" enabled, nor do I use the crop tool, as it is described in #555493. But the result is comparable (but not the exactly the SAME).
Since other use cases rely on that typing "1" does *not* use the cursor as the zoom focus point (which was what bug #553534 [2] was all about), I suggest you instead zoom out with the "-" key which *does* use the mouse cursor as the zoom focus point, or make use of the Zoom Revert functionality (View -> Zoom -> Revert Zoom, default shortcut key is "`").
Using "Minus Key" is slow, because I have to type it several times, until I reach 100%. Using "Zoom Revert" doesn't do it either, because it also don't sends me back to 100%.
I see that an average user, that doesn't know the zoom behavior as good, could be irritated by the old behavior (due to bug #555493 he might be even more now ;-). But why not allow the old behavior (via operator key) for users that do know what they are doing? For me, that would be a large improvement (ALT key would fit my hand the best ;-)...
I think, we must divide my issue into two issues coming together:
1.) The centering issue, that could be #555493, or a relative to it. 2.) The "new" behavior, that the "1" key doesn't use cursor as center of zoom.
Point 1 was already present in 2.6, but wasn't much of a problem to me, since I had the cursor on the right position. With introduction of patch for bug #553534, it became a problem for me to, because now I'm affected by problem 1 too.
So, how can we find out, if my problems with "seeing image corners in image window after zoomout" IS bug #555493, or just a related bug?
And shall I write my arguments for a zoom operator key again into Bug 553534 (centering issues after image scaling and setting zoom to 100%)?
Sincerely, Claus Berghammer
Martin Nordholts schrieb:
Claus Berghammer wrote:
When I zoomed in with 2.6.0, put the cursor on the "pixels of interest", and type "1", the pixels of interest WAS at (or close to) the cursor (as expected). Now, with 2.6.1, the "pixels of interest" are somewhere, but not by far close to the cursor. Instead I always see the corner which is closest to the "pixels of interest" centered in the window.
Hi
Isn't what you are seeing here simply bug #555493 [1] ? If yes, then yeah that is certainly a bug.
I open a "larger" picture (1944x2592px), where "red eyes" has to be removed. That for, I zoom into the eyes with the zoom tool. Then I draw a freehand selection on every eye that needs to be changed. To see the effect of the following step at 100%, I type "1" while the cursor is between the two eyes. With 2.6 the eyes were centered in the image window now, and was able to proceed without any extra panning.
Since other use cases rely on that typing "1" does *not* use the cursor as the zoom focus point (which was what bug #553534 [2] was all about), I suggest you instead zoom out with the "-" key which *does* use the mouse cursor as the zoom focus point, or make use of the Zoom Revert functionality (View -> Zoom -> Revert Zoom, default shortcut key is "`").
The zoom button instead always centers the image in the image window, which is slightly more compelling to me than centering a image corner in the window, but still not the perfect way.
I would like to have the following behavior:
- Zooming out with cursor IN the image window -> center the pixels under the cursor in the image window, image borders should be ignored. - Zooming out with mouse outside image window -> pixels in the center of the image window should remain the pixels in the center of the image window, image borders should be ?.
If you by "zoom button" mean the "-" or "+" key, then this is how it currently behaves. And actually it is an open question if it *should* behave that way or if the image coordinate under the cursor should *always* be the zoom focus point, independent of if the cursor is within the image window canvas or not. That is how GIMP 2.4 behaves. The way it currently works in GIMP 2.6 was introduced before the image was made (in the middle of GIMP 2.5 development) to center itself in the viewport if it becomes small enough to fit there when zooming out . In other words, there is no real reason to keep the new behaviour here.
For the thing with image borders, how about introducing a operator key for zooming? Currently ALT and SHIFT doesn't seem to have a function while zooming, so one of these keys could be used to set the wanted border behavior.
I'm sceptical about this, to me it doesn't make much sense and feels like a workaround to an issue that I'm not even sure exists in the first place.
Sorry for the late reply
BR, Martin
[1]
Bug 555493 – Zoom 1:1 scrolls partly off image http://bugzilla.gnome.org/show_bug.cgi?id=555493[2] Bug 553534 – centering issues after image scaling and setting zoom to 100% http://bugzilla.gnome.org/show_bug.cgi?id=553534
Strange zoomout behavior
Claus Berghammer (Bugzilla) wrote:
So, back to "business":
Let's move this to gimp-developer (I will reply to your mail there within 24 hours)
- Martin