Sometimes the file name in the title bar is truncated even though there seems to be enough space available. I understand that the concept is to center the tool bar but it’s inconvenient if I have multiple files open that only differ in the end of the file name. Different versions of the same font, quite simply.
Playing around with the width of the window, it does seem that the layout is allowed to deviate from the centred toolbar – maybe that value just needs to be tweaked so as to guarantee a bit more space for the file name?
This is due to the new “inline title” style that was introduces by Apple as part of the Big Sur redesign. You can switch to the classic title style by running the following in the Macro Panel:
There is also another option that may be relevant: NSToolbarTitleViewRolloverDelay, which is the time it takes (in seconds) for the inline window title to expand on mouse over. By default, it stays truncated for a few seconds before expanding, but setting this option to 0 removes the delay:
If someone knows a successful incorporation of the new title style in a document based app with a rich toolbar, that would be interesting to know about.
Excel has a handful of buttons plus the search box next to the document title. The type size and the size of the controls is much smaller than in Glyphs, though, so truncation happens only if the window is really narrow.
Affinity has an even smaller type size and removes buttons selectively as the window is re-sized. Seems to be specifically programmed. The minimum remaining document title is longer than Glyphs but still not long enough for my taste (as the end of the title is often the most important part).
What made me curious is that there is obviously a mechanism to guarantee a minimum length for the document title (see video). The button bar is allowed to be off-center if the title would get too short otherwise. I was assuming this was auto layout set up by Georg but if that’s all controlled by macOS and the minimum width cannot be controlled by the app then that’s what we have to live with. Sorry about the misunderstanding.
The title is not controlled by the app, so adding auto-layout there probably requires hacks. It might work, but there are other avenues that may also help (rearrange toolbar, split title into title/subtitle, etc …).