Bug 513567

Summary: Implement "hide when not relevant"
Product: [Applications] systemsettings Reporter: Jin Liu <ad.liu.jin>
Component: kcm_joystickAssignee: yorisoft <yelsinsepulveda>
Status: RESOLVED FIXED    
Severity: wishlist CC: duha.bugs, josh, jpwhiting, nate, yelsinsepulveda
Priority: NOR    
Version First Reported In: 6.5.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.7.0
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 464341    

Description Jin Liu 2025-12-19 07:05:29 UTC
SUMMARY
This KCM should hide when not relevant, just like Drawing Tablet KCM.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.18.1-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics
Memory: 16 GiB of RAM (15.0 GiB usable)
Graphics Processor: AMD Radeon Graphics
Comment 1 yorisoft 2026-01-10 12:21:46 UTC
There's currently an MR in review for this:   
https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3436#note_1383655

I'll be testing changes.
Comment 2 Nate Graham 2026-01-13 20:17:11 UTC
Git commit 6fbf10018fd76c8d22425f91159add11d670eb23 by Nate Graham, on behalf of Alexander Wilms.
Committed on 13/01/2026 at 18:32.
Pushed by ngraham into branch 'master'.

kcm/gamecontroller: Hide when no game controllers are connected

Uses KCModuleData to check for connected game controllers and hide
the KCM when none are present, preventing clutter in System Settings
for users without gaming hardware.

M  +1    -0    kcms/gamecontroller/CMakeLists.txt
A  +25   -0    kcms/gamecontroller/gamecontrollermoduledata.cpp     [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]
A  +24   -0    kcms/gamecontroller/gamecontrollermoduledata.h     [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]
M  +2    -1    kcms/gamecontroller/kcm.cpp
M  +1    -0    kcms/gamecontroller/kcm_gamecontroller.json

https://invent.kde.org/plasma/plasma-desktop/-/commit/6fbf10018fd76c8d22425f91159add11d670eb23