Closed
Bug 1459066
Opened 7 years ago
Closed 7 years ago
Overflow menu WebExtension subview header text is invisible on dark theme
Categories
(WebExtensions :: Frontend, defect)
WebExtensions
Frontend
Tracking
(firefox-esr52 unaffected, firefox-esr60 unaffected, firefox59 unaffected, firefox60 unaffected, firefox61+ fixed, firefox62+ fixed)
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox-esr60 | --- | unaffected |
firefox59 | --- | unaffected |
firefox60 | --- | unaffected |
firefox61 | + | fixed |
firefox62 | + | fixed |
People
(Reporter: ntim, Assigned: jaws)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
Attachments
(2 files)
80.56 KB,
image/png
|
Details | |
59 bytes,
text/x-review-board-request
|
mixedpuppy
:
review+
RyanVM
:
approval-mozilla-beta+
|
Details |
The subview header containing the "<" arrow + the extension title is invisible on dark themes.
I think this is a regression of bug 1449933.
Reporter | ||
Updated•7 years ago
|
Flags: needinfo?(jaws)
Keywords: regression
Reporter | ||
Updated•7 years ago
|
status-firefox59:
--- → unaffected
status-firefox60:
--- → unaffected
status-firefox61:
--- → affected
Updated•7 years ago
|
Updated•7 years ago
|
status-firefox-esr52:
--- → unaffected
status-firefox-esr60:
--- → unaffected
tracking-firefox61:
--- → +
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Flags: needinfo?(jaws)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8973740 [details]
Bug 1459066 - Overflow menu WebExtension subview header should use the default browser styling instead of the extension's styling.
https://reviewboard.mozilla.org/r/242120/#review248036
::: browser/components/extensions/ExtensionPopups.jsm:363
(Diff revision 3)
> + if (this.panel.id == "widget-overflow") {
> + this.browser.style.background = background;
> + } else {
> - this.panel.style.setProperty("--arrowpanel-background", background);
> + this.panel.style.setProperty("--arrowpanel-background", background);
> + }
Is there any reason we shouldn't just always set the style on browser?
Updated•7 years ago
|
status-firefox62:
--- → affected
tracking-firefox62:
--- → +
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 7•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8973740 [details]
Bug 1459066 - Overflow menu WebExtension subview header should use the default browser styling instead of the extension's styling.
https://reviewboard.mozilla.org/r/242120/#review248036
> Is there any reason we shouldn't just always set the style on browser?
Because standalone popups should have the styles extend to the popup arrow. If we set the style on the browser all the time, we would still need to apply it to the arrow when it is standalone otherwise in most cases users would see a slight variation in the color of the arrow and top part of the popup box (rgb(252, 252, 252, 0.976) on OSX for example) and the browser (rgb(255, 255, 255)).
Assignee | ||
Updated•7 years ago
|
Attachment #8973740 -
Flags: review?(mixedpuppy)
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8973740 [details]
Bug 1459066 - Overflow menu WebExtension subview header should use the default browser styling instead of the extension's styling.
https://reviewboard.mozilla.org/r/242120/#review248678
Attachment #8973740 -
Flags: review?(mixedpuppy) → review+
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1f3cab27183f
Overflow menu WebExtension subview header should use the default browser styling instead of the extension's styling. r=mixedpuppy
Comment 10•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Comment 11•7 years ago
|
||
Please request Beta approval on this when you get a chance.
Flags: needinfo?(jaws)
Flags: in-testsuite+
Updated•7 years ago
|
Flags: qe-verify+
Assignee | ||
Comment 12•7 years ago
|
||
Comment on attachment 8973740 [details]
Bug 1459066 - Overflow menu WebExtension subview header should use the default browser styling instead of the extension's styling.
Approval Request Comment
[Feature/Bug causing the regression]: bug 1449933
[User impact if declined]: when extensions that provide their own popup are placed in the overflow menu, the header for the popup can be unreadable on dark themes
[Is this code covered by automated tests?]: yes
[Has the fix been verified in Nightly?]: no
[Needs manual test from QE? If yes, steps to reproduce]: no
[List of other uplifts needed for the feature/fix]: none
[Is the change risky?]: no
[Why is the change risky/not risky?]: limited to a special case of extension popups
[String changes made/needed]: none
Flags: needinfo?(jaws)
Attachment #8973740 -
Flags: approval-mozilla-beta?
Updated•7 years ago
|
Flags: qe-verify+ → qe-verify-
Comment 13•7 years ago
|
||
Comment on attachment 8973740 [details]
Bug 1459066 - Overflow menu WebExtension subview header should use the default browser styling instead of the extension's styling.
Avoid unreadable text from extension popups with the dark theme enabled under some circumstances. Approved for 61.0b5.
Attachment #8973740 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 14•7 years ago
|
||
bugherder uplift |
Updated•7 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•