Closed
Bug 1365275
Opened 8 years ago
Closed 8 years ago
Location and search bars become transparent on hover with a lightweight theme installed
Categories
(Firefox :: Theme, defect, P1)
Firefox
Theme
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox53 | --- | unaffected |
firefox54 | --- | unaffected |
firefox55 | --- | verified |
People
(Reporter: RyanVM, Assigned: daleharvey)
References
Details
(Keywords: regression, Whiteboard: [photon-visual][p1])
Attachments
(1 file, 2 obsolete files)
1.90 KB,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
I've only verified this on Win10 at this point, not sure if it's across all OSes or not.
STR:
* Install a LWT from AMO
* Hover the location bar
Expected results:
A similar box shadow effect as you get with the regular themes.
Actual results:
Location bar goes transparent and the LWT bleeds through, which can make text very difficult to read depending on the specific theme installed.
Flags: needinfo?(dale)
Assignee | ||
Comment 1•8 years ago
|
||
Will take a look at this
Assignee: nobody → dale
Flags: needinfo?(dale)
Updated•8 years ago
|
Whiteboard: [photon-visual][p1]
Updated•8 years ago
|
Flags: qe-verify+
Priority: -- → P1
Assignee | ||
Comment 2•8 years ago
|
||
Now this has its own bug will stop trying to sneak it in with other patches, in lwttheme the url bar is given a default transparent background, on hover / focus it them used this broken one and becomes opaque
Attachment #8868440 -
Flags: review?(dao+bmo)
Comment 3•8 years ago
|
||
Comment on attachment 8868440 [details] [diff] [review]
1365275-1.patch
For lightweight themes, we should actually use white on hover/focus, as -moz-field can be black or really any other color, which we don't want in this case.
Attachment #8868440 -
Flags: review?(dao+bmo) → review-
Assignee | ||
Comment 4•8 years ago
|
||
This is white on hover+focus inside lightweight themes, semi transparent otherwise when inactive
Attachment #8868440 -
Attachment is obsolete: true
Attachment #8868535 -
Flags: review?(dao+bmo)
Comment 5•8 years ago
|
||
Comment on attachment 8868535 [details] [diff] [review]
Fix typo in location bar background
>+#urlbar:-moz-lwtheme,
>+.searchbar-textbox:-moz-lwtheme {
>+ background-color: white;
>+}
>+
> #urlbar:-moz-lwtheme:not(:hover):not([focused="true"]),
> .searchbar-textbox:-moz-lwtheme:not(:hover):not([focused="true"]) {
> background-color: hsla(0, 100%, 100%, .8);
> }
This is correct but feels a bit backwards. How about:
#urlbar:-moz-lwtheme,
.searchbar-textbox:-moz-lwtheme {
background-color: hsla(0,0%,100%,.8);
}
#urlbar:-moz-lwtheme:hover,
#urlbar:-moz-lwtheme[focused="true"],
.searchbar-textbox:-moz-lwtheme:hover,
.searchbar-textbox:-moz-lwtheme[focused="true"] {
background-color: white;
}
You should also set "color: black", since the system text color can be something else.
Assignee | ||
Comment 6•8 years ago
|
||
Yeh was wondering if I should switch those selectors around, will do
Assignee | ||
Comment 7•8 years ago
|
||
Gave it a test, works good
Attachment #8868535 -
Attachment is obsolete: true
Attachment #8868535 -
Flags: review?(dao+bmo)
Attachment #8868541 -
Flags: review?(dao+bmo)
Updated•8 years ago
|
Attachment #8868541 -
Flags: review?(dao+bmo) → review+
Pushed by dharvey@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c9effeab30da
Fix location and search bar background color. r=dao
Comment 10•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Updated•8 years ago
|
Iteration: --- → 55.6 - May 29
QA Contact: brindusa.tot
Updated•8 years ago
|
Comment 13•8 years ago
|
||
Mozscreenshots confirms:
https://screenshots.mattn.ca/compare/?oldProject=mozilla-central&oldRev=b133ec74e3d0813c0951603209fa283ef0efd8b2&newProject=mozilla-central&newRev=2c783a7b6d05b4b2b417bc5f21b7e40cbf3df077
(Only for the searchbar until bug 1367089 is resolved, but I'm sure the urlbar is fine, too)
Status: RESOLVED → VERIFIED
Comment 14•8 years ago
|
||
Actually this was not testing for hover so back to RESOLVED.
Status: VERIFIED → RESOLVED
Closed: 8 years ago → 8 years ago
Comment 15•8 years ago
|
||
Reproduced the bug on Nightly 55.0a1, build ID 20170516122050 on Windows 10 x64, with different themes for the browser.
Verified as fixed on latest Nightly 55.0a1, build ID 20170529030204 on Windows 10 x64, Mac 10.12 and Ubuntu 16.04.
Status: RESOLVED → VERIFIED
Updated•8 years ago
|
Flags: qe-verify+
You need to log in
before you can comment on or make changes to this bug.
Description
•