Created attachment 166573 [details] Gif of the issue SUMMARY Game Controller setting blocks UI before loading the page. This adds a delay of around 4 seconds, where nothing is updated on the screen. STEPS TO REPRODUCE 1. Open system settings 2. Click on Game Controller sidebar menu OBSERVED RESULT It take around 4 second for the UI to get unblocked. EXPECTED RESULT It should instantly load the Game Controller page (should show loading if its still trying to detect devices). This issue was still present even when a controller is connected. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Linux TUF-BOI 6.7.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 03 Mar 2024 00:30:36 +0000 x86_64 GNU/Linux (available in About System) KDE Plasma Version: 6.0.1 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 ADDITIONAL INFORMATION Tested this on X11, Nvidia Proprietary drivers
https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2095 has a temporary fix that makes the GUI look responsive even though it's taking a couple of seconds to do the SDL_Init. A better solution will be to do all SDL operations in a background thread. I'll look into that next.
Fix pushed to master and 6.0 branch. So will be in 6.0.4. Note this isn't an ideal fix, but fixes the blocking, just delays it until after the gui shows up.