Closed Bug 2060767 Opened 27 days ago Closed 22 days ago

[Nova] When Firefox shows a dialog box, the semitransparent overlay behind it doesn't cover the page corners

Categories

(Toolkit :: Content Prompts, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 2049273

People

(Reporter: dholbert, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Attached file testcase 1

STR:

  1. Load attached testcase and click the button. (Or alternately, Ctrl+P to bring up a print-preview dialog on any page.)
  2. Look at all 4 corners of your viewport. Is the page background-color properly darkened (like the rest of the viewport) in all of those spots?

ACTUAL RESULTS:
Some corners are not darkened. The semi-transparent overlay that attempts to darken the full viewport has rounded corners at all 4 corners.
Whereas the actual viewport (the thing it's trying to cover) has some square corners (maybe a few, or maybe all of them, depending on whether your window is maximized; and whether the compact sidebar is showing or hidden; and probably more factors)

EXPECTED RESULTS:
Semi-transparent overlay should cover all of the corners of the viewport.

The Bugbug bot thinks this bug should belong to the 'Core::Printing: Output' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Printing: Output
Product: Firefox → Core

Here's a screenshot. Note the top-left and top-right corners of the viewport are square, so the rounded corners on the overlay let the color shine through.
Even the bottom corners have a sliver that shines through, despite the corners being rounded.

(In reply to BugBot [:suhaib / :marco] from comment #1)

The Bugbug bot thinks this bug should belong to the 'Core::Printing: Output' component

Nope. Printing is one type of dialog that triggers this, but it also affects alert and other dialogs.

Let's put this in Toolkit::Content Prompts; hopefully that's the right spot, or at least closer.

Component: Printing: Output → Content Prompts
Product: Core → Toolkit

Here's a screenshot of a maximized window. As you can see, all 4 corners of the viewport are "square" in a maximized window, and yet the overlay has rounded corners, so some of the page background shines through in each corner.

Attachment #9621963 - Attachment description: screnshot with maximized window → screenshot with maximized window

Thank you for the report, I believe this is describing the same issue as bug 2049273.

Status: NEW → RESOLVED
Closed: 22 days ago
Duplicate of bug: 2049273
Resolution: --- → DUPLICATE

Yup, that bug's patch fixes the issue for me. I filed bug 2062447 on one remaining issue.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: