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 683462 - cropping with rectangular select tool leaves misaligned rectangle
cropping with rectangular select tool leaves misaligned rectangle
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
2.8.0
Other All
: Normal normal
: 2.8
Assigned To: GIMP Bugs
GIMP Bugs
: 686633 689203 691593 704582 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-09-06 05:15 UTC by Steve Rainwater
Modified: 2013-07-20 11:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Steve Rainwater 2012-09-06 05:15:41 UTC
When cropping a region from an image using the rectangular select tool in GIMP 2.8, the rectangular selection tool remains behind after the crop and is misaligned slightly with the image from where it should be. The first time it happens this is fairly alarming as it seems something more serious has gone wrong. Subsequently it's just annoying since you can't do further operations on the selected region due to the misalignment. The workaround seems to be to remove the selection and create a new one that covers the correct area.
Comment 1 Michael Natterer 2012-09-06 07:31:34 UTC
Seems my "fix" bor bug 678890 is causing this. Will look into it.
Comment 2 Michael Natterer 2012-09-06 07:31:53 UTC
Also, please upgrade to 2.8.2
Comment 3 Michael Natterer 2012-09-06 22:08:21 UTC
Fixed in master and gimp-2-8:

commit f3a4200e7287971f700194d596efd3eaeae36b72
Author: Michael Natterer <mitch@gimp.org>
Date:   Thu Sep 6 23:55:35 2012 +0200

    Bug 683462 - cropping with rectangular select tool leaves misaligned...
    
    Reset the tool on image changes again, but not if only the active
    drawable changes, so keep bug #678890 closed:
    
    Introduce new dirty flag GIMP_DIRTY_ACTIVE_DRAWABLE and set it on all
    tools' dirty_mask except for rect select. Check the new flag when
    reseting the active tool because of a drawable change.
    (cherry picked from commit e546f2b43bbe77901516c780428bda40f5af26ba)

 app/core/core-enums.c                      |    2 ++
 app/core/core-enums.h                      |    1 +
 app/display/gimpdisplayshell-tool-events.c |    4 +++-
 app/tools/gimpcagetool.c                   |    3 ++-
 app/tools/gimpforegroundselecttool.c       |    4 +++-
 app/tools/gimpimagemaptool.c               |    3 ++-
 app/tools/gimpiscissorstool.c              |    4 +++-
 app/tools/gimprectangleselecttool.c        |    1 +
 app/tools/gimptransformtool.c              |    3 ++-
 9 files changed, 19 insertions(+), 6 deletions(-)
Comment 4 Steve Rainwater 2012-09-08 01:00:02 UTC
Thanks, and done, running 2.8.2 now. The problem is still present but based on the order of your posts, I'm guessing your fix won't show up until 2.8.3 or so. Thanks for the quick patch!
Comment 5 Michael Natterer 2012-09-08 06:46:17 UTC
Yes the fix will be in the next bugfix release, which will be 2.8.4.
Comment 6 Michael Natterer 2012-10-22 12:43:22 UTC
*** Bug 686633 has been marked as a duplicate of this bug. ***
Comment 7 Michael Natterer 2012-11-28 23:31:04 UTC
*** Bug 689203 has been marked as a duplicate of this bug. ***
Comment 8 Michael Natterer 2013-01-13 22:34:37 UTC
*** Bug 691593 has been marked as a duplicate of this bug. ***
Comment 9 Michael Natterer 2013-07-20 11:45:44 UTC
*** Bug 704582 has been marked as a duplicate of this bug. ***