! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Gtk-xfce-engine: Even/odd list background ignored?
Status:
RESOLVED: WONTFIX
Product:
Gtk-xfce-engine
Component:
General

Comments

Description Klaus Kusche 2012-02-13 15:04:48 CET
Many other themes set slightly different, altering backgrounds
for lines in lists and trees.

I think the following should do the trick:

.view row:nth-child(odd) {
    background-color: shade(@base_normal, 0.93);
}

However, this doesn't have any effect with the Xfce engine?
Comment 1 Peter de Ridder editbugs 2012-02-19 12:28:10 CET
The themes have alternating colors by default. (I think an applications can disable this, haven't checked)
So it the problem that you don't see alternatic colors, or you can't change the alternating colors?
Comment 2 Klaus Kusche 2012-02-19 14:52:49 CET
I don't see alternating colors: All rows in lists have the same white background,
both in gtk2 and in gtk3, no matter what theme I select (happens for both the 
predefined Xfce themes which have alternating colors defined and for 
my own theme).

Alternating backgrounds did work with other theme engines, at least in gtk3
(I can't remember for sure what they looked like in gtk2).
Comment 3 Peter de Ridder editbugs 2012-02-19 15:50:52 CET
Created attachment 4224 
gtk3-demo -> Tree View -> List Store

This is the list store demo using the Xfce-winter theme.
gtk3-demo should be provided with Gtk3.
Could you check if you have alternating colors there?
If so could you give me a name of an applications which doesn't have alternating colors?
Comment 4 Klaus Kusche 2012-02-19 16:29:53 CET
Hmmm, works fine in gtk demo, both gtk3 and gtk2, 
both my theme and the predefined Xfce themes.

Doesn't work in oxygen-gtk3-demo (part of oxygen-gtk),
doesn't work in gnome-mplayer (gtk3 version),
doesn't work in the nemiver debugger, ...
(oxygen-gtk3-demo is a treelist, the others are plain lists 
with columns and headers).
Comment 5 Skunnyk editbugs 2018-09-22 16:43:35 CEST
This project has been archived, so we are closing related bugs.

Bug #8457

Reported by:
Klaus Kusche
Reported on: 2012-02-13
Last modified on: 2018-09-22

People

Assignee:
Peter de Ridder
CC List:
1 user

Version

Version:
Unspecified

Attachments

gtk3-demo -> Tree View -> List Store (25.34 KB, image/png)
2012-02-19 15:50 CET , Peter de Ridder
no flags

Additional information