Skip to content

Resets to default configuration with workspaces broken when monitor is turned off #1182

@waltmck

Description

@waltmck

Steps to reproduce: turn off your only monitor, wait 30 seconds, then turn it back on. As a result I see the default configuration bar with no workspaces:

Image

Logs:

.hyprpanel-wrap[196840]: No focused monitor available, defaulting to monitor 0
.hyprpanel-wrap[196840]: OSD: No focused monitor available, defaulting to monitor 0
.hyprpanel-wrap[196840]: OSD: No focused monitor available, defaulting to monitor 0
gjs[196840]: application.vala:133: no window with name "bar-0"
gjs[196840]: application.vala:133: no window with name "bar-0"
gjs[196840]: application.vala:133: no window with name "bar-0"
gjs[196840]: application.vala:133: no window with name "bar-0"
gjs[196840]: application.vala:133: no window with name "bar-0"
gjs[196840]: application.vala:133: no window with name "bar-0"
gjs[196840]: application.vala:133: no window with name "bar-0"
gjs[196840]: application.vala:133: no window with name "bar-0"
gjs[196840]: application.vala:133: no window with name "bar-0"
gjs[196840]: application.vala:133: no window with name "bar-0"
gjs[196840]: astal_hyprland_monitor_get_id: assertion 'self != NULL' failed
gjs[196840]: application.vala:133: no window with name "bar-0"
gjs[196840]: application.vala:133: no window with name "bar-0"
gjs[196840]: application.vala:133: no window with name "bar-0"
gjs[196840]: application.vala:133: no window with name "bar-0"
gjs[196840]: application.vala:133: no window with name "bar-0"

Restarting hyprpanel fixes the issue. For reference, this is what my bar normally looks like:

Image

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