Skip to content

Hyprland shows lockscreen crash screen if locked while monitors disconnected/Shows Desktop if disconnected while locked #678

Open
@Flat

Description

Regression?

No

Hyprlock Info and Version

Hyprlock config
general {
    grace = 30
    ignore_empty_input = true
}

background {
    monitor = 
    color = rgba(66, 66, 66, 1.0)
}

input-field {
    monitor =
    size = 400, 75
    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 = false
    dots_rounding = -1 # -1 default circle, -2 follow input-field rounding
    outer_color = rgb(151515)
    inner_color = rgba(200, 200, 200, 1.0)
    font_color = rgba(10, 10, 10, 1.0)
    fade_on_empty = false
    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 = rgba(204, 136, 34, 1.0)
    fail_color = rgba(204, 34, 34, 1.0) # 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
}

Compositor Info and Version

System/Version info
Hyprland 0.47.0 built from branch main at commit 5e7292434a9189d0550187f8a6fb687848194a41  (compositor: guard null ws in updating fade).
Date: Mon Feb 3 17:36:10 2025
Tag: v0.47.0-44-g5e729243, commits: 5786
built against:
 aquamarine 0.7.2
 hyprlang 0.6.0
 hyprutils 0.5.0
 hyprcursor 0.1.11
 hyprgraphics 0.1.1


no flags were set


System Information:
System name: Linux
Release: 6.13.1-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Sun, 02 Feb 2025 01:02:29 +0000


GPU information: 
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD103 [GeForce RTX 4080 SUPER] [10de:2702] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  570.86.16  Fri Jan 24 21:25:51 UTC 2025


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 Hyprlock is activated while monitors are disconnected, i.e. via Hypridle, Hyprland will show the "oops your locker crashed" screen, I will then have to switch VTT and then switch back for Hyprlock to be displayed.

Additionally, if Hyprlock is active while monitors are disconnected, and then reconnected, one of the monitors will be shown unlocked (desktop is visible, not interactive) while the lockscreen will properly be shown on the other.

How to reproduce

Unplug monitors or use KVM switch, and then activate Hyprlock. Alternatively Active Hyprlock and replug monitors for desktop visibility issue.

Crash reports, logs, images, videos

hypridle.log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions