swaylock icon indicating copy to clipboard operation
swaylock copied to clipboard

Swaylock blocked and cannot interact with

Open Talleyrand-34 opened this issue 1 year ago • 4 comments

I don't know which info submit so if i do something wrong, please ask me to add.

I use nixos, hyprland and swaylock. When i suspend my laptop by bringing down the screen or have a external monitor connected through hdmi, when i want to input the password swaylock is frozen.

At first I would like a method to come around this problem like opening tty2 and reloading swaylock, or unlocking from tty2. I couldn find any resources about this.

Thank you very much for your attention

Talleyrand-34 avatar Feb 12 '24 23:02 Talleyrand-34

I have the same issue

TurtleMeds avatar Mar 07 '24 20:03 TurtleMeds

Similar to #124 and #217 the common link for them was Swayidle. Also plenty of similar issues on the Hyprland repo: https://github.com/hyprwm/Hyprland/issues/3581

I'm also having the same problem on NixOS, hyprland, and swayidle. I'm going to research more on my side and share anything that could be helpful.


~~Edit 1: I'm adding the following to NixOS config to see if that works because of https://github.com/jirutka/swaylock-effects/issues/54#issuecomment-1869806904~~

Edit 2: That didn't work, it fixed a different problem now baked into the Nix package where swaylock wouldn't recognize a valid password.

Edit 3: I'm switching over to hypridle and hyprlock. But from https://github.com/swaywm/swaylock/issues/124#issuecomment-576394684 they say using the git version of swaylock fixes the issue.

Cody-W-Tucker avatar Mar 08 '24 21:03 Cody-W-Tucker

Same for me when using swaylock-effects with Hyprland on NixOS. There's an emergency recovery method for resetting swaylock that seems to work for me, see my comment here: https://github.com/hyprwm/Hyprland/issues/3581#issuecomment-1987363139

M4he avatar Mar 10 '24 21:03 M4he

the common link for them was Swayidle

I'm having this same problem using hypridle.

justDeeevin avatar Mar 31 '24 00:03 justDeeevin

same issue i experinaced today.. 2024-6-23

idk i pressed power button and it seems to work again

sachinchaudhary1808 avatar Jun 23 '24 11:06 sachinchaudhary1808

Same for me when using swaylock-effects with Hyprland.

This is not swaylock-effects.


I have good reason to believe that these are all Hyprland focus bugs, especially as the linked issue says it also happens with Hyprlock. Refocus logic can be a bit tricky to get right at times, so I'm not too surprised - just not swaylock's fault so closing.

Can be reopened if discovered on sway or if the issues on the Hyprland tracker is fixed and swaylock still doesn't work afterwards.

kennylevinsen avatar Jun 24 '24 23:06 kennylevinsen