Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MenuBar::onlyShowContextMenu() flickers on left mouse click #89

Open
marcreichel opened this issue Jul 30, 2023 · 2 comments
Open

MenuBar::onlyShowContextMenu() flickers on left mouse click #89

marcreichel opened this issue Jul 30, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@marcreichel
Copy link

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 marcreichel added the bug Something isn't working label Jul 30, 2023
@simonhamp
Copy link
Member

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 simonhamp self-assigned this Aug 3, 2023
@simonhamp
Copy link
Member

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

@simonhamp simonhamp changed the title [Bug]: MenuBar onlyShowContextMenu flickers on left mouse click MenuBar::onlyShowContextMenu() flickers on left mouse click May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants