Is it a bug that the title of the toolbar item isn't displaying? (macOS 27.0 beta)

Is it a bug that when I return toolbarSelectableItemIdentifiers in the NSToolbar delegate, the toolbar title no longer displays and the Liquid Glass effect also appears distorted?

*This code worked fine up to macOS 26.

Answered by Frameworks Engineer in 892330022

Yes, the information you've provided suggests this is a bug in AppKit. Please file a Feedback Report with a test app that reproduces the missing titles which will help us in getting this resolved.

Can you share some more info about how your window is constructed? A screenshot of what you are seeing would be very helpful!

macOS 26.4 /Users/hirai/Desktop/スクリーンショット 2026-06-12 1.25.54.png

macOS 27.0 beta /Users/hirai/Desktop/スクリーンショット 2026-06-12 1.26.08.png

It dose not display toolbar item title. And the Liquid Glass display looks strange.

@interface AppDelegate ()

@property (strong) IBOutlet NSWindow *window;

@end

@implementation AppDelegate

  • (void)applicationDidFinishLaunching:(NSNotification *)aNotification {

    for(NSToolbarItem* toolbarItem in _toolbar.items){ switch (toolbarItem.tag) { case 1:{ _toolbarItemCrystalModelIdentifier = toolbarItem.itemIdentifier; }break; case 2:{ _toolbarItemDiffractometerIdentifier = toolbarItem.itemIdentifier; }break; } } _selectableToolbarItems = @[_toolbarItemCrystalModelIdentifier, _toolbarItemDiffractometerIdentifier]; }

  • (NSArray<NSString*>*)toolbarSelectableItemIdentifiers:(NSToolbar *)toolbar

{ return _selectableToolbarItems; }

@end

Comment out → Display toolbar title. Line : _toolbarItemCrystalModelIdentifier = toolbarItem.itemIdentifier;

Lines : toolbarSelectableItemIdentifiers

macOS 26.4 + Xcode 27.0 beta

macOS 27.0 beta + Xcode 27.0 beta

#import "AppDelegate.h"

@interface AppDelegate ()

@property (strong) IBOutlet NSWindow *window;

@end

@implementation AppDelegate

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
    
    for(NSToolbarItem* toolbarItem in _toolbar.items){
        switch (toolbarItem.tag) {
            case 1:{
                _toolbarItemCrystalModelIdentifier = toolbarItem.itemIdentifier;
            }break;
            case 2:{
                _toolbarItemDiffractometerIdentifier = toolbarItem.itemIdentifier;
            }break;
        }
    }
    _selectableToolbarItems = @[_toolbarItemCrystalModelIdentifier,
                                _toolbarItemDiffractometerIdentifier];
}

- (NSArray<NSString*>*)toolbarSelectableItemIdentifiers:(NSToolbar *)toolbar
{
    return _selectableToolbarItems;
}

@end

Comment out Line 16 or 27〜30→ Display toolbar title

Yes, the information you've provided suggests this is a bug in AppKit. Please file a Feedback Report with a test app that reproduces the missing titles which will help us in getting this resolved.

Thank you for your response.

I’ll provide feedback.

I provided FB23071213.

Is it a bug that the title of the toolbar item isn't displaying? (macOS 27.0 beta)
 
 
Q