Closed Bug 1858349 Opened 1 year ago Closed 1 year ago

Submenu arrows missing on macOS

Categories

(Core :: Widget: Cocoa, defect)

Firefox 119
Desktop
macOS
defect

Tracking

()

VERIFIED FIXED
120 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox118 --- unaffected
firefox119 --- verified
firefox120 --- verified

People

(Reporter: sam, Assigned: emilio)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Attached image Example of the issue

Submenus for anchored menus are missing on macOS after bug 1849793 (according to mozregression). Note that these are not native menus like context menus are (which render fine).

Attached is a screenshot of the "change your view" menu in the Library window (in dark mode, but this happens in both dark and light mode). Note that both "show columns" and "sort" should have a submenu arrow, but it is missing. The submenus still render as expected.

Keywords: regression
Regressed by: 1849793

I accidentally a word above, it should read Submenu arrows for anchored menus are missing.

:emilio, since you are the author of the regressor, bug 1849793, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)

Our arrow is actually more similar to the modern macOS native ones, so
this both looks better and allows us to clean up more code.

flex-end alignment on acceltext-container is not needed (the flex item
is sized to its contents), removing it doesn't change behavior on e.g.
the menubar menus on Linux.

Assignee: nobody → emilio
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

The windows bits were already unused.

Depends on D190663

Set release status flags based on info from the regressing bug 1849793

Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d28557bfe634 Use non-native menu arrows everywhere. r=desktop-theme-reviewers,dao
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/56985665f52c Fix whitespace nit pointed out after landing.
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0dc6ef956702 Remove now-unused menuarrow code. r=spohl,mac-reviewers,win-reviewers,rkraesig
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch

The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox119 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)

Comment on attachment 9357800 [details]
Bug 1858349 - Use non-native menu arrows everywhere. r=#theme,#mac-reviewers

Beta/Release Uplift Approval Request

  • User impact if declined: Comment 0
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Comment 0. Would be good to also test menus on Linux / windows.
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Relatively simple CSS change. I could provide a more minimal patch if needed tomorrow, but this is probably fine.
  • String changes made/needed: none
  • Is Android affected?: No
Flags: needinfo?(emilio)
Attachment #9357800 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9357800 [details]
Bug 1858349 - Use non-native menu arrows everywhere. r=#theme,#mac-reviewers

Approved for 119.0b9

Attachment #9357800 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

I have reproduced the issue on Firefox Nightly 120.0a1 (20231011092203) and verified the fix using Firefox Nightly 120.0a1 (20231013093747) and Firefox Beta 119.0b9 (20231013091412) on MacOS 11.6 and MacOS 12.3. I have also verified some menus on Ubuntu and Windows, no issues encountered.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+
Blocks: 1861950
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: