Skip to content

SlimHUD shrinks when the hide animation is interrupted ("side grow" style) #135

@towerofnix

Description

@towerofnix

Before opening the issue, have you...?

  • Searched for existing issues
  • Updated SlimHUD to the latest version (if applicable)

Describe the bug

SlimHUD doesn't handle its "hide" animation being interrupted cleanly. There's some weird flickering to do with animation state, and at least in the case of "side grow" style, it ends up shrunk down for some reason. This issue doesn't resolve itself even after SlimHUD has fully hidden and been re-shown (the only way to fix it is to fully quit and reopen SlimHUD).

Steps to reproduce

Change the volume/brightness to show SlimHUD. Then wait for the bar to start hiding. While it's in the progress of hiding, interrupt it by changing the volume/brightness again.

I haven't tested other animations so the broken scaling might only be an issue with "side grow", but there may be similar bugs in other style show/hide animations.

Expected behavior

Animation state is handled smoothly, either by reversing course while the hide animation is part through, or just resetting to progress-zero on the show state.

I haven't checked how animation state is handled by SlimHUD but I'm guessing this is just an issue with not cancelling the hide animation when the show animation is started!

Anything else?

slimhudbug.mp4

Environment Information (please complete the following information)

- macOS version: 13.4 Ventura beta 1 (this is an issue on 13.3 as well)
- Mac model: Mac Mini M1
- Monitor(s): M28U
- Apple Silicon/M1 (yes or no): yeppers

Metadata

Metadata

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions