GNOME Bugzilla – Bug 678890
Selection box handles do not respond after changing layer
Last modified: 2012-08-05 21:32:08 UTC
Discovered this the other day while working on an animated GIF. 1 - Open/create any convenient image with at least two layers. 2 - On one layer, make a rectangle selection. 3 - Mouse over the selection and adjust its handles. 4 - Click on a different layer in the Layers dialog. 5 - Mouse over the selection and adjust its handles again. At this point GIMP ignores the previous selection and creates a new one. This WOULD be normal behavior if we were manipulating a complex (e.g. fuzzy) selection which does not offer adjustment handles, but we are specifically clicking on the handles of a rectangular selection box; said handles are still visible and still react to mouseovers. The proper behavior should be that if the selection box handles are visible then they must respond to clicking and adjusting, and vice versa -- if they are not available for clicking and adjusting then they must not be displayed.
Fixed in master and 2-8: commit d6091dbce6f1b60ec606db1e59be7cb069a87477 Author: Michael Natterer <mitch@gimp.org> Date: Thu Jul 26 18:17:01 2012 +0200 Bug 678890 - Selection box handles do not respond after changing layer Make sure that temporarily setting/unsetting tool->control's "preserve tool across image changes" does not mess up the default value: Introduce gimp_tool_control_push/pop_preserve() which restores the old state automatically, and use it in all tools, instead of saying set_preserve(TRUE/FALSE) around image changes. (cherry picked from commit 078128bb09dbca458b4f2f98cbf6d4140b357b29) app/tools/gimpcagetool.c | 8 ++++---- app/tools/gimpimagemaptool.c | 24 ++++++++++++------------ app/tools/gimprectangleselecttool.c | 24 ++++++++++++------------ app/tools/gimptoolcontrol.c | 27 +++++++++++++++++++++++++++ app/tools/gimptoolcontrol.h | 6 ++++++ app/tools/gimptransformtool.c | 4 ++-- 6 files changed, 63 insertions(+), 30 deletions(-)
Hi, I still have the same issue as described in the initial report. My OS is UBUNTU 12.04 64 bit. I compiled Gimp just a view minutes ago after doing a git pull.
Woks fine here, on master. Heiko, do you use the gimp-2-8 branch?
Michael, 'About Gimp' says Gimp 2.9.1. Don't know if this has any influence but I use always the newest babl and gegl branch as well. But maybe there went something else wrong during the build process? I just compiled it again and it still not works for me.
Ok, now it works. I had already for a longer time a shortcut of gimp-2.9.exe on my Ubuntu desktop and this was the problem, after deleting that shortcut and creating a new one it's all fine now. It seems to be somehow different compared to the Windows OS here. That shortcut linked somehow to the older gimp-2.9.exe file. Apparently I need always do this from now on. Sorry! :)
Ok, thanks for checking.