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 163879 - Gimp crashes when you drop indexed layer
Gimp crashes when you drop indexed layer
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
2.2.x
Other All
: High critical
: 2.2
Assigned To: GIMP Bugs
GIMP Bugs
: 164791 164930 166007 166408 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-01-13 01:37 UTC by Michal Glazik
Modified: 2008-01-15 12:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michal Glazik 2005-01-13 01:37:06 UTC
Steps to reproduce:
1. Create 2 new images
2. First image - RGB, second image -Indexed
3. Drag and drop layer from Indexed image to RGB image
http://www.arte.imedia.biz.pl/zrzut.jpg
4. Crash


Stack trace:


Other information:
Comment 1 Michael Natterer 2005-01-13 18:23:09 UTC
Fixed in CVS (both branches):

2005-01-13  Michael Natterer  <mitch@gimp.org>

	Splitting GimpItem::convert() into two virtual functions was
	apparently buggy over-engineering. Reverted that stuff and
	implement item conversion much simpler:

	* app/core/gimpitem.[ch]: have a single virtual function,
	GimpItem::convert(), which takes a newly duplicated item and the
	destination image.

	(gimp_item_convert): simply call GimpItem::convert() on the result
	of gimp_item_duplicate().

	(gimp_item_real_convert): set the item's new image.

	* app/core/gimplayer.c (gimp_layer_convert)
	* app/vectors/gimpvectors.c (gimp_vectors_convert): changed
	accordingly and chain up after, not before doing our own stuff
	so the old image is still available as item->image for stuff
	like colormap conversion. Fixes bug #163879.
Comment 2 Michael Natterer 2005-01-21 12:25:02 UTC
*** Bug 164791 has been marked as a duplicate of this bug. ***
Comment 3 Sven Neumann 2005-01-22 21:21:21 UTC
*** Bug 164930 has been marked as a duplicate of this bug. ***
Comment 4 Michael Schumacher 2005-02-02 09:55:58 UTC
*** Bug 166007 has been marked as a duplicate of this bug. ***
Comment 5 Sven Neumann 2005-02-06 00:59:52 UTC
*** Bug 166408 has been marked as a duplicate of this bug. ***