SlimHUD icon indicating copy to clipboard operation
SlimHUD copied to clipboard

SlimHUD sometimes fails to suppress the macOS HUDs

Open Ein-Tim opened this issue 2 years ago • 26 comments

Before opening the issue, have you...?

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

Describe the bug

I'm sometimes seeing two HUDs with SlimHUD installed, on one side the original macOS HUD and then the one from SlimHUD.

Steps to reproduce

Not entirely clear as this doesn't happen always.

Expected behavior

While SlimHUD is running, the macOS HUDs should be suppressed.

Anything else?

No response

Environment Information (please complete the following information)

- macOS version: 13.3
- Mac model: MacBook Air
- Monitor(s): internal
- Apple Silicon/M1 (yes or no): yes

Ein-Tim avatar Mar 30 '23 20:03 Ein-Tim

Here's a screenshot: Bildschirmfoto 2023-03-30 um 22 23 33

Ein-Tim avatar Mar 30 '23 20:03 Ein-Tim

Does this happen immediately after startup? To solve it should be enough to restart the app, I'll investigate in the meantime

AlexPerathoner avatar Mar 30 '23 21:03 AlexPerathoner

@AlexPerathoner Yes, restarting is a temporary workaround, but I noticed that the time frame between App restart and both HUDs being shown decreased with every app restart. So a real fix for this would be great, thanks!

Ein-Tim avatar Mar 31 '23 05:03 Ein-Tim

Oh it happens after the app has started and the huds had been hidden already?

AlexPerathoner avatar Mar 31 '23 10:03 AlexPerathoner

@AlexPerathoner

Yes, the system HUDs just randomly come back up after some time and I can only workaround this by restarting SlimHUD.

Ein-Tim avatar Mar 31 '23 13:03 Ein-Tim

Are they reappearing randomly? I've noticed it only happens after I wake my laptop from sleep.

nkean avatar Mar 31 '23 15:03 nkean

@nkean that would at least make sense. macOS's launchd could be noticing that OSDUIHelper has stopped responding, and restarted it. However, with newer releases of macOS, notifications warning about launch-at-login processes appear at random time too... If either of those is the case, it could be necessary to constantly check if OSDUI is running...

AlexPerathoner avatar Apr 01 '23 01:04 AlexPerathoner

@nkean I tried to reproduce the bug by closing my MacBook and awaking it from sleep ca. 8 hours later, but at the moment SlimHUD still works correctly and the macOS HUDs are correctly suppressed.

I will continue trying to find a pattern here.

Ein-Tim avatar Apr 01 '23 08:04 Ein-Tim

Also seeing this issue but at least in my case it seems like sleep isn't even a factor (at least not the main one). After a while of prolonged laptop use I'll just sometimes notice it starting out of nowhere next time I adjust the volume.

carsuki avatar Apr 03 '23 02:04 carsuki

I'm having the same issue, M1 MacBook Pro on Ventura. It only ever works on restart for a few uses before falling back to showing slimhud and the default hud simultaneously.

chrisfrantz avatar Apr 16 '23 19:04 chrisfrantz

Same issue here on M1 Air Monterey. Even restarting the app or restarting my Mac doesn't resolve it.

dhru7en avatar May 10 '23 11:05 dhru7en

I still have this issue, I am on the latest macOS 14 beta. and I had this in ventura too

FormalSnake avatar Jun 08 '23 08:06 FormalSnake

I am having this issue too, and while troubleshooting I quit the app from the dock. But then when I went into Activity monitor, it still showed up as running. Quitting it there and restarting the app seemed to fix it and hide the default mac HUD, but it does come back sometimes, so I just force quit SlimHUD again. Not sure if that helps anyone, but thought I'd throw in my 2 cents while I was here.

RubikOwl avatar Jun 16 '23 01:06 RubikOwl

having the same issue here, on the latest version of big sur

loyalOrange503 avatar Jun 30 '23 19:06 loyalOrange503

As a quick tip, turning on "Continuous check" does seem to make it take longer to break. Hope that helps, at least in making it less annoying till a fix is found.

RubikOwl avatar Jul 01 '23 00:07 RubikOwl

Continuous check breaks it completely for me.

FormalSnake avatar Jul 01 '23 08:07 FormalSnake

As a quick tip, turning on "Continuous check" does seem to make it take longer to break. Hope that helps, at least in making it less annoying till a fix is found.

This has helped to an extend, thanks!

I would like to add, I was just watching a video in quicktime player, once the video finished the MacOS volume indicator showed up without me touching any of the volume buttons. it disappeared less then a second later, however, after this the MacOS HUD was no longer suppressed, so it might have to do something with switching applications, or starting or finishing playing audio.

loyalOrange503 avatar Jul 04 '23 10:07 loyalOrange503

same issue, ventura 13.4.1 and m1 max

alucardontop avatar Jul 06 '23 19:07 alucardontop

I also have the same issue with MacOS HUD appearing again after some time. It does seem a bit random how long it takes to start showing the MacOS HUD again.

I created a workaround using Shortcuts to quit and reopen SlimHUD, and assigned a keyboard shortcut, so I can quickly restart SlimHUD. Sometimes SlimHUD doesn't reopen and I need to press the shortcut again. Not ideal, but it works.

doxadeo avatar Aug 10 '23 13:08 doxadeo

Sometimes it suppresses but it doesn't show anything

FormalSnake avatar Aug 11 '23 08:08 FormalSnake

Same issue, M1 MBP w/Touch Bar and on sonoma public beta

omarsonmarz avatar Sep 22 '23 14:09 omarsonmarz

still a problem indeed

FormalSnake avatar Sep 22 '23 16:09 FormalSnake

TIP: So earlier in this tread I said that turning on "Continuous Check" seems to help the issue. In my usage since then, I've found that it actually works in EITHER mode, but only for a while. Eventually you need to toggle it on or off and that seems to kick it enough to fix it for another while. Restarting SlimHUD by force quitting it does still seem to also temporarily fix it, toggling continuous check should be done if restarting the app doesn't seem to be working.

RubikOwl avatar Oct 23 '23 01:10 RubikOwl

I was running into this issue every time my Mac woke from sleep. I installed sleepwatcher and added this to ~/.wakeup:

#!/usr/bin/env bash

killall SlimHUD;
open -a SlimHUD;

Works like a charm now. Follow the homebrew installation instructions and make the sleepwatcher scripts executable:

chmod a+x ~/.sleep
chmod a+x ~/.wakeup

tommy-mitchell avatar Jan 26 '24 06:01 tommy-mitchell