Skip to content
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

Change the "Window" menu title? #53

Open
sindresorhus opened this issue Jun 8, 2020 · 0 comments
Open

Change the "Window" menu title? #53

sindresorhus opened this issue Jun 8, 2020 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@sindresorhus
Copy link
Owner

sindresorhus commented Jun 8, 2020

When there are multiple tabs, the window menu would look like:

Screenshot 2020-06-08 at 22 19 57

Where General is the preferences window title. However, I feel it's not clear enough to the user that General mean the preferences window. Also, what if the main window has a name that is the same or close to the preferences tab name. That would be confusing.


When there's no tabs, the HIG says that the window title should be the app name and then Preferences, but that can look weird:

Screenshot 2020-06-08 at 22 18 38


The macOS Human Interface Guidelines doesn't say anything about this.

My preference would be to use Preferences — General for the title in the Window menu when there are multiple tabs, and Preferences when there's none.

Xcode uses this convention:
Screenshot 2020-06-08 at 22 22 42


Changing the title of only the "Window" menu items is possible with:

NSApp.changeWindowsItem(window, title: "Preferences — General", filename: false)

Thoughts?

@sindresorhus sindresorhus added the help wanted Extra attention is needed label Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant