laravel
laravel copied to clipboard
`MenuBar::onlyShowContextMenu()` flickers on left mouse click
What happened?
When creating a MenuBar application with the ->onlyShowContextMenu option, the context menu flickers when clicking the icon initially (focusing away from another app for example).
After that the left click works as expected.
How to reproduce the bug
- Create a
MenuBarapplication with the->onlyShowContextMenu()option. - Run the app with
php artisan serve. - Left-click the menu bar icon.
Package Version
0.2.0
PHP Version
8.1.17
Laravel Version
10.16.1
Node Version
18.16.0
Which operating systems does with happen with?
macOS
Notes
No response
Confirmed, there's definitely something glitchy there. It seems that it tries to focus the app, even when there are no windows. We'll do some digging
I suspect this is a bug with the menubar package we're using. I still need to do more digging