Bug 444498

Summary: Make it possible to copy highlighted search results with "Ctrl+C"
Product: [Plasma] krunner Reporter: WS <ws.kde>
Component: generalAssignee: Alexander Lohnau <alexander.lohnau>
Status: CONFIRMED ---    
Severity: wishlist CC: aoeui, kde.podagric, mikel5764, nate, plasma-bugs-null
Priority: NOR Keywords: usability
Version First Reported In: 5.23.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description WS 2021-10-27 17:36:57 UTC
SUMMARY

Kickoff is a convenient way to make small and simple calculations without having to open a calculator. You can just type "10/5" and the first result is 5, while you can right-click on the result to copy it to clipboard, it would be way more convenient to be able to copy the highlighted option by simply using Ctr+C. Using Kickoff search function is already keyboard-heavy swapping to a mouse just to copy is rather clunky.

STEPS TO REPRODUCE
1. Open Kickoff
2. Type a simple equation, like 10/5
3. Highlight the result
4. Try to copy with "Ctrl+C"

OBSERVED RESULT

Nothing is copied to the clipboard. Requires the user to right-click the result and select "Copy to Clipboard"

EXPECTED RESULT

Using "Ctrl+C" on a highlighted result should copy it to the clipboard

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20211021
KDE Plasma Version: 5.23.0
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-10-28 14:21:59 UTC
Makes sense to me. We could do this in KRunner too. Currently there is a button to copy the result in KRunner, but no keyboard shortcut. Moving to KRunner for now to see if the functionality could be implemented in the runner itself, which could potentially result in Kickoff (which also uses KRunner runners) getting it for free.
Comment 2 Alexander Lohnau 2021-10-28 15:31:43 UTC
>Currently there is a button to copy the result in KRunner, but no keyboard shortcut.

Some runners provide an action to copy a result or copy it when the match is run (like the spellcheck runner).

However this is not any kind of universal copying of the results as requested in this bug report.