AlexPerathoner / SlimHUD

Replacement for MacOS' volume, brightness and keyboard backlight HUDs.
https://alexperathoner.github.io/SlimHUD
GNU General Public License v3.0
394 stars 9 forks source link

Bars not always appearing #86

Closed AlexPerathoner closed 1 year ago

AlexPerathoner commented 1 year ago

Before opening the issue, have you...?

Describe the bug

I suspect that SlimHUD, due to having an .accessory activationPolicy, or for being a mainly background app (perhaps it's a system limitation for any app), doesn't get the key press events as soon as they happen, but a bit later. Sometimes even multiple seconds after they happened.

This means that if "Continuous check" isn't checked, the bars could appear with quite a lot of delay.

Steps to reproduce

  1. Deactivate "continuous check"
  2. Use some other apps for some time
  3. Press volume buttons

Expected behavior

Hud should appear (and be updated, if already visible) as soon as the button is pressed

Anything else?

Environment Information (please complete the following information)

- macOS version: 12.0
- Mac model: MBP 13 2018
- Monitor(s): Dell 27"
- Apple Silicon/M1 (yes or no): no
AlexPerathoner commented 1 year ago

Update: not a system limitation, just wrong capture of media keys. Using MediaKeyTab fixes that