GNOME Bugzilla – Bug 648007
On a secure site (like b.g.o), text selection is invisible in the URL bar
Last modified: 2011-04-17 14:46:41 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)
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).
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 ***