Text in the selected row is barely visible
Categories
(DevTools :: Storage Inspector, defect)
Tracking
(firefox-esr115 unaffected, firefox122 wontfix, firefox123 verified, firefox124 verified)
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox122 | --- | wontfix |
firefox123 | --- | verified |
firefox124 | --- | verified |
People
(Reporter: 6k64x4ma, Assigned: ochameau)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
35.22 KB,
image/webp
|
Details | |
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-release+
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0
Steps to reproduce:
- Load any page.
- Open the Storage Inspector.
- Select any row in the table widget.
Actual results:
- The text in the selected row is barely visible.
Expected results:
- The text should be white.
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=2535b5e00abc662e478601037a00e314799243a2&tochange=0cf1d9d7091d52e5014d6e91573c0ff7549f9cc3
Comment 1•1 year ago
|
||
:mossop, since you are the author of the regressor, bug 1857999, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Comment 2•1 year ago
|
||
This appears to be another problem with the ordering of the stylesheets. The rules for injecting the theme stylesheet are to put it immediately after the global stylesheet and this is what is happening. But the rule that sets a selected cell's color is being overridden by a later stylesheet's rule. Prior to bug 1857999 the theme stylesheet was being injected last so always took precedence.
I'm not sure what the best way to fix this is. We could make the theme rule a little more specific or if widgets.css
is a sort of global stylesheet maybe we should extend the logic to putting the theme sheet after that. What do you think Alex?
Assignee | ||
Comment 3•1 year ago
|
||
This rule overrides the expected color set by light/dark-theme.css.
Updated•1 year ago
|
Assignee | ||
Comment 4•1 year ago
|
||
It looks like we can simplify by removing widgets.css's color?
This TableWidget thing is only used by the Storage Panel.
Assignee | ||
Updated•1 year ago
|
Comment 5•1 year ago
|
||
Set release status flags based on info from the regressing bug 1857999
Comment 7•1 year ago
|
||
bugherder |
Comment 8•1 year ago
|
||
The patch landed in nightly and beta is affected.
:ochameau, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox123
towontfix
.
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Assignee | ||
Comment 9•1 year ago
|
||
Comment on attachment 9379983 [details]
Bug 1877090 - [devtools] Fix selected row color on the storage panel.
Beta/Release Uplift Approval Request
- User impact if declined: Content of the storage panel is hard to read when the lines/rows are selected
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Only a css rule being removed.
- String changes made/needed:
- Is Android affected?: No
Updated•1 year ago
|
Updated•1 year ago
|
Comment 10•1 year ago
|
||
Reproduced the initial issue on Firefox 123 on Windows 10 x64.
Verified as fixed using Firefox 124.0b2 - the text in the selected row is now visible and white. Tested on Windows 10 x64, Ubuntu 22.04 x64 and macOS 13.
Comment 11•11 months ago
|
||
Comment on attachment 9379983 [details]
Bug 1877090 - [devtools] Fix selected row color on the storage panel.
Low risk, approved for our planned dot release next week, thanks.
Comment 12•11 months ago
|
||
uplift |
Comment 13•11 months ago
|
||
bugherder uplift |
Updated•11 months ago
|
Comment 14•11 months ago
|
||
Verified as fixed using Firefox 123.0.1 on macOS 13, Ubuntu 22.04 and Windows 10 x64.
Description
•