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 643768 - st-entry: Support a different color for selected text
st-entry: Support a different color for selected text
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 615731 654160 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-03-03 10:43 UTC by Jasper St. Pierre (not reading bugmail)
Modified: 2013-11-10 00:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix build for gcc 4.6 warnings for Clutter 1.7. (2.10 KB, patch)
2011-03-03 10:43 UTC, Jasper St. Pierre (not reading bugmail)
none Details | Review
st-entry: Support a different color for selected text (1.16 KB, patch)
2011-03-03 10:43 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review
theme: Add selected text color (1.48 KB, patch)
2011-03-03 10:44 UTC, Jasper St. Pierre (not reading bugmail)
none Details | Review
theme: Add selected text color (1.48 KB, patch)
2011-07-03 21:02 UTC, Jasper St. Pierre (not reading bugmail)
reviewed Details | Review
theme: Add selected text color (1.47 KB, patch)
2011-07-09 08:47 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review
st-entry: Inherit all colors (1.65 KB, patch)
2011-07-09 08:47 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review

Description Jasper St. Pierre (not reading bugmail) 2011-03-03 10:43:53 UTC
Requires Clutter patches from
http://bugzilla.clutter-project.org/show_bug.cgi?id=2595

The CSS changes are temporary, I didn't get them from the mockups.
Comment 1 Jasper St. Pierre (not reading bugmail) 2011-03-03 10:43:55 UTC
Created attachment 182331 [details] [review]
Fix build for gcc 4.6 warnings for Clutter 1.7.
Comment 2 Jasper St. Pierre (not reading bugmail) 2011-03-03 10:43:59 UTC
Created attachment 182332 [details] [review]
st-entry: Support a different color for selected text

This should improve readability in text entries where the text
color is very close to the color of the selection.
Comment 3 Jasper St. Pierre (not reading bugmail) 2011-03-03 10:44:02 UTC
Created attachment 182333 [details] [review]
theme: Add selected text color

This should improve readability of text that's selected.
Comment 4 Owen Taylor 2011-03-03 15:50:43 UTC
Note that we can't use Clutter 1.7 branch changes until after GNOME 3.0 is out, so anything that requires new Clutter API can't go in at this point.
Comment 5 Owen Taylor 2011-03-04 22:26:04 UTC
Review of attachment 182331 [details] [review]:

Not going to take this until http://bugzilla.clutter-project.org/show_bug.cgi?id=2598 is fixed in Clutter, it's impossible to know if these changes are correct without knowing the usage pattern that is expected.
Comment 6 Owen Taylor 2011-03-13 18:38:13 UTC
Comment on attachment 182331 [details] [review]
Fix build for gcc 4.6 warnings for Clutter 1.7.

Different fixes ended up getting pushed for clutter_init() changes - see bug 643910
Comment 7 Jasper St. Pierre (not reading bugmail) 2011-06-12 18:43:03 UTC
*** Bug 615731 has been marked as a duplicate of this bug. ***
Comment 8 Matthias Clasen 2011-06-17 21:39:21 UTC
Looks like clutter bug 2598 is fixed now.
Comment 9 Jasper St. Pierre (not reading bugmail) 2011-06-18 00:25:30 UTC
(In reply to comment #8)
> Looks like clutter bug 2598 is fixed now.

Should we start migrating to Clutter master, or wait until 1.7/1.8 is released?
Comment 10 Jasper St. Pierre (not reading bugmail) 2011-07-03 21:02:49 UTC
Created attachment 191201 [details] [review]
theme: Add selected text color

This should improve readability of text that's selected.



Rebase testing theme patch.
Comment 11 Jasper St. Pierre (not reading bugmail) 2011-07-07 14:30:35 UTC
*** Bug 654160 has been marked as a duplicate of this bug. ***
Comment 12 Dan Winship 2011-07-07 20:39:58 UTC
Comment on attachment 182332 [details] [review]
st-entry: Support a different color for selected text

works
Comment 13 Dan Winship 2011-07-07 20:40:24 UTC
Comment on attachment 191201 [details] [review]
theme: Add selected text color

can you fix up lg too? ok to commit with that
Comment 14 Jasper St. Pierre (not reading bugmail) 2011-07-09 08:47:18 UTC
Created attachment 191568 [details] [review]
theme: Add selected text color

This should improve readability of text that's selected.



OK, used .lt-dialog StEntry instead.
Comment 15 Jasper St. Pierre (not reading bugmail) 2011-07-09 08:47:33 UTC
Created attachment 191569 [details] [review]
st-entry: Inherit all colors

This is optional. Do we want to do this?
Comment 16 Dan Winship 2011-07-12 16:55:03 UTC
Comment on attachment 191569 [details] [review]
st-entry: Inherit all colors

pretty sure we do want this; can you check if any simplifications can be made to the CSS as a result?
Comment 17 Jasper St. Pierre (not reading bugmail) 2011-07-12 20:07:05 UTC
Attachment 182332 [details] pushed as f524138 - st-entry: Support a different color for selected text
Attachment 191568 [details] pushed as 5cb43b6 - theme: Add selected text color
Attachment 191569 [details] pushed as a007b1b - st-entry: Inherit all colors


I briefly looked and it seemed there wasn't any place that was ugly because of this.
Comment 18 Lester Carballo 2013-11-10 00:09:25 UTC
St.Entry loses selection when lost focus. Impossible add a popup menu for action "Copy".