Dark lightweight themes have a thin light border on the top of the window in OSX

NEW
Unassigned

Status

()

4 years ago
4 years ago

People

(Reporter: bgrins, Unassigned)

Tracking

Trunk
All
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
Created attachment 8513658 [details]
dark-lw-window-border.png

See screenshot - the window has a light border that can be seen against a dark background
(Reporter)

Comment 1

4 years ago
Can be seen by applying this theme: https://addons.mozilla.org/en-US/firefox/addon/just-black/
(Reporter)

Comment 2

4 years ago
Markus, any idea what might be causing this?
Flags: needinfo?(mstange)
If HWA is disabled, the system draws this highlight line on our window, and if HWA is enabled, we draw it ourselves. This is so that windows with a normal titlebar gradient match the native appearance.
With bright themes this looks good, but I agree that it looks bad with very dark themes.
Flags: needinfo?(mstange)
(Reporter)

Comment 4

4 years ago
(In reply to Markus Stange [:mstange] from comment #3)
> If HWA is disabled, the system draws this highlight line on our window, and
> if HWA is enabled, we draw it ourselves. This is so that windows with a
> normal titlebar gradient match the native appearance.
> With bright themes this looks good, but I agree that it looks bad with very
> dark themes.

So if HWA is enabled, would it be possible to not draw it in the case of a dark window background-color?
You need to log in before you can comment on or make changes to this bug.