GNOME Bugzilla – Bug 136623
text layer paint problems
Last modified: 2004-12-22 21:47:04 UTC
I've encoutered a misbehaviour when painting on text layers which led to a crash using undo afterwards. To reproduce: 1) create new image 2) create some text 3) enlarge the text-layer size to match the image (layer to imageres size) 4) paint on the layer with a brush 5) select keep transparent in the layer's window 6) fill the layer by dragging a color onto the canvas Now something funky happens, the text position changes to 0,0 and all the painted stuff is gone. From now on the state is very incosistent, causing repaint problems and eventually ending up in a crash. the consecutive crash backtrace:
+ Trace 44935
This doesn't surprise me at all. Will get fixed along with the other text problems.
*** Bug 136645 has been marked as a duplicate of this bug. ***
Setting severity to blocker for the bugs which definitely need to be fixed before 2.0. Dave.
Fixed in CVS. I will have to work on this a little more but I think I can get text handling work reasonably well until tomorrow... 2004-03-13 Sven Neumann <sven@gimp.org> * app/text/gimptextlayer.[ch]: implement GimpDrawable functions that affect the tiles and mark the text layer as modified. Added new function gimp_drawable_is_text_layer() that checks whether a drawable is an unmodified text layer. * app/display/gimpdisplayshell-dnd.c (gimp_display_shell_bucket_fill): use gimp_drawable_is_text_layer() and only set the text color if the text layer is unmodified. Fixes bug #136623.