Skip to content

Mac: Pre-populate Windows menu to fix missing menu on macOS#13761

Merged
magnesj merged 1 commit intodevfrom
fix-missing-menu-mac
Apr 8, 2026
Merged

Mac: Pre-populate Windows menu to fix missing menu on macOS#13761
magnesj merged 1 commit intodevfrom
fix-missing-menu-mac

Conversation

@magnesj
Copy link
Copy Markdown
Member

@magnesj magnesj commented Mar 17, 2026

On macOS, the native menu bar hides empty menus. The Windows menu was
populated lazily via aboutToShow, but since it was empty at creation
time macOS never rendered it, so the signal could never fire.

Fix by calling slotBuildWindowActions() after createDockPanels() in
both RiuMainWindow and RiuPlotMainWindow constructors.

Closes #8218

On macOS, the native menu bar hides empty menus. The Windows menu was
populated lazily via aboutToShow, but since it was empty at creation
time macOS never rendered it, so the signal could never fire.

Fix by calling slotBuildWindowActions() after createDockPanels() in
both RiuMainWindow and RiuPlotMainWindow constructors.
@atgeirr
Copy link
Copy Markdown
Member

atgeirr commented Apr 8, 2026

Confirmed to work for me, on macOS 26.3.1 (a). Thanks!

Closes #8218

@magnesj magnesj marked this pull request as ready for review April 8, 2026 08:55
@magnesj magnesj changed the title #8218 Mac: Pre-populate Windows menu to fix missing menu on macOS Mac: Pre-populate Windows menu to fix missing menu on macOS Apr 8, 2026
@magnesj magnesj merged commit 125200b into dev Apr 8, 2026
19 checks passed
@magnesj magnesj deleted the fix-missing-menu-mac branch April 8, 2026 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing "Window" menu on mac

2 participants