← Back to team overview

gtg team mailing list archive

[Bug 345808] Re: Drop gray background in the column used for sorting

 

Something relevant: http://www.pygtk.org/docs/pygtk/class-
gtktreeview.html#method-gtktreeview--set-rules-hint

In Michael's screenshot, the sort column has alternating colours for the
cells in the last three rows, where the cell colour is not set
explicitly. If the rules-hint was set to False, then *some* themes
*might* not use alternating colours.

...anyway, I don't think this is what Raphael is asking for. To not
highlight the sort column is not a built-in feature of gtk.TreeView. Two
options would be:

1. Extend the cell renderer used in the task tree to check whether the cell being rendered is in the sort column. If it is, and if the task on that row has no colour, take some step to change the cell-background colour in that cell.
2. Choose (I don't know how) a cell-background to use for tasks that have no colour, and *always* use a cell-background.

I don't like the second option, because it means that users who choose
not to use many coloured tags will not have the benefit of the built-in
GTK alternating-rows colouring.

The first option seems like a lot of work, but I guess it is possible.

There are some other bugs related to major changes in the taskbrowser,
like bug #340022 (group by due date)...maybe it would be better to
tackle that first and then see if this is still a concern.

-- 
Drop gray background in the column used for sorting
https://bugs.launchpad.net/bugs/345808
You received this bug notification because you are a member of Gtg bug
triagers, which is subscribed to Getting Things GNOME!.

Status in Getting Things GNOME!: Confirmed

Bug description:
The gray background in the column used for sorting is in direct conflict with the colors coming from tags. The result is not nice and makes it difficult to identify task accurately.

In particular I use the gray color for a tag that I called status:inactive so, when I sort by title most of the lines end up gray even those that are not inactive !!