Closed DivineDominion closed 5 years ago
I have seen it, but I have intentionally ignored it. I personally don't think it makes much sense to repeat the tab title in the window title. It's already clear which tab it's on. I was kinda hoping no one would notice 😝 Also, a lot of Apple's apps and even macOS don't follow the HIG entirely.
But I guess we should do this to follow the HIG...
Update the window's title to reflect the currently visible preference pane. For example, if your preferences window has a General preference pane, the window’s title should be General when that pane is active.
This makes the window title unusably generic in the window list. It will just show "General", which does not make it clear that the window is a preference window...
We also need to take into account this:
If your window doesn’t have multiple preference panes, then its title should be App Name Preferences.
Some observations:
Update the window's title to reflect the currently visible preference pane.
Disable the Minimize and Zoom buttons.
Disable the Minimize and Zoom buttons.
Apply preference changes immediately.
Disable the Minimize and Zoom buttons.
For example, if your preferences window has a General preference pane, the window’s title should be General when that pane is active.
If your window doesn’t have multiple preference panes, then its title should be App Name Preferences.
If your window doesn’t have multiple preference panes, then its title should be App Name Preferences.
If your window doesn’t have multiple preference panes, then its title should be App Name Preferences.
Disable the Minimize and Zoom buttons.
Disable the Minimize and Zoom buttons.
Xcode.app shows the tab as the window title, but then modifies the "Window" menu to show "Preferences - General", admitting that the tab title is not clear enough of a window title.
Apple, as usual, has such a double standard. They expect third-party apps to follow their HIG, but they couldn't care less to follow it themselves.
I have filed a Radar: https://openradar.appspot.com/radar?id=5029274855669760
Wow, good detective work :) I wonder what their response is going to be.
I actually like how Xcode prepends "Preferences - " to the window title list best, just to add my 2¢.
I actually like how Xcode prepends "Preferences - " to the window title list best, just to add my 2¢.
Me too.
I wonder what their response is going to be.
As with 95% of my the radars I submit, probably none...
Should we rename toolbarItemTitle
to preferencePaneTitle
now that we'll use it for both the toolbar item and the window title? Kinda makes sense, since it's not really a "toolbar item" when using the segmented controls.
I didn't find a way to implement the nice addition of Preferences --
to the window list title. I am afraid this is a menu customization. We could offer a drop-in controller/service object that people tie to their window menu and that (1) removes the preference window from the regular window list, and (2) adds it as a custom entry above the regular list.
After all, Xcode's window list does look different from e.g. Finder's:
That's a strong indicator for me that they replaced the system default functionality.
Or we set the window title to "Preferences -- \(preferencePaneTitle)"
and replace the titlebar's label with a custom one that drops the prefix.
Or we set the window title to "Preferences -- (preferencePaneTitle)" and replace the titlebar's label with a custom one that drops the prefix.
That actually makes more sense, as you would want to improved title in the window list and mission control too. But I think we should think about the problem a little bit more before implementing this, and it should obviously be opt-in.
Inspecting Xcode windows, it actually does not use the Preferences --
prefix in the actual window title. Folks in a Slack proposed changes during menu validations.
Found this advice in the HIG today: https://developer.apple.com/design/human-interface-guidelines/macos/app-architecture/preferences/
So maybe after #6 is merged,
PreferencePane.toolbarTitle
to simplytitle
orpreferencePaneTitle
This also makes #12 obsolete.