hyprlock icon indicating copy to clipboard operation
hyprlock copied to clipboard

Hyprlock problem when turning on monitor

Open Delta-Glitch05 opened this issue 1 year ago • 3 comments

Regression?

No

Hyprlock Info and Version

Version: 0.4.1-1

Hyprlock config
background {
    monitor =
    path = $HOME/Immagini/Arch-wallpapers/geology.png
}

input-field {
    monitor =
    size = 200, 50
    outline_thickness = 3
    dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
    dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
    dots_center = true
    dots_rounding = -1 # -1 default circle, -2 follow input-field rounding
    outer_color = rgb(151515)
    inner_color = rgb(FFFFFF)
    font_color = rgb(10, 10, 10)
    fade_on_empty = true
    fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered.
    placeholder_text = <i>Input Password...</i> # Text rendered in the input box when it's empty.
    hide_input = false
    rounding = -1 # -1 means complete rounding (circle/oval)
    check_color = rgb(204, 136, 34)
    fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color
    fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i> # can be set to empty
    fail_transition = 300 # transition time in ms between normal outer_color and fail_color
    capslock_color = -1
    numlock_color = -1
    bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above)
    invert_numlock = false # change color if numlock is off
    swap_font_color = false # see below
    position = 0, -20
    halign = center
    valign = center
}

label {
    monitor =
    #clock
    text = cmd[update:1000] echo "$TIME"
    color = rgba(200, 200, 200, 1.0)
    font_size = 55
    font_family = Fira Semibold
    position = -100, 70
    halign = right
    valign = bottom
    shadow_passes = 5
    shadow_size = 10
}

label {
    monitor =
    text = $USER
    color = rgba(200, 200, 200, 1.0)
    font_size = 20
    font_family = Fira Semibold
    position = -100, 160
    halign = right
    valign = bottom
    shadow_passes = 5
    shadow_size = 10
}

image {
    monitor =
    path = $HOME/Immagini/Arch-wallpapers/4k-Arch-Dark-Background.png
    size = 280 # lesser side if not 1:1 ratio
    rounding = -1 # negative values mean circle
    border_size = 4
    border_color = rgb(221, 221, 221)
    rotate = 0 # degrees, counter-clockwise
    reload_time = -1 # seconds between reloading, 0 to reload with SIGUSR2
#    reload_cmd =  # command to get new path. if empty, old path will be used. don't run "follow" commands like tail -F
    position = 0, 200
    halign = center
    valign = center
}

Compositor Info and Version

System/Version info
Hyprland, built from branch  at commit 9a09eac79b85c846e3a865a9078a3f8ff65a9259  (props: bump version to 0.42.0).
Date: Wed Aug 7 19:17:10 2024
Tag: v0.42.0, commits: 5069

flags: (if any)


System Information:
System name: Linux
Node name: arch
Release: 6.10.6-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Mon, 19 Aug 2024 17:02:39 +0000


GPU information: 
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] [10de:2489] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  555.58.02  Tue Jun 25 01: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:
  hyprkool by thrombe ver 0.7.1

Description

I'm on Arch using the Hyprlock screen lock. I have two problems with it: sometimes, when I unlock the screen, only the mouse movement works, and so I have to force shutdown because even the keyboard shortcuts don't work. It happened a couple of times, maybe when I start moving the mouse as soon as Hyprlock fades out instead of waiting 2/3 seconds, but I'm not sure. The main problem is that, when I activate Hyprlock and I turn off the monitor, as soon as I turn it back on I see a full red screen, with only the mouse visible. I tried to add allow_session_lock_restore = true to misc in hyprland.conf, but it didn't solve it.

How to reproduce

Just install Hyprlock, activate it and turn off the monitor. Turn it on and the RSOD appears.

Crash reports, logs, images, videos

No response

Delta-Glitch05 avatar Aug 24 '24 08:08 Delta-Glitch05

I imagine is the same problem: Used to be rare, but recently hyprlock is semi-freezing my workspaces after I type my password and press enter. The windows lose interactivity that can only be recovered by going to a TTY (ctrl+alt+f4) and back to the session (ctrl+alt+f2). Some things work, like the hover over waybar workspaces list, tooltips (some times), but can't click anything.

I'm on a RTX 2060 mobile with drivers 560.35.03 set to discreet GPU mode.

msmafra avatar Aug 25 '24 15:08 msmafra

It seems that also, pontetially, can expose your password. Like it looks it did with mine with the Discord window that was open alone in a workspace.

msmafra avatar Aug 25 '24 15:08 msmafra

sometimes, when I unlock the screen, only the mouse movement works, and so I have to force shutdown because even the keyboard shortcuts don't work. It happened a couple of times, maybe when I start moving the mouse as soon as Hyprlock fades out instead of waiting 2/3 seconds, but I'm not sure.

Dupe of #459

The main problem is that, when I activate Hyprlock and I turn off the monitor, as soon as I turn it back on I see a full red screen, with only the mouse visible. I tried to add allow_session_lock_restore = true to misc in hyprland.conf, but it didn't solve it.

Dupe of #434

PointerDilemma avatar Aug 26 '24 16:08 PointerDilemma