TScrollbar painting get overridden somewhere
Original Reporter info from Mantis: ggeldenhuys
-
Reporter name: Graeme Geldenhuys
Original Reporter info from Mantis: ggeldenhuys
- Reporter name: Graeme Geldenhuys
Description:
The TScrollbar (at least under LCL-GTK2) does not behave as expected. For example. Place a TScrollbar on a empty Form. Now set the Form's Color property to clBlack. The GTK2 themed TScrollbar simply disappears as everything is painted clBlack. See attached screenshot.
According to Mattias the ControlStyle value csOpaque should have prevented this from occurring, but clearly it is not.
The code from TCustomScrollbar.Create()
ControlStyle := ControlStyle + [csFramed, csDoubleClicks, csOpaque]
- [csAcceptsControls, csDoubleClicks,
csCaptureMouse, csSetCaption];
clearly shows that csOpaque is indeed specified, but somewhere the TScrollbar painting is still evorridden.
This bug is also clearly visible in the popup window of IDE's source code editor. See bug report #19085 (closed)
Mantis conversion info:
- Mantis ID: 22996
- OS: Linux OpenSUSE
- OS Build: 12.2
- Platform: x86_64
- Version: 1.1 (SVN)
- Fixed in revision: 38860 (#8b7dff7f)