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

Cursor disappears while focusing minecraft #8602

Open
1 task done
ErenKyojin opened this issue Nov 28, 2024 · 0 comments
Open
1 task done

Cursor disappears while focusing minecraft #8602

ErenKyojin opened this issue Nov 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ErenKyojin
Copy link

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

Yes

System Info and Version

System/Version info
Hyprland 0.45.2 built from branch  at commit 12f9a0d0b93f691d4d9923716557154d74777b0a  ([gha] Nix: update inputs).
Date: Tue Nov 19 21:47:18 2024
Tag: v0.45.2, commits: 5451
built against aquamarine 0.5.0


flags set:
debug


System Information:
System name: Linux
Node name: linux-francesco
Release: 6.11.9-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Sun, 17 Nov 2024 16:06:17 +0000


GPU information: 
0a:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] [1002:73bf] (rev c3) (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:
  borders-plus-plus by Vaxry ver 1.0
  hyprexpo by Vaxry ver 1.0
  hyprtrails by Vaxry ver 1.0
  hy3 by outfoxxed ver 0.1

======Config-Start======


Config File: /home/kyo/.config/hypr/hyprland.conf: Read Succeeded
#
# Please note not all available settings / options are set here.
# For a full list, see the wiki
#
source = ~/.config/hypr/macchiato.conf

# See https://wiki.hyprland.org/Configuring/Monitors/
monitor = DP-1, 1920x1080@144, 1920x0, 1
monitor = DP-2, 1920x1080, 0x0, 1
monitor = HDMI-A-1, 1920x1080,3840x-548, 1, transform, 1


# See https://wiki.hyprland.org/Configuring/Keywords/ for more

# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox

# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf

# Some default env vars.
env = XCURSOR_SIZE,24

# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
    kb_layout = us
    kb_variant = altgr-weur
    kb_model =
    kb_options = 
    kb_rules =

    follow_mouse = 1

    touchpad {
        natural_scroll = no
    }

    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}

general {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    gaps_in = 3
    gaps_out = 5
    border_size = 4
    col.active_border = $mauve $sky 25deg
    col.inactive_border = $base

    layout = hy3
}

decoration {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    rounding = 15
    blur {
        enabled = true
        size = 1
        passes = 3
	     noise = .4
        vibrancy = 1.6
    }

    shadow {
	enabled = true
	range = 4
	render_power = 3
        color = rgba(1a1a1aee)
    }
}

animations {
    enabled = yes

    # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05
    bezier = f_bezier, 0.59, 0.03, 0.17, 0.92
    bezier = back_bezier, 0.36, 0, 0.66, -0.5

    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 80%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 5, back_bezier, slidefade 60%
}

dwindle {
    # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
    pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = yes # you probably want this
}

master {
    # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
}

gestures {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    workspace_swipe = off
}

group {
    col.border_active = $mauve $sapphire 25deg
    col.border_inactive = $base
    groupbar {
        col.active = $overlay2
        col.inactive = $surface2
        text_color = $text
    }
}


# Plugin management
plugin {
    hyprtrails {
        color = $mauve
    }
    hyprexpo {
        column = 3
        gap_size = 5
        bg_col = $crust
        workspace_method = center current
    }
    borders-plus-plus {
        add_borders = 1
        col.border_1 = $surface1
        border_size_1 = 1
        
        natural_rounding = yes
    }
    hy3 {
        no_gaps_when_only = 2

        tabs {
            height = 5
            padding = 5
            rounding = 10
            render_text = false
            col.active = $mauve
            col.inactive = $surface0
        }
    }
}

debug {
    damage_tracking = false
}

binds {
    workspace_back_and_forth = true
}

# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more


# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more

# Workspaces
workspace = special:scratchpad, on-created-empty:[float;size 900 600;move 400 200;stayfocused;dimaround] kitty

# starts programs
autostart {
    
    exec = hyprshade auto
    exec = eww open bar
    exec-once = dbus-update-activation-environment --systemd HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_CURRENT_DESKTOp
    exec-once = hyprpaper
    #exec-once = hypridle
    exec-once = hyprpm reload -n
    exec-once = fcitx5-remote -r
    exec-once = fcitx5 -d --replace
    exec-once = fcitx5-remote -r
    exec-once = dunst
    exec-once = clipse -listen
    exec-once = kdeconnectd
}

# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
$sMod = SUPERSHIFT

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Return, exec, kitty
bind = $sMod, Q, killactive, 
bind = $mainMod, M, exit, 
bind = $mainMod, E, exec, nemo
bind = $mainMod, Space, togglefloating, 
# bind = $mainMod, D, exec, anyrun -c ~/.config/anyrun/
bind = $mainMod, D, exec, wofi --show drun
bind = $mainMod SHIFT, R, exec, swww img --transition-type wave Pictures/wallpapers/makoto.png
bind = $mainMod, R, exec, swww img --transition-type wave Pictures/wallpapers/joker.jpg
bind = $mainMod, F, fullscreen,
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod ALT, E, exec, pkill fcitx5 -9;sleep 1; fcitx -d --replace; sleep 1; fcitx5-remote -r
bind = $mainMod SHIFT, F, exec, fakefullscreen

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
bind = $mainMod, Minus, togglespecialworkspace, scratchpad

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = $mainMod SHIFT, Minus, movetoworkspace, special:scratchpad

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

# Swap windows
bind = $mainMod SHIFT, left, movefocus, l
bind = $mainMod SHIFT, right,movefocus, r
bind = $mainMod SHIFT, up, movefocus, u
bind = $mainMod SHIFT, down, movefocus, d

# CUSTOM
bind = $mainMod SHIFT, E, hyprexpo:expo, toggle
bind = $sMod, V, exec, kitty --class clipse -e clipse

# Windowrules
windowrulev2 = opacity 0.9 0.8, class:kitty
windowrule = pseudo,fcitx
windowrulev2 = float, class:(clipse)
windowrulev2 = size 700 650, class:(clipse)



Config File: /home/kyo/.config/hypr/macchiato.conf: Read Succeeded
$rosewaterAlpha = f4dbd6
$flamingoAlpha  = f0c6c6
$pinkAlpha      = f5bde6
$mauveAlpha     = c6a0f6
$redAlpha       = ed8796
$maroonAlpha    = ee99a0
$peachAlpha     = f5a97f
$yellowAlpha    = eed49f
$greenAlpha     = a6da95
$tealAlpha      = 8bd5ca
$skyAlpha       = 91d7e3
$sapphireAlpha  = 7dc4e4
$blueAlpha      = 8aadf4
$lavenderAlpha  = b7bdf8

$textAlpha      = cad3f5
$subtext1Alpha  = b8c0e0
$subtext0Alpha  = a5adcb

$overlay2Alpha  = 939ab7
$overlay1Alpha  = 8087a2
$overlay0Alpha  = 6e738d

$surface2Alpha  = 5b6078
$surface1Alpha  = 494d64
$surface0Alpha  = 363a4f

$baseAlpha      = 24273a
$mantleAlpha    = 1e2030
$crustAlpha     = 181926

$rosewater = 0xfff5e0dc
$flamingo  = 0xfff2cdcd
$pink      = 0xfff5c2e7
$mauve     = 0xffcba6f7
$red       = 0xfff38ba8
$maroon    = 0xffeba0ac
$peach     = 0xfffab387
$yellow    = 0xfff9e2af
$green     = 0xffa6e3a1
$teal      = 0xff94e2d5
$sky       = 0xff89dceb
$sapphire  = 0xff74c7ec
$blue      = 0xff89b4fa
$lavender  = 0xffb4befe

$text      = 0xffcdd6f4
$subtext1  = 0xffbac2de
$subtext0  = 0xffa6adc8

$overlay2  = 0xff9399b2
$overlay1  = 0xff7f849c
$overlay0  = 0xff6c7086

$surface2  = 0xff585b70
$surface1  = 0xff45475a
$surface0  = 0xff313244

$base      = 0xff1e1e2e
$mantle    = 0xff181825
$crust     = 0xff11111b

======Config-End========

Description

The issue arose after i upgraded from 0.44.1 to 0.45.0, I've tried bisecting but the issue is still there even if I go way further back (I've tried up to 0.42 but I'm sure it was working fine back then). I've also tried to downgrade hyprcursor to 0.1.9-1 with no success.
The issue does not happen with any other DE/WM (tested plasma wayland, gnome wayland, cosmic wayland, i3).
The issue seems to happen with any version of minecraft and any launcher.

According to this reddit post, the issue might be related to hyprcursor, as he claims disabling it fixed the issue, although I had no success with this method.

How to reproduce

  1. open minecraft
  2. hover it with the cursor
  3. the cursor will not be visible

Crash reports, logs, images, videos

No response

@ErenKyojin ErenKyojin added the bug Something isn't working label Nov 28, 2024
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

1 participant