Bug 482831

Summary: Krunner settings do not show up
Product: [Plasma] krunner Reporter: András Manţia <amantia>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: alexander.lohnau, natalie_clarius, nate
Priority: NOR    
Version First Reported In: 6.0.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description András Manţia 2024-03-08 08:07:09 UTC
SUMMARY
KRunner settings button does nothing

STEPS TO REPRODUCE
1.  Alt-F2
2.  Click on settings button that is on the left


OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
Settings should show.


SOFTWARE/OS VERSIONS
Tested X11

ADDITIONAL INFORMATION
Settings can be reached via System Settings.
Comment 1 Nate Graham 2024-03-08 23:49:13 UTC
Can you run `journalctl -f` in a terminal window, reproduce the bug, and paste any text that appears in the terminal window when you press the button and nothing happens?
Comment 2 András Manţia 2024-03-10 18:32:42 UTC
Mar 10 20:30:22 stein.andtib krunner[5664]: kf.kio.gui: Could not find an executable named: "kcmshell5"
Mar 10 20:30:22 stein.andtib krunner[5664]: QObject::connect(KProcessRunner, KJob): invalid nullptr parameter
Mar 10 20:30:22 stein.andtib krunner[5664]: QObject::connect(KProcessRunner, KJob): invalid nullptr parameter


Why does it try to start kcmshell5?

andris@stein: ~  > krunner -v
krunner 6.0.0
andris@stein: ~  > ps uax | grep krunner
andris    5664  0.0  0.4 6824540 288388 ?      Ssl  Feb29   3:42 /usr/bin/krunner
andris   25957  0.0  0.0   8216   816 pts/16   S+   20:31   0:00 grep --color=auto krunner
andris@stein: ~  > which krunner
/usr/bin/krunner
andris@stein: ~  > ls /usr/bin/kcmshell*
/usr/bin/kcmshell6
Comment 3 Nate Graham 2024-03-10 19:26:13 UTC
Thanks. The code here (https://invent.kde.org/frameworks/kcmutils/-/blob/master/src/qml/kcmlauncher.cpp?ref_type=heads#L14) clearly indicates that it'll open kcmshell6, so I think the most likely possibility is that you've still got the KF5 version of the kcmutils framework on your machine. Another one is that there's a downstream patch breaking this.
Comment 4 András Manţia 2024-03-10 19:52:31 UTC
Yes, I have both KF5 and KF6 kcmutils, the KF5 version is needed for some apps
Comment 5 András Manţia 2024-03-10 19:54:48 UTC
Meantime I deinstalled some kf5 kcmutils related packages (but kept the library) and works now. Even more, bug https://bugs.kde.org/show_bug.cgi?id=482666 too. Thanks for the hint!