Bug 410155 - KRunner Doesn't Show/Keep Command History Under Wayland
Summary: KRunner Doesn't Show/Keep Command History Under Wayland
Status: RESOLVED WORKSFORME
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.16.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-24 12:37 UTC by Alberto Díaz López
Modified: 2020-10-14 15:37 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Díaz López 2019-07-24 12:37:11 UTC
SUMMARY

KRunner Doesn't Show/Keep Command History Under Wayland

STEPS TO REPRODUCE
1. Login to Wayland session.
2. Run some commands with KRunner.
3. Type again to KRunner the same string.

OBSERVED RESULT

No history observed at KRunner under Wayland, it doesn't suggest you possible options based on the previous commands you executed with KRunner.

EXPECTED RESULT

KRunner should preserve the command history as it does under Xorg session.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.2.2/5.16.3
(available in About System)
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.60
Qt Version: 5.13

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2019-07-24 14:12:11 UTC
Hmm, works for me on Wayland with git master.
Comment 2 Kai Uwe Broulik 2019-07-25 06:42:42 UTC
Maybe it crashes at some point? I recall that killing krunner has it not save the history
Comment 3 Alexander Lohnau 2020-09-08 14:28:59 UTC
>I recall that killing krunner has it not save the history
That was about the launch counts not being saved (fixed now). But the history has been saved after each session since forever.

Please check if the ~/.config/krunnerrc has a "history=<list of strings>" entry and if it is updated after running a command.

A wild guess would be that you started the query with a space, then the query is not saved. Just like in bash.