-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Add macOS semi-native Window menu #23693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add macOS semi-native Window menu #23693
Conversation
Related to qbittorrent#23418 Use macos nativ Window menu across Objective-C.
Related to qbittorrent#23418
Related to qbittorrent#23418
Co-authored-by: Vladimir Golovnev <[email protected]>
src/gui/mainwindow.ui
Outdated
| <addaction name="menuEdit"/> | ||
| <addaction name="menuView"/> | ||
| <addaction name="menuOptions"/> | ||
| <addaction name="menuWindow"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leftover?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, deleted
Co-authored-by: Vladimir Golovnev <[email protected]>
Co-authored-by: Vladimir Golovnev <[email protected]>
vafada
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works on my Mac.
|
Which version do you have? |
what do you mean? my mac version? Sequoia 15.7.2 |
|
yes-yes |
Closes #23418.
I added Window menu in macOS. It is a semi-native menu item. MacOS fills with some items, but some items we need to add. The menu was add dynamically, because only macOS uses.
I followed the ( Apple Window menu guidline ) and the built-in apps implementations. Like: Safari, Messages, Reminder, Pages, etc...
The following menu items added by manually:
The rest of menu items -which appear in the screenshot- added by macos.

Use the Option key, to change the manual items.

The manually added items have been localized. In the screenshot I changed the system language to Hungarian. Ablak <-> Window.
