GNOME Bugzilla – Bug 163879
Gimp crashes when you drop indexed layer
Last modified: 2008-01-15 12:45:15 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:
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.
*** Bug 164791 has been marked as a duplicate of this bug. ***
*** Bug 164930 has been marked as a duplicate of this bug. ***
*** Bug 166007 has been marked as a duplicate of this bug. ***
*** Bug 166408 has been marked as a duplicate of this bug. ***