hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
21.58k stars 902 forks source link

Arbitrary cursor movement while the cursor is locked #7388

Closed bubba-champion closed 2 months ago

bubba-champion commented 2 months ago

Regression?

No

System Info and Version

System/Version info ```sh Hyprland, built from branch main at commit 1006663b6eaa55149e9a21aa8a34e41c85eb08ca dirty (shm: align size to stride (7383)). Date: Sun Aug 18 11:23:27 2024 Tag: v0.42.0-34-g1006663b, commits: 5103 flags: (if any) System Information: System name: Linux Node name: localhost Release: 6.6.46-1-lts Version: #1 SMP PREEMPT_DYNAMIC Wed, 14 Aug 2024 15:21:14 +0000 GPU information: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 33 [Radeon RX 7600/7600 XT/7600M XT/7600S/7700S / PRO W7600] [1002:7480] (rev cf) (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: ```

Description

https://github.com/hyprwm/Hyprland/issues/3672#issuecomment-2180581046

How to reproduce

A good way to reproduce this problem is SCP:SL, which is distributed for free on Steam and does not take up much space. In my case, it is enough to exit the cursor lock by opening the admin panel or the game menu, and then return to the game and click any button on the mouse without moving the cursor, after which the cursor will move in a random direction. My config without binds:

hyprland.conf ```sh animations:enabled = 0 cursor:no_warps = 1 cursor:sync_gsettings_theme = 0 decoration:blur:enabled = 0 decoration:drop_shadow = 0 exec-once = hyprpaper exec-once = waybar general:border_size = 2 general:col.active_border = rgb(4b0082) general:col.inactive_border = rgb(000000) general:no_border_on_floating = 1 input:force_no_accel = 1 input:kb_layout = us, ru input:kb_options = grp:alt_shift_toggle misc:disable_autoreload = 1 misc:disable_splash_rendering = 1 misc:force_default_wallpaper = 0 misc:middle_click_paste = 0 monitor = DP-1, 1920x1080@144, 0x0, 1 windowrulev2 = suppressevent maximize, class:.* ```

Crash reports, logs, images, videos

No response

Agent00Ming commented 2 months ago

sounds like #6418

bubba-champion commented 2 months ago

sounds like #6418

That's right, I missed this issue during the search.