Skip to content

Workspaces module does not update workspace order when rearranged #1044

@pgattic

Description

@pgattic

Describe the bug
I am on Niri, when I use keybinds that move workspaces around, the numbers on the workspace indicators correctly update, but their order does not.

To reproduce
Steps to reproduce the behavior:

  1. Launch Ironbar under Niri
  2. Open a program on the first workspace and another one on the second one
  3. Go to the second workspace, move it up by running the command niri msg action move-workspace-up
  4. Observe that the numbers updated, but not the order. Did (1 [2] 3) -> (2 [1] 3) instead of (1 [2] 3) -> ([1] 2 3)

Expected behavior
The order should corrected when workspaces are rearranged. Currently, I can fix it each time by running ironbar reload

System information:

  • Distro: Arch Linux
  • Compositor: Niri
  • Ironbar version: 0.16.1

Configuration

Config
let {} in {
  position = "top"

  start = [
    {
      type = "workspaces"
      all_monitors = false
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    A:UX/UIRelating to user experience or interface.M:WorkspacesRelated to the Workspaces moduleP:LowAesthetic or minor UX issue. Can be ignored or easily worked around.T:BugFunctionality broken or otherwise not working as intended.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions