Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
5.1.1
-
None
-
Vista sp2 vs2010, qt 5.1.1 32bit vs2010 opengl installer
Linux (debian 7.2) xfce4, qt 5.1.1
Description
Setting style sheet selection-background-color for QTableView has no effect in Linux. Works fine in Windows.
The test case attached creates a plain QTableView, populates it with some dummy QStandardItemModel, setStyleSheet to make selected cells have red background color.
In Windows, the selected cells highlight red as intended, but in Linux, the selected cells have default system bg selection color. i.e. I can change the color by changing the GTK style through xfce's system wide Appearance settings, but Qt doesn't seem to be able to override it.