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 355302 - After cropping once, expand from center is selected automatically the next time
After cropping once, expand from center is selected automatically the next time
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
git master
Other All
: Normal normal
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
: 349486 355055 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-09-10 15:37 UTC by Benjamin Lebsanft
Modified: 2006-09-18 00:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Benjamin Lebsanft 2006-09-10 15:37:39 UTC
Please describe the problem:
After cropping once, expand from center is selected automatically the next time you crop again in the same instance of the gimp.

Steps to reproduce:
1. Crop an image
2. Crop again

Actual results:
Expand from center is selected automatically

Expected results:
Expand from center gets selected if I want to, not automatically

Does this happen every time?
yes

Other information:
no
Comment 1 Tim Jedlicka 2006-09-11 04:18:57 UTC
You probably pressed CTRL at some point between doing the two crops/selects.
I suspect this is a dup of bug #355055
Comment 2 Michael Natterer 2006-09-12 18:44:35 UTC
Fixed in CVS:

2006-09-12  Michael Natterer  <mitch@gimp.org>

	Added new tool API for modifier key events while the tool
	is active and implement it in the rect select and crop tools.
	Fixes bug #316156 and bug #355302.

	* app/tools/gimptool.[ch]: added GimpTool::active_modifier_key()
	and public function gimp_tool_set_active_motifier_state(). Remember
	the active_state at button_press and reset it on button_release.
	Ignore releases of modifiers that were pressed at button_press (but
	only ignore them once).

	* app/tools/tool_manager.[ch]: added wrapper
	tool_manager_active_modifier_state_active().

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_events): return FALSE for all modifiers even
	when mouse button 1 is pressed.

	(gimp_display_shell_canvas_tool_events): when bouse button 1 is
	pressed *and* the tool is active, dispatch the new active_modifier
	events to tools.

	* app/tools/gimpcroptool.c
	* app/tools/gimprectangleselecttool.c
	* app/tools/gimprectangletool.[ch]: implement active_modifier_key()
	instead of modifier_key().
Comment 3 Michael Natterer 2006-09-12 18:46:21 UTC
*** Bug 355055 has been marked as a duplicate of this bug. ***
Comment 4 Michael Schumacher 2006-09-18 00:27:11 UTC
*** Bug 349486 has been marked as a duplicate of this bug. ***