Summary: | Touchpad gestures crashing Wine applications (Steam Proton included) | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | ryu.ketsueki |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ericedlund2017, kde, nate, tinozzo123, xaver.hugl |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/31b13af3612c305fde40ace9c8654402090136a0 | Version Fixed In: | 5.25.4 |
Description
ryu.ketsueki
2022-06-26 14:28:49 UTC
I forgot to mention which applications crash with the use of touchpad gestures. I noticed this behavior happening with The Sims 4, StarCraft 2 and a non native Steam game called Sonic Chrono Adventure because it wasn't working properly in native Wine so I used Steam Proton. I couldn't test with many others since I don't play many other games very often. I downloaded "FreeStyle 2: Street Basketball" which is a Windows-Only game with steam. It's glitchy and broken but the start menu doesn't appear to notice when I use swipe gestures. I am unable to find StarCraft 2 or Sonic Chrono Adventure on steam. Is there a free steam game I we could both test? (In reply to Eric Edlund from comment #2) > I downloaded "FreeStyle 2: Street Basketball" which is a Windows-Only game > with steam. It's glitchy and broken but the start menu doesn't appear to > notice when I use swipe gestures. I am unable to find StarCraft 2 or Sonic > Chrono Adventure on steam. Is there a free steam game I we could both test? I previously said that Sonic Chrono Adventure is a non-steam game I only used Steam Client's proton to run it. It's free, so you can just look up online for a download link. StarCraft 2 is an Activision Blizzard game so you need Battle.net to install the game but is Free to Play, so you can install it as well. I believe Sims 4 has a Demo you can download to test it I tested The Witcher 3 and it crashes with the same error. Not sure what's going on yet, apps are not supposed to get any of the gesture events that KWin uses itself (In reply to Zamundaaa from comment #4) > I tested The Witcher 3 and it crashes with the same error. Not sure what's > going on yet, apps are not supposed to get any of the gesture events that > KWin uses itself From what I could see, Wine natively doesn't even have a Wayland driver so everything is running on XWayland. It seems to be the case with Proton as well. My guess is that there is some kind of input from Wayland to XWayland that is causing that crash. Is the wine application crashing or Xwayland? Simple test is to open xterm whilst reproducing the issue. Xwayland keeps running, is only the app that crashes A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/2651 Git commit 34344c8dc4f66f43d8f8479d192cede35814a6a7 by Xaver Hugl. Committed on 28/07/2022 at 10:01. Pushed by zamundaaa into branch 'master'. input: don't forward gestures used by KWin to applications If both compositor and applications were to use these gestures at the same time, that would be quite confusing for the user. This also works around a bug in Wine that makes applications crash. M +49 -16 src/input.cpp https://invent.kde.org/plasma/kwin/commit/34344c8dc4f66f43d8f8479d192cede35814a6a7 Git commit 31b13af3612c305fde40ace9c8654402090136a0 by Xaver Hugl. Committed on 28/07/2022 at 12:15. Pushed by zamundaaa into branch 'Plasma/5.25'. input: don't forward gestures used by KWin to applications If both compositor and applications were to use these gestures at the same time, that would be quite confusing for the user. This also works around a bug in Wine that makes applications crash. (cherry picked from commit 34344c8dc4f66f43d8f8479d192cede35814a6a7) M +49 -16 src/input.cpp https://invent.kde.org/plasma/kwin/commit/31b13af3612c305fde40ace9c8654402090136a0 |