wlr/taskbar empty after switching monitor inputs on Hyprland
Issue:
With few apps opened on desktop if I switch my monitors input from HDMI-1 to HDMI-2 then back to HDMI-1, all icons in task bar disappears leaving a minimum size widget .
HDMI-1 : PC : Arch hyprland with waybar HDMI-2 : Laptop
Expected:
- All Opened app icons present in taskbar
Actual:
- All opened app icon disappeared from taskbar
Only the newly opened opened app icon present in taskbar.
Specs
- OS: Arch x86_64
- Kernel: 6.6.8-zen1-1-zen
- Display: (LG HDR WQHD): 3440x1440 @ 60Hz [External]
- WM: Hyprland (Wayland)
- FS: Btrfs
- CPU: 13th Gen Intel(R) Core(TM) i5-13500
- GPU: AMD Radeon RX 6700 XT
- Memory: 16GB
- System state: Up to date.
Possibly fixed by PR #3393, now in master branch. Any chance you can try this again?
Might be my issue is different, but I am having something similar. I swap inputs to my monitor using a kvm and everything will be gone when I switch back. Have to kill and restart waybar.
(Arch)Kernels: linux linux-hardened Waybar 0.11.0-3 Hyprland 0.43.0-1 nvidia-dkms
Another bug requires I restart waybar via hyprctl dispatch exec, and no taskbar icons appear when doing so. It seems reproducable whenever I'm using pkill or killall (without -SIGUSR2).