Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bar disappears on second screen after PC sleep #237

Open
Nanito111 opened this issue Jan 7, 2025 · 0 comments
Open

Bar disappears on second screen after PC sleep #237

Nanito111 opened this issue Jan 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Nanito111
Copy link

Nanito111 commented Jan 7, 2025

Describe the bug
When I got my PC in a sleep/suspend state, after wake up, my astal bar (I use astal-lua) disappears from my second screen.

Here is a video (sorry for my dirty screen 😂)

signal-2025-01-07-124821.mp4

To Reproduce

  1. Start astal
  2. Sleep PC (I do it with systemctl suspend, the button in my bar executes astal.exec("systemctl suspend"))
  3. Wake up PC
  4. Check Bar

Expected behavior
Bar disappears from second screen.

Additional context
Astal output after sleep

(lua:16037): Lgi-WARNING **: 12:22:59.359: Error raised while calling 'lgi.cbk (function: 0x59abb6ef9e30): GObject': /usr/share/lua/5.4/astal/variable.lua:129: bad argument #2 to 'emit_dropped' (AstalIO.VariableBase expected, got nil)

(lua:16037): Lgi-WARNING **: 12:22:59.359: Error raised while calling 'lgi.cbk (function: 0x59abb6ea4560): GObject': /usr/share/lua/5.4/astal/variable.lua:129: bad argument #2 to 'emit_dropped' (AstalIO.VariableBase expected, got nil)

Also, after my PC wakes up, the workspace in my second screen changes to a new one, for example, I have 3 workspaces, 1 and 3 in my main screen and 2 in my second, then after waking up, my second screen appears in a 4th workspace for no reason. Maybe this is a hyprland bug ¿?.

@Nanito111 Nanito111 added the bug Something isn't working label Jan 7, 2025
@Nanito111 Nanito111 changed the title Bar disappears on second screen after sleep Bar disappears on second screen after PC sleep Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant