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

Dismissing pop-up unreliable when clicking _above_ the icon in the menu bar #1158

Open
miallo opened this issue Jan 28, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@miallo
Copy link

miallo commented Jan 28, 2024

Describe the bug
When clicking on the icon in the menu bar I expect it to toggle the menu and so to close it. That also works reliably when clicking inside of the area that gets highlighted when holding down, but you can also trigger the menu with the cursor at the very top of the screen, but that will be very unreliable and most of the times just flicker for a split second and keep the menu open. (Same for below the active field, but inside of the menu bar)

To Reproduce
Steps to reproduce the behavior:

  1. Clicking above the icon the menu-bar should toggle the menu

Expected behavior
Instead of toggling the menu, it (most of the times) will only open the menu and when trying to close it, it flickers instead. Clicking on the icon area itself works as expected.

Screenshots
https://github.com/AppHouseKitchen/AlDente-Charge-Limiter/assets/6929993/fbb4901e-9573-46e6-b226-01ef2db33527

MacBook (please complete the following information):

  • MacBook model Mac14,9
  • macOS 14.3 (23D56)
  • AlDente Pro
  • AlDente Version 1.24.1
  • List of all enabled/disabled settings in AlDente:
    • Sailing mode
    • Menu Bar Show percentage
    • MagSafe LED Always off
    • PowerFlow Show in popover

Additional context
I could not find a reason why sometimes it seems to work to toggle and then again without moving the mouse it does not...

Maybe related to #984 in that it could be because it uses a custom container (It is only a guess, but with the default components I would expect the behaviour to work out of the box)

@miallo miallo changed the title Dismissing pop-up does not work when clicking outside of the icon box in the menu bar Dismissing pop-up unreliable when clicking _above_ the icon in the menu bar Jan 28, 2024
@MatthiasKerbl
Copy link
Collaborator

Hi @miallo,

Thank you for the detailed bug report and interesting observation which I haven't noticed before. We will look into it and try to improve it with one of the upcoming updates.

Best,
Matthias

@MatthiasKerbl MatthiasKerbl added the bug Something isn't working label Jan 29, 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