ArticleList Rows sometimes rendered with wrong colors

Bug #1486265 reported by JeanLuc
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
FeedReader
Fix Released
Low
Unassigned

Bug Description

Since I no longer hardcode the colors of labels in the ArticleList and let the theme do its thing the rows sometimes have the wrong colors. This happens mostly when clicking a lot and very fast.
I have no idea what could be wrong in the codebase of FeedReader to cause this. Maybe this is a bug of either Gtk+ or the elementary theme?

Related branches

Revision history for this message
JeanLuc (eviltwin1) wrote :
Revision history for this message
JeanLuc (eviltwin1) wrote :
Revision history for this message
JeanLuc (eviltwin1) wrote :
Revision history for this message
JeanLuc (eviltwin1) wrote :

I can not reproduce the issue on Adwaita theme. So I guess this is a eGtk bug???

Revision history for this message
JeanLuc (eviltwin1) wrote :

Here is someone experiencing the same bug: https://bugzilla.gnome.org/show_bug.cgi?id=746210
I used "fix 1" to work around the issue. Ideally the workaround should be included in the elementary theme in my opinion.

Comment from Arnaud Bonatti in the report:

== Fix 1 ==

https://git.gnome.org/browse/iagno/commit/?id=75a21d5ba729c7937a12c8c01d77366ff9099af4

Adding a line:

#fake-example *:selected *:visited { opacity: 1; }

makes the rendering work correctly. Of course, I do not have any widget called “fake-example”; and “opacity:1” could be replaced by other things. What is important is that having a check on “*:selected *:visited” updates the rendering when something is selected, or that not having such a line do not update the rendering… The hicolor theme does not show the problem because it has a “*:selected *:link:visited” selection somewhere[1].

[1] currently, on https://git.gnome.org/browse/gtk+/tree/gtk/theme/Adwaita/gtk-contained.css#n1290

Changed in feedreader:
status: Triaged → Fix Released
JeanLuc (eviltwin1)
Changed in feedreader:
milestone: none → 1.2.1
no longer affects: egtk
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.