Skip to content
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

outer_color not visible if Numlock is activated #623

Closed
Benderunechte opened this issue Dec 29, 2024 · 1 comment
Closed

outer_color not visible if Numlock is activated #623

Benderunechte opened this issue Dec 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Benderunechte
Copy link

Regression?

Yes

Hyprlock Info and Version

<v0.6.0>

Hyprlock config
# $text_color = rgba(DEE2F4FF)
# $entry_background_color = rgba(0E132011)
# $entry_border_color = rgba(8B90A455)
# $entry_color = rgba(C1C6DBFF)
$text_color = rgba(FFFFFFFF)
$entry_background_color = rgba(33333311)
$entry_border_color = rgba(3B3B3B55)
$entry_color = rgba(FFFFFFFF)
$font_family = Rubik Light
$font_family_clock = Rubik Light
$font_material_symbols = Material Symbols Rounded

background {
    # color = rgba(090E1AFF)
    color = rgba(000000FF)
    # path = 
    # path = screenshot
    # blur_size = 5
    # blur_passes = 4
}
input-field {
    monitor =
    size = 250, 50
    outline_thickness = 2
    dots_size = 0.1
    dots_spacing = 0.3
    fail_color = rgba(FF0000ee)
    outer_color = rgba(00FFFFee)
    inner_color = $entry_background_color
    font_color = $entry_color
    check_color = rgba(FF00FFee)
    fail_text = idiot 
    fail_transition = 300
    fade_on_empty = true
    capslock_color = rgba(FFFF00ee)

    position = 0, 20
    halign = center
    valign = center
}

label { # Clock
    monitor =
    text = $TIME
    shadow_passes = 1
    shadow_boost = 0.5
    color = $text_color
    font_size = 65
    font_family = $font_family_clock

    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, 45
    halign = center
    valign = bottom
}

label { # Status
    monitor =
    text = cmd[update:5000] ${XDG_CONFIG_HOME:-$HOME/.config}/hypr/hyprlock/status.sh
    shadow_passes = 1
    shadow_boost = 0.5
    color = $text_color
    font_size = 14
    font_family = $font_family

    position = 30, -30
    halign = left
    valign = top
}

Compositor Info and Version

System/Version info
Hyprland 0.46.0 built from branch main at commit 2e2e2e2cad97eb017ab02f8a67b751e0abe3bb72  (monitor: bring back old description behavior).
Date: Mon Dec 23 16:17:38 2024
Tag: v0.46.0-29-g2e2e2e2c, commits: 5584
built against:
 aquamarine 0.5.1
 hyprlang 0.6.0
 hyprutils 0.3.0
 hyprcursor 0.1.11
 hyprgraphics 0.1.1


flags set:
debug


System Information:
System name: Linux
Node name: BensLaptop
Release: 6.12.6-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Thu, 19 Dec 2024 21:29:01 +0000


GPU information: 
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) (prog-if 00 [VGA controller])
	DeviceName: VGA


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

If NumLock is activated, the outer_color (here: turquoise) and capslock_color (here: yellow) are not visible.
Instead you only see the fail_color (here: red). If deactivating NumLock the outer_color instantaneously is visible again.
I pressed NumLock a few times to demonstrate the issue in this video:

recording_2024-12-29_15.31.23.mp4

How to reproduce

Use the given config file and activate NumLock.
It doesn't matter if you first lock the screen and then press NumLock or press NumLock and then lock the screen

Crash reports, logs, images, videos

No response

@Benderunechte Benderunechte added the bug Something isn't working label Dec 29, 2024
@PaideiaDilemma
Copy link
Collaborator

See #620 and related pr #621
Numlock previously defaulted to outer_color, because it caused some confusion as well. i recently changed it to default to fail_color, which was stupid, since you cannot have a default for that. Some people expect numlock to be on others don't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants