mapeditor / tiled

Flexible level editor
https://www.mapeditor.org/
Other
11.05k stars 1.75k forks source link

Tiled Crashes when switching from importing Collection of Images Tileset type to Based on Image type #4060

Open mosesintech opened 1 day ago

mosesintech commented 1 day ago

Describe the bug Tiled Crashes when switching from importing "Collection of Images" Tileset type to "Based on Image" type.

To Reproduce Steps to reproduce the behavior:

  1. Click on New Tileset
  2. Set type to "Collection of Images".
  3. Set type back to "Based on Image".
  4. Crash.

Expected behavior I expect it should not crash and I should be able to import a single image tileset.

Specifications:

bjorn commented 1 day ago

I assume you installed the snap and are running Wayland?

This likely has to do with using a very old Qt version in combination with running Wayland. If you're using Wayland, could you confirm whether the crash goes away when switching to X11?

Also, could you try whether the snap built at https://github.com/mapeditor/tiled/actions/runs/10944278650 does work on Wayland? To install it, extract the zip file and run snap install --dangerous <filename>. That snap is built against Ubuntu 24.04 instead of 22.04 (shipping with Qt 5.15.13 instead of 5.15.3).