"Tab bar" in View menu on macOS Sierra
In 2.1 release and 2.2 nightly 3f4efd8, on macOS 10.12 Sierra (and probably also 10.13 High Sierra), the option "Show/Hide Tab Bar" appears at the top of the View menu. This is a new feature in macOS that allows programs that open documents in separate windows (which is something I'd like in MuseScore, but that's another topic) to combine them into a single tabbed window, but since MuseScore already uses a single tabbed window with its own row of tabs, we should prevent this extra menu command from being added.
From https://developer.apple.com/library/content/releasenotes/AppKit/RN-AppK…
"What should an application which already has support for tabbing do? - The application should explicitly opt-out of automatic window tabbing by calling [NSWindow setAllowsAutomaticWindowTabbing:NO]."
Comments
The relevant Qt bug https://bugreports.qt.io/browse/QTBUG-61707
and discussion https://forum.qt.io/topic/82609/remove-native-mac-menu-items-such-as-sh…
See fix #269212: "Tab bar" in View menu on macOS Sierra.
As per that Qt Bug report, Qt 5.9 is affected to, so our master branch should be affected too, or is it not?
In reply to As per that Qt Bug report,… by Jojo-Schmitz
Yes, the master branch is affected as well. I can submit a pull request for master also, if that would be helpful. But I knew that we were trying to get 2.2 ready for release.
And here is a pull request for the master branch.
Fixed in branch 2.2, commit 9a28061201
fix #269212: "Tab bar" in View menu on macOS Sierra (#3456)
fix #269212: "Tab bar" in View menu on macOS Sierra
Fixed in branch 2.2, commit 9a28061201
fix #269212: "Tab bar" in View menu on macOS Sierra (#3456)
fix #269212: "Tab bar" in View menu on macOS Sierra
Fixed in branch master, commit e1ae0bfee6
fix #269212: "Tab bar" in View menu on macOS Sierra (#3457)
fix #269212: "Tab bar" in View menu on macOS Sierra
Fixed in branch master, commit e1ae0bfee6
fix #269212: "Tab bar" in View menu on macOS Sierra (#3457)
fix #269212: "Tab bar" in View menu on macOS Sierra
Automatically closed -- issue fixed for 2 weeks with no activity.