Bug 513567 - Implement "hide when not relevant"
Summary: Implement "hide when not relevant"
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_joystick (other bugs)
Version First Reported In: 6.5.4
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: yorisoft
URL:
Keywords:
Depends on:
Blocks: 464341
  Show dependency treegraph
 
Reported: 2025-12-19 07:05 UTC by Jin Liu
Modified: 2026-01-13 20:17 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.7.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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