Bug 508707

Summary: Ctrl + Shift + F opens search with prefilled random content as search string
Product: [Applications] konsole Reporter: postix <postix>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.08.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description postix 2025-08-25 11:11:43 UTC
STEPS TO REPRODUCE
1. Open Konsole
2. Hit Ctrl + Shift + F to open the search

OBSERVED RESULT
The search opens with prefilled text.
The random prefilled text seems to be the first line(s) of the current command and can be even the whole debug output.

EXPECTED RESULT
The search opens empty or with the last entered search string.

Having a random string in the search field on opening can be problematic.

1) it's likely not what you want to search for
2) it overwrites the former search string
3) when having a lot of (continuous) debug output, this can mean Konsole fully freezes as it becomes incapable of searching a huge string or the text appears too often, producing too many results.

 
SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.2-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland