FB13544993: Menu bar should not hide when in fullscreen space and a LSUIElement/accessory app is activated
sindresorhus opened this issue · comments
Sindre Sorhus commented
- Date: 2024-01-17
- Resolution: Open
- Area: Menu Bar
- OS: macOS 14.2
- Type: Incorrect/Unexpected Behavior
Description
I have an app with a menu bar item (NSStatusItem), and when the menu bar item is clicked, I show the main app window and activate the app. However, when the user is in a fullscreen space for a different app, and they click the menu bar item for my app, my app activates, but then the menu bar immediately disappears. This is not the desired behavior and I get weekly complaints from users about this. The menu bar should not hide in this case.
Reproduce:
- Run the attached project.
- Enter fullscreen in an app.
- Click the “Click Me” menu bar item.
- Notice how the menu bar disappears.
You can also see this behavior in live apps on the App Store:
- Dato (1470584107)
- Fantastical (975937182)