laravel icon indicating copy to clipboard operation
laravel copied to clipboard

`MenuBar::onlyShowContextMenu()` flickers on left mouse click

Open marcreichel opened this issue 2 years ago • 2 comments

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

  1. Create a MenuBar application with the ->onlyShowContextMenu() option.
  2. Run the app with php artisan serve.
  3. 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

marcreichel avatar Jul 30 '23 12:07 marcreichel

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

simonhamp avatar Aug 03 '23 17:08 simonhamp

I suspect this is a bug with the menubar package we're using. I still need to do more digging

simonhamp avatar May 02 '24 12:05 simonhamp