Window corners are not transparent making the window appear not to have rounded corners
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox65 | --- | unaffected |
firefox66 | --- | unaffected |
firefox67 | --- | fixed |
People
(Reporter: abenson, Assigned: mstange)
References
Details
(Keywords: regression)
Attachments
(4 files)
In the last two days of Nightly updates in macOS the corners appear to have an artifact that doesn't make the corners appear rounded as they should be. See attached screenshot.
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Seeing the same issue in 67.0a1 (2019-02-20) (64-bit) on macOS 10.14.3 (18D109).
Steps to reproduce:
- Open Firefox Nightly
- Select "dark" or "default" theme
Observations:
- The issue is not present when switching to the "light" theme.
- The issue is consistent between high/low DPI displays and primary/secondary displays.
- There was a visually-similar issue reported for GTK a month ago: bug 1521012.
Assignee | ||
Comment 2•6 years ago
|
||
This is an effect from the gfx.compositor.glcontext.opaque pref. It looks better if you set it to false.
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
gfx.compositor.glcontext.opaque is set to false in my local copy and I don't believe I've ever changed this setting. With it set to false, still have an issue with rounded corners filling white using the dark theme.
Attaching screenshot showing settings and the corner issue as "ff-nightly-config.png"
Assignee | ||
Comment 5•6 years ago
|
||
I see! Sorry about jumping the gun there.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Comment 7•6 years ago
|
||
Markus, will this be fixed in time fr 67 soft freeze (Mar 11)?
Assignee | ||
Comment 8•6 years ago
|
||
I'm hoping it will; but if not, we can just back out bug 1491445.
Assignee | ||
Comment 9•6 years ago
|
||
Do you have "Reduce transparency" checked in the system preferences under Accessibility -> Display?
Comment 10•6 years ago
|
||
@mstange: no, I do not have "Reduce transparency" enabled under System Preferences > Accessibility > Display. Adding screenshot to this ticket so you can see all options and their settings in Accessibility > Display.
Comment 11•6 years ago
|
||
Assignee | ||
Comment 13•6 years ago
|
||
Thanks! I can reproduce it now, even on 10.12, with the dark Firefox theme. It only happens with the "default" Firefox theme if you're on 10.14 and have set the system theme set to dark.
This is a regression from https://hg.mozilla.org/mozilla-central/rev/be263e3d8bdf , which removed the clearCorners method. We need to clear the top corners even when our ChildView is not opaque: The frame view's drawRect implementation, or more specifically -[NSThemeFrame drawWindowBackgroundRect:], draws opaque gray in those corners. Or at least this happens in our current configuration, with a non-CA-backed window, which does not have NSFullsizeContentViewWindowMask set but still has the content view covering the entire window due to our overrides of -[NSWindow contentRectForFrameRect:] and friends. The gray square corners which are painted by the frame view shine through under our OpenGL surface.
Assignee | ||
Comment 14•6 years ago
|
||
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Description
•