Volume and Brightness OSD not visible after return from suspension
Compositor
- [ ] niri
- [X] Hyprland
- [ ] other
Distribution
Standard ArchLinux
dms version
dms dev
Description
After restarting the PC after an hibernation, the volume and brightness OSDs are not visible. The IPC command is correctly received, and, for example, the volume goes up and down but nothing appears. The mic mute and sleep inhibitor OSDs, however, work. The only way to restore functionality is to restart the DMS. Is this happening to anyone else, or is it a problem specific to my machine?
Solutions Tried
dms restart is the only solution
Configuration Details
hyprland standard with only hyprpolkitagent and wl-mpris-idle-inhibit plus dms
I'm not able to reproduce myself, but it seems like some binding is getting broken when the drivers are re-loaded. But, I don't see an obvious difference between mic mute and volume/brightness. I did remove one un-necessary binding, maybe it'll help.
I also have the similar issue. In my case, it is keyboard and wifi icons (grouped in bluetooth widget). The icons are not visible in dark mode. Screenshots of both modes are attached.
Dark mode.
Light mode.
I'm more and more convinced that it is related to hyprland
No. I am in niri.
I've been researching this strange behavior a bit, and I'd say (aside from the problem with wxguy's icons, which probably is a color theme issue) it's strictly related to hyprland. Upon waking from suspend, opening the Control Center displays a standard transparent window, and I confirm the OSD isn't visible because, for example, when you increase the volume, absolutely nothing appears on the overlay layer. It seems that hyprland, for internal reasons, upon waking from suspend, does strange things with the layers (probably recreating them, since they have different IDs), and the shell has to handle an unclear protocol situation.