Closed
Bug 1022123
Opened 10 years ago
Closed 10 years ago
Missing borders on some input elements in gtk3 builds
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 978172
People
(Reporter: glandium, Unassigned)
References
Details
Attachments
(2 files)
See attached screenshot. It happens on the awesomebar, the search box, and some input elements in web forms (like the very one I'm using to file this bug)
Reporter | ||
Comment 1•10 years ago
|
||
It may or may not be related, but the burger menu also doesn't have a border.
Reporter | ||
Comment 2•10 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #1)
> It may or may not be related, but the burger menu also doesn't have a border.
Same for "bubbles" from the toolbar: download, bookmarks, certificate info
Reporter | ||
Comment 3•10 years ago
|
||
So, the problem, at least for the search box and url bar, is that ThreeDShadow resolves to rgba(0,0,0,0) (so essentially, transparent)
Reporter | ||
Comment 4•10 years ago
|
||
Of the cached colors in nsLookAndFeel, four are RGBA(0,0,0,0):
- sComboBoxBackground
- sButtonBackground
- sButtonInnerDarkBorder
- sButtonOuterLightBorder
If I force them all to have at least a value for the alpha channel, I get back all the missing borders (on the search box, url bar, burger menu, bookmark menu, certificate info, download pop down), albeit with the wrong color. I haven't looked up which one(s) are actually relevant.
Reporter | ||
Comment 5•10 years ago
|
||
And that, in turn, is because the Adwaita theme *does* define a transparent color for border-color, and uses a border-image.
Reporter | ||
Comment 6•10 years ago
|
||
This is a screenshot of gtk3 firefox running with the following ~/.config/gtk-3.0/gtk.css in the background, and without on the foreground.
GtkButton {
border-color: #f00;
background-color: #0f0;
}
That helps see what is using the button border color and what is using the button background color.
Both are transparent by default in Adwaita.
Reporter | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•