Bars not always appearing
AlexPerathoner opened this issue · 1 comments
AlexPerathoner commented
Before opening the issue, have you...?
- Searched for existing issues
- Updated SlimHUD to the latest version (if applicable)
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
- Deactivate "continuous check"
- Use some other apps for some time
- Press volume buttons
Expected behavior
Hud should appear (and be updated, if already visible) as soon as the button is pressed
Anything else?
- Check if it's a system limitation
- If so, use only continuous check
- remove
KeyPressObserver
, unnecessary
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
Update: not a system limitation, just wrong capture of media keys. Using MediaKeyTab
fixes that