Draft: quartz: Enable window action groups in the menu
On macOS, when the active window changes, copy all window attached action groups to the application to make them available to the application menu.
Fixes #5667
On macOS, when the active window changes, copy all window attached action groups to the application to make them available to the application menu.
Fixes #5667