hyprlock not taking focus when waking up from suspend
Regression?
No
Hyprlock Info and Version
v0.4.1-1 (AUR)
Hyprlock config
$text_color = rgba(E2E2E2FF)
$entry_background_color = rgba(13131311)
$entry_border_color = rgba(91919155)
$entry_color = rgba(C6C6C6FF)
$font_family = Gabarito
$font_family_clock = Gabarito
$font_material_symbols = Material Symbols Rounded
background {
color = rgba(20202050)
}
input-field {
monitor =
size = 250, 50
dots_size = 0.1
dots_spacing = 0.3
position = 0, 20
halign = center
valign = center
}
label { # Clock
monitor =
text = $TIME
font_size = 65
position = 0, 300
halign = center
valign = center
}
label { # Greeting
monitor =
text = hi $USER
shadow_passes = 1
shadow_boost = 0.5
color = $text_color
font_size = 20
font_family = $font_family
position = 0, 240
halign = center
valign = center
}
label { # lock icon
monitor =
text = lock
shadow_passes = 1
shadow_boost = 0.5
color = $text_color
font_size = 21
font_family = $font_material_symbols
position = 0, 65
halign = center
valign = bottom
}
label { # "locked" text
monitor =
text = locked
shadow_passes = 1
shadow_boost = 0.5
color = $text_color
font_size = 14
font_family = $font_family
position = 0, 50
halign = center
valign = bottom
}
Compositor Info and Version
System/Version info
Hyprland, built from branch at commit 4520b30d498daca8079365bdb909a8dea38e8d55 (version: bump to 0.44.1).
Date: Wed Oct 9 12:54:39 2024
Tag: v0.44.1, commits: 5309
built against aquamarine 0.4.2
flags: (if any)
System Information:
System name: Linux
Node name: puspusita
Release: 6.11.4-zen2-1-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Sun, 20 Oct 2024 18:20:07 +0000
GPU information:
2b:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti] [10de:2486] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module 560.35.03 Fri Aug 16 21:39:15 UTC 2024
os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
plugins:
Description
when waking up from suspend into hyprlock, the previously focused application is still usable and isn't locked by hyprlock until the mouse is moved.
How to reproduce
- open a terminal and run systemctl suspend
- wake the system back up, while not making sure the mouse isn't moving
- type anything and the output should be directed to the terminal instead of hyplock
Crash reports, logs, images, videos
No response
This exact problem description has been mentioned a view times. This is a Hyprland issue. Tracked in https://github.com/hyprwm/Hyprland/issues/8186
Ok wait I am not 100% sure if it the same issue, since you mentioned that it only affects suspend? Let us know if you also experience it outside of suspend. Also would be helpful if you could try latest hyprland,aquamarine and hyprlock.
Ups, unrelated to the pr. @tms-meister let me know if this is still an issue.
I've got the same issue. When I wake up from suspend and try to type right away, the input is not picking up anything. I must first click (basically anywhere) and then i can start typing.
My version of hyprlock is 0.8.2
If anyone has a reliable way of reproducing it, let me know. I did encounter it before, but only sometimes and then I can't reproduce it. Simply suspending and then waking up is not enough to reproduce it, at least here on my machine.
It's possible that a specific Hyprland configuration, or maybe a monitor daemon like kanshi triggers this behavior.