Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

(Linux) Closing popup windows on Wayland (Gnome/Mutter) crashes itch app

A topic by pandaemonian created Oct 29, 2021 Views: 309
Viewing posts 1 to 1
(2 edits)

Hi, as the title states when a popup window (such as Downloads or Preferences) is opened and closed, the itch app crashes. Sometimes on the first open, other times this doesn’t occur, most commonly for me though, this occurs after opening and closing the window twice (or really just multiple times).

This occurs on Fedora 34 and has been tested on multiple devices; this issue doesn’t seem to be distribution specific. I’ve tested this bug on both x11 and Wayland on Gnome/Mutter and it seems to be specific to Wayland for me. I have not tested this on a different Wayland DE or WM.

(Hopefully) To reproduce with the Downloads popup window:

  1. Start a Gnome/Mutter session running Wayland
  2. Start the itch app.
  3. Click the downloads button to open the downloads window.
  4. Close the window and repeat step 3 and 4 until the application crashes.

Output logs at crash:

TypeError: Cannot read property 'native' of undefined
    at BrowserWindow.<anonymous> (/home/USER/.itch/app-25.5.1/resources/app/dist/main/main.bundle.js:6854:48)
    at BrowserWindow.emit (events.js:310:20)

itch app info:

  • itch @ 25.5.1
  • butler @ 15.21.0
  • itch-setup @ 1.26.0

System info:

  • OS: Fedora 34 (Workstation Edition)
  • Kernel: 5.14.13-200.fc34.x86_64
  • DE: GNOME 40.4
  • WM: Mutter
  • CPU: AMD Ryzen 7 5800X
  • GPU: AMD ATI Radeon RX 6700 XT
  • Memory: 32016MiB