Closed
Bug 1275700
Opened 8 years ago
Closed 8 years ago
[Ubuntu] AwesomeBar and Search Pop-up is too Dark
Categories
(Toolkit :: Themes, defect, P1)
Tracking
()
VERIFIED
FIXED
mozilla50
People
(Reporter: shorlander, Assigned: past)
References
Details
(Keywords: regression, Whiteboard: [fxsearch])
Attachments
(4 files)
(deleted),
image/png
|
Details | |
(deleted),
text/x-review-board-request
|
dao
:
review+
gchang
:
approval-mozilla-aurora+
gchang
:
approval-mozilla-beta+
|
Details |
(deleted),
image/png
|
Details | |
(deleted),
image/png
|
Details |
It looks like with the switch to GTK3 the Awesomebar and Search Pop-ups are inheriting the dark context menu appearance. They are really closer to combo boxes and dropdowns than context menus. This dark appearance is ok for simple transient list like context menus. It's a little jarring for the complex UIs we have in these pops and it's popping up off of a generally light chrome toolbar and white field. I mocked up a version that uses -moz-field and -moz-fieldtext that works around this. It's probably not semantically correct (-moz-combobox and -moz-comboboxtext might be) but it will likely give us a more consistent appearance across themes. http://people.mozilla.org/~shorlander/awesomebar-results-colors/linux.html
Reporter | ||
Comment 1•8 years ago
|
||
Reporter | ||
Updated•8 years ago
|
Blocks: 1262507
Keywords: regression
Reporter | ||
Updated•8 years ago
|
Summary: [Ubuntu] AwesomeBar and Search Pop-up Is Dark → [Ubuntu] AwesomeBar and Search Pop-up is too Dark
Updated•8 years ago
|
Priority: -- → P1
Whiteboard: [fxsearch]
Comment 2•8 years ago
|
||
(In reply to Stephen Horlander [:shorlander] from comment #0) > It looks like with the switch to GTK3 the Awesomebar and Search Pop-ups are > inheriting the dark context menu appearance. They are really closer to combo > boxes and dropdowns than context menus. Not just context menus, also main menu popups. I'm not really sure what the intent is on Ubuntu's side. It makes some sense for the main menus to be dark since they're attached to the dark title bar, but that's not true at all for context menus.
Component: Theme → Themes
Product: Firefox → Toolkit
Comment 3•8 years ago
|
||
Basically I think -moz-appearance: menupopup; is overloaded now with gtk3 on Ubuntu.
Reporter | ||
Comment 4•8 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #2) > (In reply to Stephen Horlander [:shorlander] from comment #0) > > It looks like with the switch to GTK3 the Awesomebar and Search Pop-ups are > > inheriting the dark context menu appearance. They are really closer to combo > > boxes and dropdowns than context menus. > > Not just context menus, also main menu popups. I'm not really sure what the > intent is on Ubuntu's side. It makes some sense for the main menus to be > dark since they're attached to the dark title bar, but that's not true at > all for context menus. While it's not how I would handle context menus, we are at least being consistent with the environment there: http://cl.ly/2n1x022o1J1K
Comment 5•8 years ago
|
||
Bug 1268462 has effectively the same cause.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → past
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/60032/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/60032/
Attachment #8763917 -
Flags: review?(adw)
Assignee | ||
Comment 7•8 years ago
|
||
Assignee | ||
Comment 8•8 years ago
|
||
Comment 9•8 years ago
|
||
Shouldn't the foreground colors here be -moz-fieldtext instead of -moz-dialogtext, if we're using 'field' backgrounds for the panels?
Comment 10•8 years ago
|
||
Comment on attachment 8763917 [details] Bug 1275700 - Fix the color of the AwesomeBar and Search Results popup on Linux. Gijs is right. At a first glance it also looks like we should specify the color for .autocomplete-history-popup along with the background-color.
Attachment #8763917 -
Flags: review?(adw) → review-
Assignee | ||
Comment 11•8 years ago
|
||
Comment on attachment 8763917 [details] Bug 1275700 - Fix the color of the AwesomeBar and Search Results popup on Linux. Review request updated; see interdiff: https://reviewboard.mozilla.org/r/60032/diff/1-2/
Attachment #8763917 -
Flags: review- → review?(dao+bmo)
Assignee | ||
Comment 12•8 years ago
|
||
Comments addressed. I changed the color for .autocomplete-history-popup in the name of consistency, even though it didn't seem necessary in my testing.
Comment 13•8 years ago
|
||
Comment on attachment 8763917 [details] Bug 1275700 - Fix the color of the AwesomeBar and Search Results popup on Linux. > #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] { > border-bottom: 1px solid hsla(210, 4%, 10%, 0.14); > background-color: hsla(210, 4%, 10%, 0.07); >+ color: -moz-FieldText; color should automatically be inherited from the popup here, so you can just drop this line. > .autocomplete-tree { > -moz-appearance: none !important; > border: none !important; > background-color: transparent !important; >- color: MenuText; >+ color: -moz-FieldText; > } trees have color:-moz-fieldtext by default, so this shouldn't be needed. You could specify color:inherit to make this rock-solid, but then please update the windows and osx stylesheets as well. > .autocomplete-richlistitem { >- color: MenuText; >+ color: -moz-FieldText; > } ditto (richlistitems have color:-moz-fieldtext by default)
Attachment #8763917 -
Flags: review?(dao+bmo) → review+
Assignee | ||
Comment 14•8 years ago
|
||
Thanks for the comments. I chose to simplify the linux stylesheet instead of updating all platforms to match.
Comment 15•8 years ago
|
||
Pushed by pastithas@mozilla.com: https://hg.mozilla.org/integration/fx-team/rev/9d3e753faf2b Fix the color of the AwesomeBar and Search Results popup on Linux. r=dao
Comment 16•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9d3e753faf2b
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Assignee | ||
Comment 17•8 years ago
|
||
Comment on attachment 8763917 [details] Bug 1275700 - Fix the color of the AwesomeBar and Search Results popup on Linux. Approval Request Comment [Feature/regressing bug #]: the switch to GTK3 [User impact if declined]: on Ubuntu the awesomebar and search bar results will look bad [Describe test coverage new/current, TreeHerder]: manual testing on Nightly [Risks and why]: minor risk, these are Linux-specific and CSS-only changes [String/UUID change made/needed]: none
Attachment #8763917 -
Flags: approval-mozilla-beta?
Attachment #8763917 -
Flags: approval-mozilla-aurora?
Updated•8 years ago
|
status-firefox48:
--- → affected
status-firefox49:
--- → affected
Comment 18•8 years ago
|
||
Comment on attachment 8763917 [details] Bug 1275700 - Fix the color of the AwesomeBar and Search Results popup on Linux. This fixes a regression that the awesomebar and search bar results look bad on Ubuntu. Take it in 48 beta 4 and aurora.
Attachment #8763917 -
Flags: approval-mozilla-beta?
Attachment #8763917 -
Flags: approval-mozilla-beta+
Attachment #8763917 -
Flags: approval-mozilla-aurora?
Attachment #8763917 -
Flags: approval-mozilla-aurora+
Comment 19•8 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-aurora/rev/a9e1fd7149e0
Updated•8 years ago
|
Flags: qe-verify+
Comment 21•8 years ago
|
||
I reproduced this bug using Fx 49.0a1, build ID:20160525030215 on Ubuntu 16.04 LTS. Confirmed the fix on Fx 48.0b5, build ID 20160630123429; Fx 49.0a2, build ID 20160701004039; and Fx 50.0a1, build ID 20160630030207.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
Updated•8 years ago
|
Component: Widget: Gtk → Themes
Product: Core → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•