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 322396 - Crop dimension entering causes crash
Crop dimension entering causes crash
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
git master
Other All
: Normal major
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
: 324033 325082 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-11-25 04:03 UTC by Seth Burgess
Modified: 2005-12-28 07:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Seth Burgess 2005-11-25 04:03:35 UTC
Steps to reproduce:
1. New Image (with default paintbrush tool)
2. Choose crop tool
3. Enter '8' for width in tools option (don't choose fix)
4. Click the 'height' entry box
5. Boom.



Stack trace:
...
  • #7 gimp_rectangle_tool_motion
  • #8 gimp_rectangle_tool_notify_width
  • #9 g_cclosure_marshal_VOID__PARAM
  • #10 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_object_interface_list_properties
  • #15 g_value_get_flags
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_object_set_valist
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_object_set
    from /usr/lib/libgobject-2.0.so.0
  • #18 gimp_prop_size_entry_callback

Other information:
Comment 1 Sven Neumann 2005-11-25 10:50:36 UTC
That's a known bug that exists for quite a while.
Comment 2 weskaggs 2005-11-25 20:16:33 UTC
Well, it can't have existed for quite a while, because I only added the callback
to respond to these events to RectangleTool a couple of weeks ago -- until then
changes to those entries were just ignored.  Anyway, I will take responsibility
for this.
Comment 3 Sven Neumann 2005-11-27 12:38:15 UTC
A couple of weeks is quite a while for code that is supposed to be under active
development.
Comment 4 weskaggs 2005-11-28 22:30:57 UTC
Okay, I think this should fix the problems:

2005-11-28  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* app/tools/gimprectangletool.c: don't crash when
	user modifies width/height of nonexistent rectangle, and
	make sure to disconnect option notify handlers in dispose.
	Should fix bug #322396.
Comment 5 Sven Neumann 2005-12-14 13:46:20 UTC
*** Bug 324033 has been marked as a duplicate of this bug. ***
Comment 6 Karine Delvare 2005-12-28 07:36:57 UTC
*** Bug 325082 has been marked as a duplicate of this bug. ***