[GH-ISSUE #381] Workspaces not closing/switching properly on Hyprland #2946

Closed
opened 2026-05-22 23:52:52 +01:00 by JakeStanger · 2 comments
Owner

Originally created by @JakeStanger on GitHub (Dec 24, 2023).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/381

Describe the bug
Workspaces no longer seem to be correctly removed, instead duplicating and showing as in focus still. This is known to affect Hyprland, has not been tested on Sway.

To Reproduce
Steps to reproduce the behavior:

  1. Open a workspace.
  2. Close the workspace and switch to another, or move the current workspace to another monitor.
  3. Observe the workspace does not correctly disappear.

Expected behavior
Workspaces should be correctly removed when moved/closed.

System information:

  • Distro: Arch Linux
  • Compositor: Hyprland (git)
  • Ironbar version: 1.14.0-pre (29eeefb)

Configuration

Config
  $workspaces = {
        type = "workspaces"
        all_monitors = false
        name_map = {
            1 = "<U+F066F>"
            2 = "<U+F268>"
            3 = "<U+F120>"
            4 = "<U+F121>"
            5 = "<U+F11B>"
            Games = "<U+F11B>"
            Code = "<U+F121>"
        }
    }

Screenshots
image

Originally created by @JakeStanger on GitHub (Dec 24, 2023). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/381 **Describe the bug** Workspaces no longer seem to be correctly removed, instead duplicating and showing as in focus still. This is known to affect Hyprland, has not been tested on Sway. **To Reproduce** Steps to reproduce the behavior: 1. Open a workspace. 2. Close the workspace and switch to another, or move the current workspace to another monitor. 3. Observe the workspace does not correctly disappear. **Expected behavior** Workspaces should be correctly removed when moved/closed. **System information:** - Distro: Arch Linux - Compositor: Hyprland (git) - Ironbar version: 1.14.0-pre ([29eeefb](https://github.com/JakeStanger/ironbar/commit/29eeefbd24a7741db48889ba951bc7992edcd7ad)) **Configuration** <details><summary>Config</summary> ```corn $workspaces = { type = "workspaces" all_monitors = false name_map = { 1 = "<U+F066F>" 2 = "<U+F268>" 3 = "<U+F120>" 4 = "<U+F121>" 5 = "<U+F11B>" Games = "<U+F11B>" Code = "<U+F121>" } } ``` </details> **Screenshots** ![image](https://github.com/JakeStanger/ironbar/assets/5057870/93e85709-108a-4e65-b702-29a6de426e7e)
Author
Owner

@yavko commented on GitHub (Dec 26, 2023):

Maybe it has to do with fake workspaces that were added with favorite workspaces

<!-- gh-comment-id:1869814948 --> @yavko commented on GitHub (Dec 26, 2023): Maybe it has to do with fake workspaces that were added with favorite workspaces
Author
Owner

@JakeStanger commented on GitHub (Dec 27, 2023):

I don't think so, as I'm not using those options myself. It's also very consistently broken and I've only ran into it recently after some refactors - think I'd definitely have hit it before. There is a chance a Hyprland commit caused it, but haven't investigated that yet.

<!-- gh-comment-id:1869839273 --> @JakeStanger commented on GitHub (Dec 27, 2023): I don't think so, as I'm not using those options myself. It's also very consistently broken and I've only ran into it recently after some refactors - think I'd definitely have hit it before. There is a chance a Hyprland commit caused it, but haven't investigated that yet.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#2946
No description provided.