Bug 488486

Summary: krunner produces warning "QCommandLineParser: argument list cannot be empty, it should contain at least the executable name"
Product: [Plasma] krunner Reporter: Paco Orozco <pakus>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: alexander.lohnau, kde, natalie_clarius, nate, plasma-bugs-null, thiago
Priority: NOR Keywords: wayland-only
Version First Reported In: 5.27.11   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on: 424260    
Bug Blocks:    

Description Paco Orozco 2024-06-14 07:32:47 UTC
+++ This bug was initially created as a clone of Bug #424260 +++

SUMMARY

Every time I use the krunner shortcut (alt + F2) two warning messages are shown in the journal file:

krunner[4233]: QCommandLineParser: argument list cannot be empty, it should contain at least the executable name
jun 14 09:27:18 mongeta krunner[4233]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

STEPS TO REPRODUCE
1. Open the journal file in a terminal (journal -f)
2. Call the runner using the shotcur (alt + F2)
3. See the log lines in the previous terminal

OBSERVED RESULT

krunner[4233]: QCommandLineParser: argument list cannot be empty, it should contain at least the executable name
jun 14 09:27:18 mongeta krunner[4233]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()


EXPECTED RESULT

No messages should be shown!

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 24.04 (using wayland)
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13

ADDITIONAL INFORMATION
SUMMARY
This warning is printed.

QCommandLineParser: argument list cannot be empty, it should contain at least the executable name

SOFTWARE/OS VERSIONS
openSUSE Tumbleweed 20200701
Qt: 5.15.0
KDE Frameworks: 5.71.0
kf5-config: 1.0
Comment 1 Nate Graham 2024-06-14 16:28:24 UTC
Can't reproduce in current master; seems it's been fixed for Plasma 6.