Closed
Bug 1495693
Opened 7 years ago
Closed 7 years ago
Inspector has dark input fields on Linux with light theme and a dark GTK theme
Categories
(DevTools :: General, enhancement, P3)
Tracking
(firefox64 fixed)
RESOLVED
FIXED
Firefox 64
| Tracking | Status | |
|---|---|---|
| firefox64 | --- | fixed |
People
(Reporter: fvsch, Assigned: fvsch)
Details
Attachments
(3 files)
Using the "Adwaita Dark" GTK theme (the main dark theme offered in Gnome 3), we end up with dark styles for <select>, <input type="checkbox">, scrollbars, and text inputs.
Forcibly switching GTK themes is probably too difficult. Firefox does things like that already, with unwanted impact on web content:
https://bugzilla.mozilla.org/show_bug.cgi?id=1283086
For devtools we could leave the scrollbars and checkboxes as-is, but least fix the search input style.
It seems that for search text inputs we already have `-moz-appearance: none` and a few styles like `border: solid 1px` which resets GTK styles, but we still end up with a dark background. We could fix that by explicitly declaring a `background-color`.
The dark-theme.css does it, but not the light-theme.css.
The filter inputs in Console and Network are not affected.
| Assignee | ||
Comment 1•7 years ago
|
||
Scrollbar colors is related to Bug 1460109 (not sure it'll add the capability to style Linux/GTK scrollbars though).
| Assignee | ||
Comment 2•7 years ago
|
||
Also affected: new RDM.
| Assignee | ||
Comment 3•7 years ago
|
||
Updated•7 years ago
|
Priority: -- → P3
| Assignee | ||
Comment 4•7 years ago
|
||
For scrollbars: https://bugzilla.mozilla.org/show_bug.cgi?id=1471163
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → florens
Status: NEW → ASSIGNED
Summary: Dark GTK widgets clash with the DevTools light theme → Inspector has dark input fields on Linux with light theme and a dark GTK theme
| Assignee | ||
Comment 5•7 years ago
|
||
I'd like to restrict the scope of this bug to just the Inspector's filter/search inputs, and other users of devtools-textinput (and related classes), to make it more manageable. I have a fix for that which I'd like to land if possible. I can open follow-up bugs for the RDM and other places that need more work.
| Assignee | ||
Comment 6•7 years ago
|
||
| Assignee | ||
Comment 7•7 years ago
|
||
Pushed by pbrosset@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cd606d8bb763
Declare devtools-textinput colors explicitly; r=pbro
Comment 9•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
You need to log in
before you can comment on or make changes to this bug.
Description
•