Bug 504658 - Klipper does not reset search after selecting an item
Summary: Klipper does not reset search after selecting an item
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (other bugs)
Version First Reported In: 6.3.5
Platform: Manjaro Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2025-05-22 09:38 UTC by Nicolai Weitkemper
Modified: 2025-05-22 15:22 UTC (History)
2 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 Nicolai Weitkemper 2025-05-22 09:38:37 UTC
SUMMARY
Klipper does not reset search after selecting an item

STEPS TO REPRODUCE
1. Have multiple items in the clipboard history
2. Open Klipper either using a keyboard shortcut or via the panel
3. Search for an item and select it by either clicking on it or hitting Enter
4. Open Klipper a second time

OBSERVED RESULT
The previous search term is still visible

EXPECTED RESULT
The previous search term should be cleared

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
I checked the code but did not find that functionality nor a commit that removed it (by skimming), but I distinctly remember that it used to work like that.
Comment 1 Nate Graham 2025-05-22 15:19:55 UTC Comment hidden (spam)
Comment 2 Nate Graham 2025-05-22 15:20:54 UTC Comment hidden (spam)
Comment 3 Nate Graham 2025-05-22 15:22:21 UTC
Can reproduce.

At the minimum we should pre-select all the text like KRunner does, so you can type a new search term to immediately replace it. But in this case, I do think it would be better to clear the search when selecting an item, or even all the time when closing the popup.