Skip to content

[Bug] Workspaces widget breaks on Hyprland when accessing special workspace #46

Description

@Computerdores

i3bar-river version: 1.0.1
Hyprland version: 0.49.0

When accessing a special workspace (e.g. by calling hyprctl dispatch workspace special) the workspaces widget on the left of the bar stops updating. In this state the buttons will still work, but the indicator for the current workspace won't change and no new workspaces will show up. This issue will persist until the bar is restarted (even if the special workspace is closed/removed).

Starting the bar while a special workspace exists prevents the workspaces widget from showing up entirely.

Details Hyprland event log when switching to and from a normal workspace: ``` activewindow>>firefox,Home Manager - Option Search — Mozilla Firefox activewindowv2>>1bdce300 workspace>>2 workspacev2>>2,2 activewindow>>kitty,socat -U - UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock activewindowv2>>1bed7e60 workspace>>3 workspacev2>>3,3 ``` Hyprland event log when switching to and from an empty special workspace: ``` createworkspace>>special:special createworkspacev2>>-99,special:special activewindow>>, activewindowv2>> activespecial>>special:special,eDP-1 activespecial>>,eDP-1 activewindow>>kitty,socat -U - UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock activewindowv2>>1bed7e60 destroyworkspace>>special:special destroyworkspacev2>>-99,special:special ```

Hyprland event log when switching to and from a non-empty special workspace:

activewindow>>kitty,~
activewindowv2>>1bedfd80
activespecial>>special:special,eDP-1
activespecial>>,eDP-1
activewindow>>kitty,socat -U - UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock
activewindowv2>>1bed7e60

output of hyprctl workspaces when a special workspace exists:

workspace ID 1 (1) on monitor eDP-1:
	monitorID: 0
	windows: 3
	hasfullscreen: 0
	lastwindow: 0x1bd74290
	lastwindowtitle: /etc/nixos/hosts/laptopA315

workspace ID 2 (2) on monitor eDP-1:
	monitorID: 0
	windows: 1
	hasfullscreen: 0
	lastwindow: 0x1bdce300
	lastwindowtitle: [Bug] Workspaces widget breaks on Hyprland when accessing special workspace · Issue #46 · MaxVerevkin/i3bar-river — Mozilla Firefox

workspace ID 3 (3) on monitor eDP-1:
	monitorID: 0
	windows: 2
	hasfullscreen: 0
	lastwindow: 0x1bed7e60
	lastwindowtitle: hyprctl workspaces

workspace ID -99 (special:special) on monitor eDP-1:
	monitorID: 0
	windows: 1
	hasfullscreen: 0
	lastwindow: 0x1bedfd80
	lastwindowtitle: ~

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