Skip to content

Workspaces with no windows in them are missing #49

@hugeblank

Description

@hugeblank

In the scenario where this screenshot was taken, workspaces 6, 7 and 10 had no windows on them:
image
When clicking on workspaces 8 and 9 I instead get taken to workspace 6 and 7 due to the missing workspaces not appearing. I saw in screenshots that it should work so I'm a bit confused.

❯ swaymsg -t get_tree
#1: root "root"
  #2147483647: output "__i3"
    #2147483646: workspace "__i3_scratch"
  #1553: output "DP-2"
    #1128: workspace "1"
      #1569: con "(null)"
        #1130: con "Mozilla Firefox" (xdg_shell, pid: 1505430, app_id: "firefox")
    #1117: workspace "2"
      #645: con "Untitled-1 - Visual Studio Code" (xwayland, pid: 1586762, instance: "code", class: "Code", X11 window: 0x4A00003)
    #1211: workspace "3"
      #1121: con "Mozilla Firefox" (xdg_shell, pid: 1505430, app_id: "firefox")
    #1450: workspace "4"
      #1161: con "Mozilla Firefox" (xdg_shell, pid: 1505430, app_id: "firefox")
    #1586: workspace "5"
      #1585: con "Home · swaywm/sway Wiki — Mozilla Firefox" (xdg_shell, pid: 1505430, app_id: "firefox")
      #1588: con "swaymsg -t get_tree" (xdg_shell, pid: 147226, app_id: "foot")
    #5: workspace "8"
      #1555: con "Element * | Welcome" (xwayland, pid: 109664, instance: "element", class: "Element", X11 window: 0x1000003)
      #1267: con "#general | SwitchCraft - Discord" (xwayland, pid: 2747194, instance: "discord", class: "discord", X11 window: 0x1A0000A)
    #10: workspace "9"
      #15: con "(null)"
        #13: con "(null)"
          #967: con "Carla - main.carxp" (xdg_shell, pid: 3821481, app_id: "carla")
          #1218: con "main [modified] — A PipeWire Graph Qt GUI Interface" (xdg_shell, pid: 2486051, app_id: "org.rncbc.qpwgraph")
        #17: con "(null)"
          #1153: con "Spotify" (xwayland, pid: 2084961, instance: "spotify", class: "Spotify", X11 window: 0x2C00003)
          #1430: con "(null)"
            #18: con "foot" (xdg_shell, pid: 2234, app_id: "foot")
            #1432: con "watch -n 60 "sensors | tail -n 28"" (xdg_shell, pid: 2987201, app_id: "foot")
      #22: con "(null)"
        #20: con "(null)"
          #19: con "foot" (xdg_shell, pid: 2285, app_id: "foot")
          #21: con "foot" (xdg_shell, pid: 2341, app_id: "foot")
        #24: con "(null)"
          #23: con "foot" (xdg_shell, pid: 2380, app_id: "foot")
          #25: con "foot" (xdg_shell, pid: 2690, app_id: "foot")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions