Some GTK2 widgets aren't properly repainted when contained in a GroupBox
Original Reporter info from Mantis: giuliano
-
Reporter name: G. Colla
Original Reporter info from Mantis: giuliano
- Reporter name: G. Colla
Description:
When using GTK2 widgetset,some widgets, such as TLabel or TSpeedButton, if contained in a GroupBox, aren't properly repainted, if they were partly covered from the dropdown of a TComboBox, or by another window moved over the widgets.
GTK2 2.22.0
Steps to reproduce:
Create a form with a GroupBox. Put in the GroupBox a Tlabel and a TSpeedButton with some Glyph, then move another window over the GroupBox, covering completely, or just partly the GroupBox Caption and the widgets inside. Depending on the direction of the movement, you may experience the Caption not being repainted, or being repainted in fragments, the TLabel not being repainted, and the TSpeedButton being repainted only for a few bottom pixels.
Here attached a test case, with a main form with different widgets in a TGroupBox (and also in a TPanel and in the form itself for comparison).
An auxiliary window is also provided, which can be moved manually, or with the help of a few buttons: Home to take it over the GroupBox, and Up-Down-Left-Right to cover/uncover the widgets.
Additional information:
From my tests it would appear that if the bottom pixels of the widget don't need repaint, then also the rest of the widget is not repainted. But this isn't true for the GroupBox caption.
Mantis conversion info:
- Mantis ID: 24304
- OS: Fedora
- OS Build: 14
- Build: r40858
- Platform: Linux
- Version: 1.1 (SVN)
- Monitored by: » zaher (Zaher Dirkey)