Possible bug in refreshing GtkImage after hide/show events



Hi!

A friend of mine encountered a strange behavior (probably bug) in
GTK+-2.4.x

The problem description:

There's a container w/ one or several GtkImage's in it. After performing
'hide' on the container, the entire window becomes smaller. 'show'ing
the container restores window size, BUT 'expose' event is delivered only
to parts of the GtkImage(s) (which would be shown if window size wasn't
changed). This behaviour can be observed if the window has resizable =
false.

Here's the demostration program (pygtk) URL:

http://dfo.antex.ru/files/unix/gtkbug.py

Could you suggest if it's really a bug of GTK+ or maybe our programming
mistake(s)?

Thank you in advance,
Alexey Morozov.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]