Open Bug 1705254 Opened 3 years ago Updated 3 years ago

Proton context menu has a misaligned corner border

Categories

(Firefox :: Menus, defect, P2)

Firefox 89
Desktop
Windows 10
defect

Tracking

()

People

(Reporter: bugzilla, Unassigned)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [proton-context-menus] [priority:2c])

Attachments

(6 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0

Steps to reproduce:

Right-click any element that open the new Proton context menu. Testing on Windows 10, not sure about other platforms.

Actual results:

The bottom right corner has its border misaligned - the radius of the border seems to be 1px smaller than the radius of the actual context menu background, resulting in a small gap in the corner.

Most likely this issue is actually occurring in all corners, but only visible in the bottom right due to the drop shadow being there.

Expected results:

The context menu border should have its radius match the actual context menu background, making it flush with the edge and look as expected.

For clarification, this happens regardless of DPI - tested on 100% and 125%. It's easiest to notice the issue when the context menu is against a pure white background.

The Bugbug bot thinks this bug should belong to the 'Firefox::Menus' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Menus

Not sure if this is to Proton spec or not. Bogdan, can you take a look?

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(rtestard)
Flags: needinfo?(bogdan.maris)
Whiteboard: [proton-context-menus]

(In reply to Tracy Walker [:tracy] from comment #7)

Not sure if this is to Proton spec or not. Bogdan, can you take a look?

I used magnifier glass and print screen and zoom inside paint to try and replicate the image from comment 2 these are the images I get.

Flags: needinfo?(bogdan.maris)
Attached image Zoom with paint3D

Screenshot using paint3D and zoomed. I for one am not sure if this is per spec or not, maybe Gijs could give a better answer.

Flags: needinfo?(gijskruitbosch+bugs)

I think bug 1704040 might help here, but on the whole this is tricky because the shadow is rendered by Windows and the border by us, and getting the two perfectly aligned across DPIs, with rounded corners, has been a little... interesting.

I have to admit that in the non-zoomed-in images, I can't really see the two pixel difference... the issue in bug 1704040 is much more noticeable, however.

Flags: needinfo?(gijskruitbosch+bugs)
OS: Unspecified → Windows 10
Hardware: Unspecified → Desktop
See Also: → 1704040
Flags: needinfo?(rtestard)
Priority: -- → P2
Whiteboard: [proton-context-menus] → [proton-context-menus] [priority:2c]
Severity: -- → S4
See Also: → 1710432
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: