View Issue Details

IDProjectCategoryView StatusLast Update
0038356PackagesLCLpublic2021-01-19 13:40
ReporterM.AUDIO Assigned ToZeljan Rikalo  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version2.1 (SVN) 
Summary0038356: Qt5 flat TSpeedButton draws incorrectly
DescriptionIf I'm not mistaken, TSpeedButton with Flat:=True; should take the background color from it's parent. even when highlighted. this is the default behavior for GTK2,Cocoa,Win32. screenshots attached for comparison.
Steps To ReproduceScreenshots attached for comparison.
Compile and run the test project with Build Mode set to Qt5.
TagsFlat, Qt5, SpeedButton, TSpeedButton
Fixed in Revision
LazTarget-
WidgetsetQT5
Attached Files

Activities

M.AUDIO

2021-01-14 10:54

reporter  

qt5_speedbutton_flat.zip (131,340 bytes)

Zeljan Rikalo

2021-01-19 13:40

developer   ~0128409

I'll take a look but hover color is provided by Qt5 theme, so it could be bug in qt5 theme.

Issue History

Date Modified Username Field Change
2021-01-14 10:54 M.AUDIO New Issue
2021-01-14 10:54 M.AUDIO File Added: qt5_speedbutton_flat.zip
2021-01-14 10:54 M.AUDIO File Added: Screenshot from 2021-01-14 12-35-15.png
2021-01-14 10:54 M.AUDIO File Added: Screenshot from 2021-01-14 12-36-23.png
2021-01-14 10:55 M.AUDIO Tag Attached: Qt5
2021-01-14 10:55 M.AUDIO Tag Attached: Flat
2021-01-14 10:55 M.AUDIO Tag Attached: TSpeedButton
2021-01-14 10:55 M.AUDIO Tag Attached: SpeedButton
2021-01-19 13:40 Zeljan Rikalo Assigned To => Zeljan Rikalo
2021-01-19 13:40 Zeljan Rikalo Status new => assigned
2021-01-19 13:40 Zeljan Rikalo LazTarget => -
2021-01-19 13:40 Zeljan Rikalo Note Added: 0128409