Repainting a widget causes Cairo drawn window background content to disappear
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gtk+2.0 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Screenlets (which are Cairo drawn widgets in an undecorated GTK window) include some cases where there is GTK widget on Cairo-drawn background. One example is Lipik sticky notes screenlet for which the background is an SVG image and foreground is coloured GTK Textview widget. At start the widget is painted on SVG background all right, but writing something into the Textview makes the GTK window on background go blank and lose the Cairo drawn decorations. It also seems that this happens only when the line written into Textview is longer than the lines already contained in it (if the right margin needs to be extended, the window on the background is blanked).
The behaviour started in Natty from early alphas and is still there in latest beta. The same code works without any problems in Maverick.
Ubuntu Natty (development branch) 11.04
libgtk2.0-0: 2.24.4-0ubuntu2
screenlets: 0.1.3-0ubuntu1