• EditorBugs
  • Cannot select multiple items in the tree view on Linux

There's no way to select multiple items in the tree view when on a modern Linux distribution. Shift-clicking and control-clicking don't do anything.

This seems to be the same bug as mentioned in this post: https://esotericsoftware.com/forum/d/26784-ctrl--click-to-select-multiple-elements-not-working-on-manjarolinux

In that post, the OP logged in using an X11 session instead of a Wayland session and this solved their problem. I can confirm that logging in with an X11 session, this bug doesn't occur. It only occurs in a Wayland session. However, this bug will affect almost all Linux users, because Wayland is either their distribution's default session, or their distribution is planning on adopting Wayland and deprecating X11.

Using X11 also disables several useful features of my computer, like setting my display scale to 150% or using touchpad gestures. It also runs slower. As a result, it would be a real pain to have to use an X11 session to work in Spine, especially since X11 is being deprecated and might not be safe to continue using.

Steps to reproduce

  1. Open Spine 4.2.40 in Fedora.
  2. Import a PSD into a new project
  3. Click on one slot
  4. Hold down shift and click on another slot

Expected outcome
The range of layers inbetween the first and last slots are all selected

Actual outcome
Only the slot which was last clicked on is selected. See screen recording:

Current workaround
At the login screen, when entering your password, choose "GNOME on XOrg" from the cog menu in the bottom-right menu. This logs in using an X11 session instead of the default Wayland session, but this creates its own problems like no fractional scaling, no touchpad gestures, and reduced computer performance.

I haven't tried to reproduce this bug on Ubuntu, but I suspect it would occur there as well.

    Related Discussions
    ...
    تمّ تغيير العنوان من طرف azuredusk10 إلى Cannot select multiple items in the tree view on Linux.

    Thanks for reporting this. We've opened an issue on our GitHub tracker.

    We'll update it as soon as we have any news on the issue you reported.

    Just wanted to add that I moved to Manjaro with KDE Plasma; in a Wayland session this problem doesn't occur.

      Fabiano

      Thanks for the additional info 👍

      • تم التحرير

      azuredusk10 Could you try going to the folder from which you run Spine's shell script to launch the Spine Editor and first run export __GL_THREADED_OPTIMIZATIONS=0 before running ./Spine.sh? I'm able to select multiple slots like in the screenshot on Pop_OS 24.04 using Wayland.

      {Spine running on Pop_OS 24.04/Wayland}

      {Running the export command}

      {Spine Editor has successfully started}

      • تم التحرير

      Thanks so much for all the replies, I wasn't expecting all of this 🙏 I really appreciate your help

      Could you try going to the folder from which you run Spine's shell script to launch the Spine Editor and first run export __GL_THREADED_OPTIMIZATIONS=0 before running ./Spine.sh? I'm able to select multiple slots like in the screenshot on Pop_OS 24.04 using Wayland.

      I tried this, but unfortunately the problem persists. I tried selecting the same slots in the Spineboy example project with the shift key but still couldn't multi-select. I'm using Fedora Linux 41 on a Framework 13 laptop (Intel 12th gen processor). Here's the command I ran just to make sure I did it right:

      Terminal screenshot

      I'm glad to hear this appears to be unique to Fedora (or my computer) and works on other Linux setups. I added my system information to the Github issue. Is there any more info I can provide to help debug this?

      Is it just shift that doesn't work? Can you use ctrl to multi select? Can you type in text boxes?

        Nate Neither shift nor control + click multi-selects. I can type in text boxes alright, but when I try to select a segment of the text inside the box using shift + click, nothing happens.

          azuredusk10

          Thanks for letting us know.
          This morning, I installed Fedora on an old Windows laptop and was able to reproduce the issue exactly.
          I'll debug it to find the cause and update you when we have news.