"clicking files or folder option: Select them" is not used by most apps

Currently, there is an issue with a lot of apps using “kdeglobals” at /etc/xdf to dictate if clicking means open or select after you do a full, clean, re-install of EndeavourOS with the latest liveusb, even if you switch the option “general behaviour” it will still use “click to open” as the option for anything except dolphin

How to reproduce:

  1. Do a complete fresh install of EndeavourOS into a drive while only having KDE plasma as your DE.
  2. After you boot into plasma go into settings and verify that “clicking files or folders: Selects them” is enabled on “general behavior”
    image
  3. Open any QT program that existed before the newest version of KDE plasma that is not dolphin (In this example I will be using pcsx2)
  4. Once you are on the main menu of pcsx2, click on System then Start File
  5. Navigate to any folders you have, you may notice that is not respecting the “Selects them” behaviour and instead is using “Opens Them”

Workaround/fix:

  1. Go to /etc/xdg
  2. Open “Kdeglobals”
  3. Add the following flag to kdeglobals:

    image
SingleClick=false
  1. Try step 4 and 5 again, you will see that now one click will select the folder instead of opening it!

Here is also a video on how to reproduce it and fix it if the written instruction aren’t clear enough:

I don’t seem to have this file on my system /etc/xdg/kdeglobals.
I could reproduce with pcsx2 installed as an appimage, but not the flatpak since that probably uses portals. I also tested by compiling from source and could not reproduce. Double click is respected.

Could not reproduce with qt creator, vlc, audacious or any other qt app I have on my system. Those are all native packages though. I’m on wayland, so just wanted to throw that out there in case that makes a difference.
Given that I don’t have that file and can’t really reproduce the problem outside of that single application installed as an appimage. I’m not convinced that this is an issue with Plasma. Depending on how you installed the applications you tested this could be an appimage issue. Unless its also an x11 thing which I did not test.

I’m sticking mostly to appimages for this, I haven’t being able to cause the issue on native packages/apps neither flatpaks too, so something is bugging on appimages and only on appimages.

I had been able to test this on x11 and it has the same issue there too. I also tried running PCSX2 natively on wayland by using env I_WANT_A_BROKEN_WAYLAND_UI=YES ./pcsx2-linux.AppImage and the issue occurs there too, so it affects both xwayland and wayland appimages