nwg-piotr / nwg-dock-hyprland

GTK3-based dock for Hyprland
MIT License
195 stars 15 forks source link

Dock not properly updating when new applications start #60

Open kawa-sanmyaku opened 1 month ago

kawa-sanmyaku commented 1 month ago

OS: Arch Linux Kernel: Linux 6.10.10-arch1-1 WM: hyprland 0.43.0-1 Package ver.: nwg-dock-hyprland 0.3.0-1

When a new application is opened, the dock will not update to show its respective icon unless:

To reproduce, simply open any application in an empty workspace and notice that its icon will not appear unless the above conditions are met.

Example:

https://github.com/user-attachments/assets/38e48c6e-5443-4d8d-bb06-6f3781b7a458

nwg-piotr commented 1 month ago

I think it has something to do with the current Hyprland version. Also happens occasionally in the nwg-panel HyprlandTaskbar module, especially on NVidia, though nothing was changed in the code.

nwg-piotr commented 2 weeks ago

Well, I've just checked again, and it doesn't happen on my end. The nwg-panel issue I mentioned above was caused by characters illegal in utf-8 returned by hyprctl, and has already been fixed there. Possibly the same may happen to the dock in some circumstances? I seem to have no way to reproduce the environment at home, as illegal chars would show up when I launched Scribus on my machine at work. NVidia? It never happened to me at home (AMD).

kawa-sanmyaku commented 2 weeks ago

Yes, NVIDIA :(

nwg-piotr commented 2 weeks ago

I would try to debug it at the office. Unfortunately, my GoLand license won't allow me to install it there :/