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

Mouse cursor not rendering after hyprlock with hide_cursor = true #494

Open
GG2R10 opened this issue Sep 23, 2024 · 1 comment
Open

Mouse cursor not rendering after hyprlock with hide_cursor = true #494

GG2R10 opened this issue Sep 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@GG2R10
Copy link

GG2R10 commented Sep 23, 2024

Regression?

No

Hyprlock Info and Version

0.4.1-1

Hyprlock config
$baseSizeX = 1395
$baseSizeY = 595
$basePosX = 0
$basePosY = 0

$pfpSize = 512
$circleInputSize = 550

$pfpPosX = 300
$circleInputPosX = 285

$pfpPosY = 0
$circleInputPosY = $pfpPosY

$userFontSize = 25
$userShapeSizeX = 600
$userShapeSizeY = 50
$userPosX = 400
$userShapePosX = 0 
$userPosY = -35
$userShapePosY = -350

$timeSize = 120
$timePosX = 220
$timePosY = 70

$daySize = 25
$dayPosX = 60
$dayPosY = -35

$attemptsFontSize = 25
$attemptsPosX = 227
$attemptsPosY = -35

$inputShapeSizeX = 560
$inputShapeSizeY = 100
$inputShapePosX = 220
$inputShapePosY = -120

$inputSizeX = 550
$inputSizeY = 150
$inputPosX = 220
$inputPosY = -120

$attemptsShapeSizeX = 90
$attemptsShapeSizeY = 60
$attemptsShapePosX = 220
$attemptsShapePosY = -180

general {
    hide_cursor = true
}

background {
    path = screenshot#/home/gegorio/.config/hypr/wallpapers/wallpaper-4.jpg
    blur_passes = 2
    blur_size = 7
    noise = 0
}

shape {
    size = $baseSizeX, $baseSizeY
    rounding = -1

    color = rgba(0, 0, 0, 0.5)

    position = $basePosX, $basePosY
    halign = center
    valign = center
    zindex = 0
}

image {
    path = ~/.config/hyprlock/pfp.jpg
    size = $pfpSize
    rounding = -1
    border_size = 3

    position = $pfpPosX, $pfpPosY
    halign = left
    valign = center
    zindex = 2
}

input-field {  
    font_color = rgb(255, 255, 255)

    size = $circleInputSize, $circleInputSize
    outline-thickness = 0
    dots_size = 0.33
    dots_spacing = 0.15
    dots_center = true
    rounding = -1
    hide_input = true
    fade_on_empty = true
    fade_timeout = 1000

    outer_color = rgba(0, 0, 0, 0.5)
    inner_color = rgba(0, 0, 0, 0)
    
    check_color = rgba(247, 255, 3, 1)

    placeholder_text = 
    fail_text = <span foreground="white">a       FAIL</span>
    fail_color = rgb(217, 33, 20)

    position = $circleInputPosX, $circleInputPosY
    halign = left
    valign = center
    zindex = 1
}

label {
    font_family = Inter
    font_size = $timeSize 

    text = $TIME
    text_align = center

    position = $timePosX, $timePosY
    halign = center
    valign = center
    zindex = 0
}

label {
    font_family = Inter
    font_size = $daySize

    text = cmd[update:1000] echo "$(date +%A | tr '[:lower:]' '[:upper:]')"
    text_align = center

    position = $dayPosX, $dayPosY
    halign = center
    valign = center
    zindex = 0
}

label {
    font_family = Inter
    font_size = $userFontSize

    text = GG0R10
    text_align = center

    position = $userPosX, $userPosY 
    halign = center
    valign = center
    zindex = 0
}

shape {
    monitor =
    size = $inputShapeSizeX, $inputShapeSizeY
    color = rgba(0, 0, 0, 0.5)
    rounding = 50
    border_size = 0
    border_color = rgba(0, 207, 230, 1.0)
    rotate = 0
    xray = false 

    position = $inputShapePosX, $inputShapePosY 
    halign = center
    valign = center 
}

input-field{
    monitor =
    size = $inputSizeX, $inputSizeY 
    font_color = rgb(255, 255, 255)
    color = rgba(0, 0, 0, 0.5)
    rounding = 150
    border_size = 0
    border_color = rgba(0, 207, 230, 1.0)
    rotate = 0

    outline-thickness = 0
    dots_size = 0.3
    dots_spacing = 0.2
    dots_center = true
    rounding = -1
    hide_input = false
    fade_on_empty = false

    outer_color = rgba(0, 0, 0, 0)
    inner_color = rgba(0, 0, 0, 0)
    
    check_color = rgba(0, 0, 0, 0)

    placeholder_text = 
    fail_text = <span foreground="white"></span>
    fail_color = rgba(0, 0, 0, 0)

    position = $inputPosX, $inputPosY 
    halign = center
    valign = center
}

label {
    font_family = Inter
    font_size = $attemptsFontSize

    text = <span foreground="gray">$ATTEMPTS</span>/5 
    text_align = center

    position = $attemptsPosX, $attemptsPosY 
    halign = center
    valign = center
    zindex = 0
}

shape {
    monitor =
    size = $attemptsShapeSizeX, $attemptsShapeSizeY
    rounding = -1
    border_size = 0
    color = rgba(0, 0, 0, 0)
    rotate = 0
    xray = false

    position = $attemptsShapePosX, $attemptsShapePosY 
    halign = center
    valign = center 
    zindex = 0
}

shape {
    monitor =
    size = $userShapeSizeX, $userShapeSizeY
    color = rgba(0, 0, 0, 0.5)
    rounding = -1
    border_size = 0
    border_color = rgba(0, 207, 230, 1.0)
    rotate = 0
    xray = false 

    position = $userShapePosX, $userShapePosY 
    halign = center
    valign = center 
}

label {
    font_family = Inter
    font_size = 25

    text = Locked in, just like the owner...
    text_align = center

    position = 0, -350
    halign = center
    valign = center
}

Compositor Info and Version

System/Version info
Hyprland, built from branch main at commit 9232bc2c00a57b99ac876b43fdfedfa25c2de774  (internal: move to hyprutils' scopeguard).
Date: Fri Sep 20 18:37:17 2024
Tag: v0.43.0-49-g9232bc2c, commits: 5245
built against aquamarine 0.4.1


flags: (if any)


System Information:
System name: Linux
Node name: PCG0R10
Release: 6.10.10-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:21:02 +0000


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


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:
  hy3 by outfoxxed ver 0.1
  hyprbars by Vaxry ver 1.0

Description

After loging in with hyprlock using the hide_cursor variable set to true, the mouse doesn't render till it hits or enters a window boundary.

How to reproduce

use hyprlock with general:hide_cursor = true with mouse position on an empty space in the workspace.

Crash reports, logs, images, videos

2024-09-23.02-30-03.mp4
@GG2R10 GG2R10 added the bug Something isn't working label Sep 23, 2024
@PaideiaDilemma
Copy link
Contributor

Can confirm. Hyprland issue. Will try to fix.

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

2 participants