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 648007 - On a secure site (like b.g.o), text selection is invisible in the URL bar
On a secure site (like b.g.o), text selection is invisible in the URL bar
Status: RESOLVED DUPLICATE of bug 642403
Product: epiphany
Classification: Core
Component: [obsolete] URL bar
3.0.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-17 11:09 UTC by Danilo Segan
Modified: 2011-04-17 14:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Prototype patch to use the .warning CSS class for secure URL entry (978 bytes, patch)
2011-04-17 11:18 UTC, Danilo Segan
none Details | Review

Description Danilo Segan 2011-04-17 11:09:05 UTC
If I am on a secure site like https://bugzilla.gnome.org/enter_bug.cgi?product=epiphany, pressing Ctrl+L does select the entire URL, but it's not visible because even the selection box stays yellow.

I am suspecting the problem is with the code that turns the entry background to yellow for secure sites. According to http://developer.gnome.org/gtk3/unstable/GtkWidget.html#gtk-widget-override-color it seems it's better to fully style the entry box with CSS.

I am playing with using some of the existing CSS classes in the Gtk+ theme (like .warning)
Comment 1 Danilo Segan 2011-04-17 11:18:15 UTC
Created attachment 186127 [details] [review]
Prototype patch to use the .warning CSS class for secure URL entry

This patch is far from perfect. I am unsure what would be the best way forward (it doesn't change the background color at all, not sure why since .warning class defines that as well), but at least it allows one to see the selection, and the text color is changed to something from the theme. :)

It would probably be nice to also indicate in some way when the site was supposed to be secure, but certificate validation has failed (i.e. to indicate that it's insecure: I know that it's as secure as any normal "http" site, but typing in https: and getting an insecure site is kind of more important to let the user know about).
Comment 2 Xan Lopez 2011-04-17 14:46:41 UTC
This was already reported, and we got a patch more or less done. We are only waiting to see if we want it fixed in GTK+ or not I think.

*** This bug has been marked as a duplicate of bug 642403 ***