GNOME Bugzilla – Bug 349338
When Alt is pressed, selection tools should not update options on Shift/Ctrl
Last modified: 2006-11-11 10:44:34 UTC
For all selection tools, if a selection mask exists and Alt is pressed, the meaning of Shift and Ctrl is different: Alt+Ctrl moves the selected pixels, Alt+Shift moves a copy of the selected pixels. However, the "Mode" indicators in the tool options are updated as if the next operation would add to or subtract from the current selection. This gives the wrong feedback to the user. Proposed solution: when Alt is pressed (GDK_MOD1_MASK), make all four mode indicators insensitive (grayed out).
Ugh. Instead I changed it so that when Alt is down, the mode shown is the one that that would be shown if neither Shift nor Control is down. In HEAD: 2006-08-25 Bill Skaggs <weskaggs@primate.ucdavis.edu> * app/tools/gimpselectiontool.c (gimp_selection_tool_modifier_key): When Alt is down, don't allow other modifiers to change the operation shown in the options. Fixes bug #349338.
*** Bug 373698 has been marked as a duplicate of this bug. ***
The comitted fix makes modifiers stuck again. Reopening.
Fixed in CVS: 2006-11-11 Michael Natterer <mitch@gimp.org> * app/tools/gimpselectiontool.c (gimp_selection_tool_modifier_key): Fix behavior so that when Alt is down, it appears as if no other modifier was pressed. Fixes bug #349338.