After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 639106 - New CSS style misses distinction between "selected focused" and "selected unfocused"
New CSS style misses distinction between "selected focused" and "selected unf...
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-01-09 21:48 UTC by Paolo Borelli
Modified: 2011-01-11 01:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
CSS styles for the selection in a TextView. (1.03 KB, patch)
2011-01-09 22:10 UTC, Paolo Borelli
accepted-commit_now Details | Review

Description Paolo Borelli 2011-01-09 21:48:40 UTC
The old gtk2 theming had different color for the text selection in a focused window and selected text in an unfocused window.

I see no trace of it in the default css provider, I am not sure if it's just a matter of adding it to the css or if it also needs to add (pseudo)classes to the widgets.

The problem can be observed after applying the patch in bug #639105 that ports textview to the new style context
Comment 1 Paolo Borelli 2011-01-09 22:10:24 UTC
Created attachment 177891 [details] [review]
CSS styles for the selection in a TextView.

It looks it was just a matter of some css afterall
Comment 2 Matthias Clasen 2011-01-10 17:50:42 UTC
Looks good to me
Comment 3 Matthias Clasen 2011-01-11 01:36:07 UTC
This has been committed, it seems.