Closed Bug 1702100 Opened 4 years ago Closed 4 years ago

Inherit NSMenu appearance from NSApp instead of NSWindow

Categories

(Core :: Widget: Cocoa, task, P2)

All
macOS
task

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: mstange, Assigned: mstange)

Details

(Whiteboard: [mac:darkmode][mac:mr1])

Attachments

(1 file)

Starting with Big Sur, NSMenu inherits its appearance from the NSWindow or NSView it is opened for. This means that, after bug 1700371, native context menus on Big Sur accidentally respect the Firefox Light/Dark theme if opened on a browser window. For consistency with other windows, and with macOS 10.14 / 10.15, it would be preferable to have them follow the system appearance instead.

Pushed by mstange@themasta.com: https://hg.mozilla.org/integration/autoland/rev/d8797033c9d4 Inherit NSMenu appearance from NSApp instead of NSWindow. r=spohl,harry
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: