Closed
Bug 1412595
Opened 7 years ago
Closed 7 years ago
Implement colors.bookmark_text for themes
Categories
(WebExtensions :: Frontend, enhancement, P5)
WebExtensions
Frontend
Tracking
(firefox57 wontfix, firefox58 verified, firefox59 verified)
VERIFIED
FIXED
mozilla58
People
(Reporter: ntim, Assigned: ntim)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(2 files)
colors.bookmark_text is supported in chrome.
I think it makes sense to support bookmark_text as an alias for toolbar_text as it work better for compatibility with chrome.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → ntim.bugs
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Updated•7 years ago
|
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8923765 [details]
Bug 1412595 - Implement colors.bookmark_text as alias for colors.toolbar_text.
https://reviewboard.mozilla.org/r/194912/#review201540
::: toolkit/components/extensions/ext-theme.js:137
(Diff revision 2)
> case "toolbar_text":
> + case "bookmark_text":
> + this.lwtStyles.toolbar_text = cssColor;
But which color should win if both are specified? Right now the code will treat the *last* specified as the used color, this may be confusing to people who port over their theme from Chrome.
Attachment #8923765 -
Flags: review?(jaws) → review-
Assignee | ||
Updated•7 years ago
|
Attachment #8923765 -
Flags: review- → review?(jaws)
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8923765 [details]
Bug 1412595 - Implement colors.bookmark_text as alias for colors.toolbar_text.
https://reviewboard.mozilla.org/r/194912/#review201952
Attachment #8923765 -
Flags: review?(jaws) → review+
Assignee | ||
Updated•7 years ago
|
Keywords: dev-doc-needed
Pushed by ntim.bugs@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/b4a8921258e0
Implement colors.bookmark_text as alias for colors.toolbar_text. r=jaws
Comment 6•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
I can reproduce this issue on Firefox 57.0 (20171112125346) under Wind 7 64-bit.
This issue is verified as fixed on Firefox 59.0a1 (20171120100042) and Firefox 58.0b4 (20171115114231) under Wind 7 64-bit and Mac OS X 10.13.
Using "bookmark_text": "#7206F5" will color the text of the tab in focus and the toolbar icons.
Please see the attached video.
I noticed that if you use bookmark_text and toolbar_text together, the color from toolbar_text will be always picked, no matter in what order they are used.
Is this expected? Or I should file another bug?
Flags: needinfo?(ntim.bugs)
Assignee | ||
Comment 9•7 years ago
|
||
Seems like a reasonable behaviour for now. Bug 1415209 will polish this.
Flags: needinfo?(ntim.bugs)
Comment 10•7 years ago
|
||
I've updated https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/theme for this, please let me know if this covers it.
Flags: needinfo?(ntim.bugs)
Updated•7 years ago
|
Keywords: dev-doc-needed → dev-doc-complete
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•