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

movetoworkspacesilent dispatcher stops working randomly after hybrid-sleep #5212

Open
dantefromhell opened this issue Mar 21, 2024 · 5 comments
Labels
bug Something isn't working stale Not much going on

Comments

@dantefromhell
Copy link

Hyprland Version

System/Version info
❯ hyprctl version
Hyprland, built from branch  at commit c5e28ebcfe00a510922779b2c568cfa52a317445  ().
Date: 2024-03-16
Tag:

flags: (if any)

Bug or Regression?

Bug

Description

This is a bit convoluted to describe, the troubleshooting so far happened in hyprland-community/pyprland#64

I'm using pyprland to manage my scratchpads. Generally my config works as expected.
I'm also frequently using systemctl hybrid-sleep to suspend my system when not in use.

Randomly (read not after every suspend cycle) I run into the problem that scratchpads remain rendered on the screen although they were instructed to be hidden. In this state I can see the window but neither mose nor keyboard input is received. My ZSH cursor is rendered as the cursor of a shell without focus.

The only way to reset is to restart my whole desktop environment by logging out and/or restarting the system.

How to reproduce

I can't reproducibly trigger the state, but since I'm suspend my machine multiple times a day the issue is frequently enough happening to be an interruption to my workflow.

Once the behaviour is happening, I can reproduce it by manually dispatching the command that pyprland is using to instruct hyprland to minimize the scratchpad:

hyprctl dispatch movetoworkspacesilent special:XXX,address:$WINDOW_ADDRESS

Which is why @fdev31 and I came to the conclusion that this is a hyprland issue.

Side-note: While not in that state, aboves command hides the scratchpad as expected.

Crash reports, logs, images, videos

With hyprland debug settings set to

debug:disable_logs = false
debug:enable_stdout_logs = true
debug:disable_time = false

the only log output for the movetoworkspacesilent is

[LOG] [12:46:43.539308379] Hyprctl: dispatcher movetoworkspacesilent : special:scratch_kitty,address:0x3094440
@dantefromhell dantefromhell added the bug Something isn't working label Mar 21, 2024
@vaxerski
Copy link
Member

vaxerski commented Mar 21, 2024

image

Only thing that can fail here without a comment is the window part. Maybe the address is wrong? Does it work by class, title?

@dantefromhell
Copy link
Author

The address is correct, copy&pasted from hyprctl clients output.

Does it work by class, title?

I will test once the error happens again and report back.

Is there any way to increase debug logging?

@vaxerski
Copy link
Member

nope, enabling logs will log everything that there is a log for.

@dantefromhell
Copy link
Author

Does it work by class, title?

Finally got around to testing this, no it doesn't work by matching class or title either.

@vaxerski vaxerski added the stale Not much going on label Jun 3, 2024
@f-lira
Copy link

f-lira commented Jan 10, 2025

@dantefromhell I'm still encountering this error. Were you able to resolve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale Not much going on
Projects
None yet
Development

No branches or pull requests

3 participants