-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Names not updating on window open/close #95
Comments
Hi, thanks for the report, I will dig more asap 🌞 |
This sounds like a race condition between two apps. Luckily hyprland has added a dedicated "renameworkspace" event today, so presumably if hyprland-workspaces adds it to the list of events it's interested in (https://github.com/FieldofClay/hyprland-workspaces/blob/a5843cc2c3d2e35ce07015e5185a2f694e33291e/src/main.rs#L150), then it would react when hyprland-autoname-workspaces renames a workspace, and you would see result with no delay. Try to add it, and see if it solves the issue! |
I have the same issue, hyprland/workspaces doesn't catch any window name updates. (I was using wlr/workspaces which stopped working, and now on hyprland/workspaces the names don't update). Rename takes effect only every time i restart waybar. |
@psimovec can you update autoname and hyprland (master/main) ? |
I will try.. But now I am thinking is it really hyprland-autoname-workspaces problem? Because when i check |
Oh I see you were already solving it: #98 .. What did you do to make it work again? It's really weird.. I'm on latest hyprland (hyprland-git, checked that it is on last commit).. hyprland autoname workspaces on master, using cargo run.. I am even checking waybar with debug option and it keeps getting events which look fine like
But waybar doesn't actually visually update the workspaces... update unless I restart the waybar.. EDIT: manual install of waybar fixed the issue for me as following comments mention, thanks! |
Could you confirm if your waybar is also built from latest master? The latest release is too old, doesn't contain the necessary fix yet. |
It's still not working for me FYI. I'm on Arch and I'm using the latest versions of waybar, hypr and hyprland-autoname-workspaces. I ensured to install the Is there any fix for this available yet or is one currently being worked on? Thx, EDIT: Ahhh nevermind, I just manually installed waybar from the latest |
Unfortunately for me installing from the latest master does not fix the issue:
Waybar takes the names of the workspaces when it's launched once, but does not update the names "at runtime". I'm unsure if that is a |
Do you also run hyprland from latest master? |
No, I have to use the hyprland-nvidia 0.29.1-1 |
You need to either wait for the next release, or cherry-pick the necessary commit from the master branch: hyprwm/Hyprland@2d100bf |
The hyperland-nvidia-git AUR package worked out for me! Thanks for the help |
Has anyone been able to make it work using NixOS pkgs ? |
Hi, What do you mean? Can you give more detail ? |
@elythh I'm using NixOS (nixos-unstable) and was facing this problem as well. I was able to solve it by using the Waybar package from nixpkgs-wayland. |
Issue doesn't seem exist on my current system anymore:
|
Describe the bug
Workspace names are not properly updated on window open/close events (triggered by standard Hyprland keybinds). Old icons remain, new icons do not appear. The next event (workspace switch, third window opened, window focus switch, etc) eventually updates the names to their true values.
I am not sure if this bug should be filed against hyprland-workspaces instead. Please let me know and I will close ASAP. Thank you!
Program version?
1.1.5
Program configuration dump? (ideally)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Workspace names are updated when a window is opened/closed.
Linux Distro (please complete the following information):
Fedora 38
Additional context
Video clearly illustrating problem: https://files.catbox.moe/pwgsdf.mkv
The text was updated successfully, but these errors were encountered: