-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
lockscreen is applied to virtual-terminal that are in background after they are opened #501
Comments
try |
It's still happening. Can you try the reproduce this behaviour on your system. |
Idk on my system i currently cannot get loginctl to work (even though hypridle is running for that session)
But when I use There have been some changes since tagged hyprland and hyprlock in that realm i think, so if you can please try hyprland-git and hyprlock-git. Also please share your hypridle confiig :) |
Not sure, but want to cross check, you have to trigger hyprlock while being on another tty ( not on tty where tty will be locking ), then switch to tty where hyprlock got triggered. For me at this point my desktop will show up for few seconds and after which hyprlock locks the screen. This time frame where desktop content is shown dosen't happen when i test KDE DE. Hypridle configgeneral {
lock_cmd = pidof hyprlock || hyprlock --quiet
unlock_cmd = killall -q -s SIGUSR1 hyprlock
before_sleep_cmd = loginctl lock-session & playerctl pause
ignore_dbus_inhibit = false
}
listener {
timeout = 300
on-timeout = loginctl lock-session
}
listener {
timeout = 600
on-timeout = hyprctl dispatch dpms off
}
listener {
timeout = 1800
on-timeout = systemctl suspend-then-hibernate
}
|
Yeah i got that part... Like i said it does seem to work on my end. I will also try to test it with loginctl. Maybe there is some dbus weirdness going on. |
It works with loginctl as well on my system. Let me know if updating fixes the issue for you. |
@PaideiaDilemma I update to hyprlock-git also added --immediate-render in hypridle.conf. Still not working. There's still delay. By the way, Lets see if someone else can test this. Can you try this, maybe it will work -->
is the lock-screen applied ? or desktop is showing and 1 second later lock screen is applied? i am also having focus problem, where i have to move mouse so that my keyboard input get registered by hyplock. |
What about hyprland? did you also update that to hyprland-git? I think this issue is more likely to be on the compositor side of things.
Those exact steps work just fine on my end. Hyprlock is already present when switching back to tty1 (tty2 in my case)
This was fixed recently! |
Still not fixed with -git packages.
|
aquamarine-git? |
yes i also used aquamarine-git, i forgot to include it. |
not sure if it's related but when the laptop wakes from sleep, a frame of the desktop is also shown for a moment before the lock screen appears |
Uhm I just realized that I can reproduce this on my laptop. I am going to look into it at some point |
This is the solution for that #184 (comment) |
Could this be some laptop powersaving feature? Can we tag vaxerski ? If he had something to say, he would have done so. But i am not sure. |
@KAGEYAM4 I personally think this is basically the same issue as #184. The underlying reason is that the wayland session is inactive and hyprlock has not started yet. It happens on sway+swaylock as well.
It could be. There has to be some reason why it does not affect my desktop, as I use the exact same setup on my laptop. |
Don't know how but in plasma, the locksceen does get applied while the session is not active. I just installed Gnome, so i can test its behaviour too. Edit: So it works on Both KDE and GNOME. |
Hmm but they both don't use |
Regression?
No
Hyprlock Info and Version
0.4.1
Hyprlock config
Compositor Info and Version
System/Version info
Description
Lock screen is applied after switching to the virtual terminal and therefore the contents of desktop show up before getting locked.
How to reproduce
loginctl lock session 1
(i.e lock hyprland session from another terminal)This delay is not in other DE. ( i.e KDE )
Crash reports, logs, images, videos
No response
The text was updated successfully, but these errors were encountered: