https://bugs.kde.org/show_bug.cgi?id=459865

            Bug ID: 459865
           Summary: The Enter key is not always respected by Krunner.
    Classification: Plasma
           Product: krunner
           Version: 5.24.6
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: littlerg...@gmail.com
                CC: alexander.loh...@gmx.de
  Target Milestone: ---

SUMMARY
The "Issue (shell) commands" section of the
https://userbase.kde.org/Plasma/Krunner#Issue_.28shell.29_commands page in the
KDE UserBase Wiki says that we can run shell commands from Krunner. I've tested
it and have found that pressing the Enter key doesn't always cause the shell
command to run.

As an example, I can type this command and press the Enter key and Kate will
open:

kate

I can also kill that Kate window by typing this command and pressing the Enter
key:

pkill kate

But if I type this command and press the Enter key, nothing happens:

which kate

Nothing happens if I type one of the wiki's example commands to list the
contents of the Documents directory and press the enter key:

ls ~/Documents

I'm seeing the behavior when the shell command should produce output in a
terminal window, but I haven't tested it thoroughly enough to determine whether
this is directly connected only to Konsole or if the same thing would happen
with other programs that are expected to produce output.

STEPS TO REPRODUCE
1. Open Krunner.
2. Type a shell command that is expected to produce output, like: which kate
3. Press the Enter key.
4. When nothing happens, open Krunner again.
5. Type a shell command that is expected to produce output, like: which kate
6. Click the Konsole icon in the Krunner search result.

OBSERVED RESULT
Step 3 result: Nothing happens.
Step 6 result: Konsole opens with output to the shell command.

EXPECTED RESULT
Konsole should open with output regardless of whether the Enter key is pressed
or the Konsole icon is clicked.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
This is in an up-to-date copy of Kubuntu 22.04 LTS.

As a work-around, if, instead of pressing the Enter key, I click the Konsole
icon in the Krunner search result after typing a shell command, then a terminal
window opens with the expected output.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to