color_convert failed in GDK_VISUAL_PSEUDO_COLOR dia 0.92.2, 0.93
Submitted by Henry Nestler
Link to original bug (#139410)
Description
Run dia Version 0.92.2 in environment with color depth 8 (256 colors) will only display up to 255 numbers of call color_convert. After 256-th call of these function, function failed.
Simple open a new dia, than resize the diagram. Colours (Background and raster) fall into random colors and Error Message "color_convert failed" was displayed.
Function use gdk_colormap_alloc_colors, but never free this. Should be call the gdk_colormap_free_colors?
Using GIMP in same depth works good. If I change my color depth to 16 = GDK_VISUAL_TRUE_COLOR its works perfect.
dia 0.92.2 gtk 2.2.3 XFree86 4.3.0.1 Kernel 2.4.21 (Framebuffer and all other Xservers) GNU/GCC 3.3.1 no gnome
Version: 0.93