Closed Bug 1695702 Opened 3 years ago Closed 3 years ago

Ensure AppMenu panel position relative to the anchor matches the specification

Categories

(Firefox :: Menus, defect, P2)

defect

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: mconley, Assigned: emmamalysz)

References

(Blocks 1 open bug)

Details

(Whiteboard: [proton-hamburger-menu][priority:2a])

Attachments

(1 file)

Spinning this out from bug 1694976.

amylee writes: "The position of the menu is too high and too far to the right of the screen (please reference spec for position)"

Severity: -- → S3
Type: task → defect
Severity: S3 → S4

From my PM review, I immediately noticed this behavior and it appears to be different between platforms (and maybe themes). On Windows 10 w/ Light Theme it appears correctly, but on OS X w/ Dark Theme I see this defect. The AppMenu should be right-aligned to the edge of the hamburger button and the top of the menu should start after the bottom of the hamburger button. Right now on macOS it's aligned to the right edge of the browser window and covers up the bottom 6th of the hamburger button. It stands out in a not great way, I'd like to see this fixed if we have time during polish before shipping.

-> priority:2a

Priority: P5 → P2
Whiteboard: [proton-hamburger-menu] → [proton-hamburger-menu][priority:2a]
Assignee: nobody → emalysz
Status: NEW → ASSIGNED

Thanks for looking at this, emalysz! Just a heads up that there are some CSS rules that make these panels behave differently on macOS than on Windows and Linux. Specifically here: https://searchfox.org/mozilla-central/rev/05cea55db68db7a3c8531cadaa169e46176e3983/toolkit/themes/osx/global/popup.css#34-42

Also, a number of CSS rules have been added to nudge panels back and forth a bit: https://searchfox.org/mozilla-central/rev/05cea55db68db7a3c8531cadaa169e46176e3983/browser/themes/shared/customizableui/panelUI.inc.css#208-263

And those might need adjusting with Proton enabled.

Blocks: 1699527
Attachment #9213665 - Attachment description: Bug 1695702, correctly position appMenu when proton enabled → WIP: Bug 1695702, correctly position appMenu when proton enabled
Attachment #9213665 - Attachment description: WIP: Bug 1695702, correctly position appMenu when proton enabled → WIP: Bug 1695702, correctly position appMenu and panels when proton enabled
Attachment #9213665 - Attachment description: WIP: Bug 1695702, correctly position appMenu and panels when proton enabled → Bug 1695702, correctly position appMenu and panels when proton enabled
Pushed by emalysz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4147649fcf95
correctly position appMenu and panels when proton enabled r=mconley
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
Regressions: 1704242
See Also: → 1705539
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: