[lazarus] Editor crashing when adding text
Marc Weustink
weus at quicknet.nl
Mon Dec 6 15:33:07 EST 1999
At 14:27 06-12-99 -0600, you wrote:
>8 worked!!!!!!
>
>Hmmm...interesting huh? Now I can move forward at least....
Allright !!
Its a problem I ran into a ew weeks ago (but then the other way around)
It seems that GDK/GTK doesn't like to display bitmaps other than the color
depth you are running.
A bitmap canvas has a gtk pixmap. By default I created them at a depth of
32, since at that time I didn't put time in asking the depth of the system.
I assumed that, like windows, a 32 bit pixmap could be rendered at 8 (on my
system I only have a depth of 8). This caused like wise messages at the
most strange places (when a button click was handled).
So for the time beeing I defaulted the pixmap depth to 8 (again assuming
that a 8 bit pixmap could be rendered at higher resolutions)
Today we found out that these assumptions aren't correct. I might look to
another way to render bitmaps of a different depth.
Marc
More information about the Lazarus
mailing list