View Issue Details

IDProjectCategoryView StatusLast Update
0022996LazarusLCLpublic2012-09-27 14:52
ReporterGraeme Geldenhuys Assigned ToZeljan Rikalo  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSLinux OpenSUSE 
Product Version1.1 (SVN) 
Summary0022996: TScrollbar painting get overridden somewhere
DescriptionThe 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 0019085
TagsNo tags attached.
Fixed in Revision38860
LazTarget-
WidgetsetGTK 2
Attached Files

Relationships

related to 0019085 resolvedZeljan Rikalo Scrollbar theme wrong in editor popups 

Activities

2012-09-27 08:22

 

screenshot.png (1,813 bytes)   
screenshot.png (1,813 bytes)   

Zeljan Rikalo

2012-09-27 14:08

developer   ~0062679

Please test and close if ok.

Graeme Geldenhuys

2012-09-27 14:52

reporter   ~0062683

Thank you, that fixes the problem at last.

Issue History

Date Modified Username Field Change
2012-09-27 08:22 Graeme Geldenhuys New Issue
2012-09-27 08:22 Graeme Geldenhuys File Added: screenshot.png
2012-09-27 08:22 Graeme Geldenhuys Widgetset => GTK 2
2012-09-27 13:21 Zeljan Rikalo Status new => assigned
2012-09-27 13:21 Zeljan Rikalo Assigned To => Zeljan Rikalo
2012-09-27 14:08 Zeljan Rikalo Fixed in Revision => 38860
2012-09-27 14:08 Zeljan Rikalo LazTarget => -
2012-09-27 14:08 Zeljan Rikalo Status assigned => resolved
2012-09-27 14:08 Zeljan Rikalo Resolution open => fixed
2012-09-27 14:08 Zeljan Rikalo Note Added: 0062679
2012-09-27 14:11 Zeljan Rikalo Relationship added related to 0019085
2012-09-27 14:52 Graeme Geldenhuys Status resolved => closed
2012-09-27 14:52 Graeme Geldenhuys Note Added: 0062683