Bug 447251

Summary: When qt5-qdbusviewer isn't installed, pressing in "Launch D-Bus Browser" button needs to show a prompt to install qt5-qdbusviewer
Product: [Applications] systemsettings Reporter: Photon <ncqm3qdz>
Component: kcm_khotkeysAssignee: Michael Jansen <kde>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist CC: plasma-bugs
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Issue

Description Photon 2021-12-20 04:31:42 UTC
Created attachment 144696 [details]
Issue

SUMMARY



STEPS TO REPRODUCE
1. Go to Settings > Shortcuts > Custom shortcuts;
2. Press in "Edit" > New > Global Shortcut > D-Bus Command and create a new shortcut;
3.  Go to the "Action" tab and press in the "Launch D-Bus Browser" button.

OBSERVED RESULT
Nothing will happens when qt5-qdbusviewer is not installed in some distros such as KDE Neon and Kubuntu.

EXPECTED RESULT
The khotkeys KCM should trigger a prompt to install qt5-qdbusviewer.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 35
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.8-200.fc35.x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8265U CPU @ 1.60GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION
Comment 1 Photon 2021-12-20 04:36:55 UTC
This issue makes some distros, such as Fedora, to include qt5-qdbusviewer available for by default to fix the problem I mentioned. However, it would be weird to install a dev tool by default in a distro intended for regular users, such as Kubuntu (qt5-qdbusviewer shortcut stays in the 'Development' section of the Application Launcher).
Comment 2 Photon 2021-12-20 04:38:06 UTC
By the way I had to remove qt5-qdbusviewer to record the video, I forgot to mention.
Comment 3 Nate Graham 2024-03-04 19:41:59 UTC
As announced in https://pointieststick.com/2023/07/26/what-we-plan-to-remove-in-plasma-6/ and https://community.kde.org/Plasma/Plasma_6#Removals, I'm afraid KHotKeys has reached end-of-life in Plasma 6. Accordingly, all bug reports and feature requests for it must be closed now.

Most of what KHotKeys could do can already be done with the newer KGlobalAccel system in Plasma 6. A few features such as mouse gestures and triggering conditions based on changes to window states are not yet implemented in the new system. These will be added in the future if and when resources materialize for them, and/or when a kind soul submits patches to implement them! :) Meanwhile, the 3rd-party "Mouse Actions" app (https://github.com/jersou/mouse-actions) may be usable for implementing your own mouse gestures again.

Thanks for your understanding, everyone.