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 349338 - When Alt is pressed, selection tools should not update options on Shift/Ctrl
When Alt is pressed, selection tools should not update options on Shift/Ctrl
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
git master
Other All
: High minor
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
: 373698 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-07-30 19:53 UTC by Raphaël Quinet
Modified: 2006-11-11 10:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Raphaël Quinet 2006-07-30 19:53:32 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).
Comment 1 weskaggs 2006-08-25 22:09:03 UTC
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.
Comment 2 Michael Natterer 2006-11-11 09:54:47 UTC
*** Bug 373698 has been marked as a duplicate of this bug. ***
Comment 3 Michael Natterer 2006-11-11 09:55:31 UTC
The comitted fix makes modifiers stuck again. Reopening.
Comment 4 Michael Natterer 2006-11-11 10:44:34 UTC
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.