wine icon indicating copy to clipboard operation
wine copied to clipboard

[Bug]: Using GNOME Shell gestures crashes programs running in Bottle

Open elmagio opened this issue 1 year ago • 14 comments

Describe the bug

It happens no matter which Windows game/program I'm running, whether I'm running them windowed/fullscreen or within a virtual desktop. I can open the GNOME overview or switch workspace if I use keyboard shortcuts, but it will invariably crash if I use the 3-finger gestures baked into GNOME while the windows program is in focus, giving this output:

X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 131 (XInputExtension) Minor opcode of failed request: 28 (X_GetDeviceButtonMapping) Serial number of failed request: 197 Current serial number in output stream: 197 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 131 (XInputExtension) Minor opcode of failed request: 28 (X_GetDeviceButtonMapping) Serial number of failed request: 369 Current serial number in output stream: 369 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 131 (XInputExtension) Minor opcode of failed request: 28 (X_GetDeviceButtonMapping) Serial number of failed request: 2711 Current serial number in output stream: 2711

This is something that I haven't had happen running games on regular Wine, on Lutris or on Steam Proton outside of Bottles. My main Bottle is fairly unmodified from default settings (I've experimented turning a few settings on and off, to no difference), but to make sure I tried it with a fresh Bottle and it crashed the same way, same terminal output.

To Reproduce

  1. Running on GNOME Shell's Wayland session
  2. Launch a .exe from a Bottle
  3. Do a three-finger up swipe to open the overview

Package

Flatpak from Flathub

Distribution

Ubuntu 22.04

Troubleshooting Logs

Version: 2022.7.28-brescia-2
Display:
    X.org: true
    X.org (port): :99.0
    Wayland: true
Graphics:
    vendors:
        intel:
            vendor: intel
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 5.15.0-46-generic
Distro:
    Name: GNOME
    Version: '"42 (Flatpak runtime)"'
Disk:
    Total: 8269156352
    Free: 8269008896
RAM:
    MemTotal: 15.4GiB
    MemAvailable: 10.3GiB
Bottles_envs: null

Display Protocol

Wayland

Display Backend used by Bottles

Wayland

Additional context

No response

elmagio avatar Aug 12 '22 16:08 elmagio