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 132356 - Curves dialog disables all of gimp
Curves dialog disables all of gimp
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
unspecified
Other All
: High major
: 2.0
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2004-01-24 02:02 UTC by codemstr
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description codemstr 2004-01-24 02:02:59 UTC
Description of Problem:
After going into the curves dialog and dragging 
the line (for value) around a bit, the dialog 
freezes. It's not dead, for example the x/y 
coords still update, but I can't click anything. 
The only way to exit that dialog is to click the 
X. After doing so, the color picker tool mouse 
pointer is displayed (with the circle with a / 
through it) though this tool is not active, and 
if I click in the main gimp tool selection 
window I get the following in the debug/error 
console:

(gimp-1.3.exe:3176): Gimp-Core-CRITICAL **: file 
gimpimagemap.c: line 193 (gimp_
image_map_apply): assertion `GIMP_IS_IMAGE_MAP 
(image_map)' failed

At this point gimp has been totally disabled and 
can't be used.

Steps to reproduce the problem:
1. Create a new image
2. Go to rt click -> layer -> colors -> curves
3. Randomly drag the line and just click the 
mouse a few times within the grid region.
4. Click the X to exit this window and note 
color picker becomes active
5. Click in the gimp tools selection window (try 
selecting a tool) and notice the above error 
message appear.

Actual Results:
After step 3 you'll notice the dialog stops 
responding to clicks (though the x/y coords do 
update when the mouse moves). 

Expected Results:
I'd expect the curves dialog to respond 
regardless of how many times I click the mouse.

How often does this happen? 
All the time (provided you click 10-20 times 
within the curves dialog)

Additional Information:
Gimp 2.0-pre2 on Windows XP Home.
Comment 1 Joao S. O. Bueno 2004-01-24 05:08:26 UTC
I confirmed it here, running Linux and a fairly recent 
(pos pre-2) CVS compile. 
 
I suggest confirming and keeping severity as major. 
 
Comment 2 Michael Natterer 2004-02-12 13:14:16 UTC
Fixed in CVS:

2004-02-12  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphistogramview.c (gimp_histogram_view_button_press):
	ignore double clicks so we don't grab the pointer away from the
	curves dialog. Fixes bug #132356.

	* app/tools/gimpcurvestool.c (curves_graph_events): ignore button
	press and release events from all buttons except the first one.