RSS/Atom feed Twitter
Site is read-only, email is disabled

Strange zoomout behavior

This discussion is connected to the gimp-developer-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.

5 of 9 messages available
Toggle history

Please log in to manage your subscriptions.

490862E6.5050201@cb-compute... 07 Oct 20:27
  Strange zoomout behavior Martin Nordholts 31 Oct 08:32
20173793.post@talk.nabble.com 07 Oct 20:27
4907653F.1010407@gmail.com 07 Oct 20:27
490AFF98.4020007@cb-compute... 07 Oct 20:27
  Strange zoomout behavior Martin Nordholts 02 Nov 08:51
   Strange zoomout behavior Martin Nordholts 15 Nov 11:38
    Strange zoomout behavior Claus Berghammer (Bugzilla) 15 Nov 13:25
    Strange zoomout behavior Claus Berghammer (Bugzilla) 25 Nov 11:55
Martin Nordholts
2008-10-31 08:32:59 UTC (about 16 years ago)

Strange zoomout behavior

This is a reply to:
http://lists.xcf.berkeley.edu/lists/gimp-user/2008-October/013230.html

Hi

Claus Berghammer (Bugzilla) wrote:

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).

Can you provide a detailed step-by-step on how to reproduce the problem please?

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%.

Where zoom revert takes you depend entire on your workflow. I admit that it might not be very pleasant to make sure Zoom Revert always goes back to 100% though.. I do however find it reasonable to zoom out with the - key if you want to use the cursor as zoom focus point, or you can maybe even just do a View -> Fit Image in Window. We can't tailor the zoom behaviour for a specific use case, it needs to be general.

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%)?

Again, I don' think a modifier key is a good idea.

BR, Martin

Martin Nordholts
2008-11-02 08:51:48 UTC (about 16 years ago)

Strange zoomout behavior

Claus Berghammer (Bugzilla) wrote:

Strange zoomout:

I attached a picture that shows all steps to reproduce (I hope attachments are O.K. on this list?):

gimp-zoomout-demo.jpg

I have to admit that that is a use case that should work. I think it's possible to make that use case work without breaking other use cases. I'll see what I can do.

BR,
Martin

Martin Nordholts
2008-11-15 11:38:03 UTC (about 16 years ago)

Strange zoomout behavior

Martin Nordholts wrote:

Claus Berghammer (Bugzilla) wrote:

Strange zoomout:

I attached a picture that shows all steps to reproduce (I hope attachments are O.K. on this list?):

gimp-zoomout-demo.jpg

I have to admit that that is a use case that should work. I think it's possible to make that use case work without breaking other use cases. I'll see what I can do.

BR,
Martin

This is now fixed in trunk and gimp-2-6 and GIMP will behave as expected for your use case (the fix will be available in GIMP 2.6.3):

2008-11-15 Martin Nordholts

Bug 560903 – Explicit zooming with e.g. '1' should handle zoom-focus better

* app/display/display-enums.h: Added GIMP_ZOOM_FOCUS_RETAIN_CENTERING_ELSE_BEST_GUESS.

* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale_get_zoom_focus): Take the new enum into account; if the image is centered, keep it centered, else use the best-guess method.

* app/actions/view-commands.c (view_zoom_explicit_cmd_callback): Use the new enum for explicit zooming.

* app/display/display-enums.c: Regenerated.

BR. Martin

Claus Berghammer (Bugzilla)
2008-11-15 13:25:51 UTC (about 16 years ago)

Strange zoomout behavior

Thanks for your fix. Can't wait for 2.6.3 to test it...

Claus

Martin Nordholts schrieb:

Martin Nordholts wrote:

Claus Berghammer (Bugzilla) wrote:

Strange zoomout:

I attached a picture that shows all steps to reproduce (I hope attachments are O.K. on this list?):

gimp-zoomout-demo.jpg

I have to admit that that is a use case that should work. I think it's possible to make that use case work without breaking other use cases. I'll see what I can do.

BR,
Martin

This is now fixed in trunk and gimp-2-6 and GIMP will behave as expected for your use case (the fix will be available in GIMP 2.6.3):

2008-11-15 Martin Nordholts

Bug 560903 – Explicit zooming with e.g. '1' should handle zoom-focus better

* app/display/display-enums.h: Added GIMP_ZOOM_FOCUS_RETAIN_CENTERING_ELSE_BEST_GUESS.

* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale_get_zoom_focus): Take the new enum into account; if the image is centered, keep it centered, else use the best-guess method.

* app/actions/view-commands.c (view_zoom_explicit_cmd_callback): Use the new enum for explicit zooming.

* app/display/display-enums.c: Regenerated.

BR. Martin

Claus Berghammer (Bugzilla)
2008-11-25 11:55:13 UTC (about 16 years ago)

Strange zoomout behavior

Tested with 2.6.3 for Windows, and Zoom Out is working like a charm now again ;-)

Thanks to Martin Nordholts, and all other developers...

BR, Claus

Martin Nordholts schrieb:

Martin Nordholts wrote:

Claus Berghammer (Bugzilla) wrote:

Strange zoomout:

I attached a picture that shows all steps to reproduce (I hope attachments are O.K. on this list?):

gimp-zoomout-demo.jpg

I have to admit that that is a use case that should work. I think it's possible to make that use case work without breaking other use cases. I'll see what I can do.

BR,
Martin

This is now fixed in trunk and gimp-2-6 and GIMP will behave as expected for your use case (the fix will be available in GIMP 2.6.3):

2008-11-15 Martin Nordholts

Bug 560903 – Explicit zooming with e.g. '1' should handle zoom-focus better

* app/display/display-enums.h: Added GIMP_ZOOM_FOCUS_RETAIN_CENTERING_ELSE_BEST_GUESS.

* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale_get_zoom_focus): Take the new enum into account; if the image is centered, keep it centered, else use the best-guess method.

* app/actions/view-commands.c (view_zoom_explicit_cmd_callback): Use the new enum for explicit zooming.

* app/display/display-enums.c: Regenerated.

BR. Martin