hyprwm / Hyprland

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

Right Clicking in Final Fantasy XIV causes Camera to spin 90 Degrees Clockwise. #6257

Open vhalragnarok-ffxiv opened 1 month ago

vhalragnarok-ffxiv commented 1 month ago

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit dirty (). Date: Tag: , commits: flags: (if any) System Information: System name: Linux Node name: vhal-pc Release: 6.9.1-1-default Version: #1 SMP PREEMPT_DYNAMIC Fri May 17 11:59:46 UTC 2024 (0c0b0b5) GPU information: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] [1002:744c] (rev c8) (prog-if 00 [VGA controller]) 59:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c9) (prog-if 00 [VGA controller]) os-release: NAME="openSUSE Tumbleweed" # VERSION="20240523" ID="opensuse-tumbleweed" ID_LIKE="opensuse suse" VERSION_ID="20240523" PRETTY_NAME="openSUSE Tumbleweed" ANSI_COLOR="0;32" # CPE 2.3 format, boo#1217921 CPE_NAME="cpe:2.3:o:opensuse:tumbleweed:20240523:*:*:*:*:*:*:*" #CPE 2.2 format #CPE_NAME="cpe:/o:opensuse:tumbleweed:20240523" BUG_REPORT_URL="https://bugzilla.opensuse.org" SUPPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org" DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed" LOGO="distributor-logo-Tumbleweed" plugins: ```

Bug or Regression?

Bug

Description

When right clicking in Final Fantasy XIV the camera spins 90 degrees clockwise. This behavior does not occur in Sway nor KDE Plamsa.

How to reproduce

To reproduce right click with no menus open in Final Fantasy XIV (using XIVLauncher).

Crash reports, logs, images, videos

https://www.youtube.com/watch?v=y7hir1l6gFA KDE Plasma (Not Bugged, Expected Behaviour)

https://www.youtube.com/watch?v=c_BUB2oj6CY Sway (Not Bugged, Expected Behaviour, not a wl-roots issue)

https://www.youtube.com/watch?v=fDGWsAMfVmE Hyprland (Bugged Behaviour)

vhalragnarok-ffxiv commented 1 month ago

Further testing: This happens when Final Fantasy XIV invokes XWayland. Using a WINE Build with partial Wayland Drivers alleviates the issue, so this is isolated to an interaction with XWayland. These drivers are pretty experimental and causes its own crashes in Final Fantasy XIV.

Further Further Testing: This bug does not happen when Software Cursor is checked in Final Fantasy XIV. It happens with Hardware Cursor under XWayland...

vhalragnarok-ffxiv commented 1 month ago

I am not sure when or how Sway fixed this bug but this was the MR that solved it in KDE:

https://invent.kde.org/plasma/kwin/-/merge_requests/5422

I am not sure if that is of any use to you.