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

pointer-constraints: cursor position issue #5774

Closed
bubba-champion opened this issue Apr 27, 2024 · 10 comments · Fixed by #5895
Closed

pointer-constraints: cursor position issue #5774

bubba-champion opened this issue Apr 27, 2024 · 10 comments · Fixed by #5895
Labels
bug Something isn't working

Comments

@bubba-champion
Copy link

Hyprland Version

System/Version info
Hyprland, built from branch makepkg at commit e400a288d0f8ef75672cb201203b857b65b782bb  (pointer-constraints: remove emoji to fix clang).
Date: Sat Apr 27 15:27:24 2024
Tag: v0.39.1-88-ge400a288, commits: 4548

flags: (if any)


System Information:
System name: Linux
Node name: localhost
Release: 6.8.7-zen1-2-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Fri, 19 Apr 2024 09:51:33 +0000


GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400/6500 XT/6500M] [1002:743f] (rev c7) (prog-if 00 [VGA controller])
08:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c8) (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:

Bug or Regression?

Regression

Description

When interacting with some game elements, the cursor position is reset to the center of the screen. I haven't tried to git bisect, but I suspect this commit is causing this issue.

How to reproduce

Above.

Crash reports, logs, images, videos

https://youtu.be/lyMbEBLJ2mk

@bubba-champion bubba-champion added the bug Something isn't working label Apr 27, 2024
@vaxerski
Copy link
Member

oopsie daisy uwu

@vaxerski
Copy link
Member

patch.txt
try this

@The-Briel-Deal
Copy link
Contributor

God bless the 20 minute oopsie daisy fix time.

@bubba-champion
Copy link
Author

patch.txt try this

Still reproducible.

@wagyourtail
Copy link
Contributor

wagyourtail commented Apr 27, 2024

this patch worked for me to prevent hyprland crashing/freezing when games (tested with cs2, minecraft) grabbed my mouse

@vaxerski
Copy link
Member

hm.

@vaxerski
Copy link
Member

patch.txt
maybe this?

@bubba-champion
Copy link
Author

patch.txt maybe this?

Nope, this patch doesn't fix the situation. I want to add that during testing, I noticed that if I go to the in-game section "The Archives" the cursor disappears briefly and then reappears, after that I cannot reproduce the problem until the game is restarted. This behavior persists both without and with these two patches.

@Agent00Ming
Copy link
Contributor

Can someone test the change in #5895 to see if it breaks the previous fix

@Agent00Ming
Copy link
Contributor

this patch worked for me to prevent hyprland crashing/freezing when games (tested with cs2, minecraft) grabbed my mouse

@wagyourtail can you test if #5895 breaks it again? I've never been able to reproduce the original crashes.

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

Successfully merging a pull request may close this issue.

5 participants