GNOME Bugzilla – Bug 110115
Outline misplaced when dragging a selection
Last modified: 2009-08-15 18:40:50 UTC
When a selection is dragged, so that a floating selection is created, the first time it is moved causes a misplacement of the outline that represents the selection. How to reproduce: 1. Create an empty image. 2. Add Alpha channel to the background layer. 3. Zoom in to, say, 4:1 to see it better. 4. Create a, say, rectangular selection. 5. Drag the selection with the mouse. The selection outline is now visibly misplaced with respect to the selection itself. This is quite annoying when trying to move the selection with pixel precision. The patch below solves this issue, though in a perhaps quesionable way. At the same time, it gives a trivial fix to an inconsistency of a text in the same file (not reported AFAIK): the undo description for the "move selection mask" text was different when dragging with the mouse and when dragging with the keyboard. I didn't think this deserved a separate report.
Created attachment 15516 [details] [review] Fixes the misplacement of the selection outline and a text inconsistency
I don't think the text should say "Move Selection Mask". For the user, a selection is just a selection and she shouldn't have to care about the internal representation. So it's probably better to change the term used for keyboard editing.
Fixed in HEAD. Could be applied to 1.2 as well... 2003-04-07 Michael Natterer <mitch@gimp.org> * app/tools/gimpeditselectiontool.c: applied a (modified) patch from Pedro Gimeno that fixes bug #110115.
Could be considered for 1.2.
2003-04-09 Sven Neumann <sven@gimp.org> * app/edit_selection.c (edit_selection_motion): merged fix for bug #110115 from HEAD branch.
*** Bug 110515 has been marked as a duplicate of this bug. ***
I think that this one was actually a duplicate of bug #17904 which can in turn be closed. Is this correct?
I think you are right, please close bug #17904.
The fix is part of the stable release 1.2.4. Closing this bug.