Bug 338111

Summary: Going from Replace to Find back to Replace loses the replace text
Product: [Applications] kate Reporter: Eric S <subscriber>
Component: searchAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: cullmann, ilmari.lauhakangas, justin.zobel, loh.tar
Priority: NOR    
Version: 16.04.1   
Target Milestone: ---   
Platform: Chakra   
OS: Linux   
Latest Commit: Version Fixed In:

Description Eric S 2014-08-08 00:39:42 UTC
Hit Ctrl-R. Enter text in the replace field. Hit Ctrl-F (making the replace field go away). Git Ctrl-R again. The replace field does not retain the text it had previously.

My version of Kate actually reports its version as 3.13.3...but 3.13.2 is the highest version that is in the list box here...
Comment 1 Buovjaga 2016-06-19 12:42:30 UTC
Confirmed.

Arch Linux 64-bit
Kate 16.04.2
KDE Frameworks 5.22.0
Qt 5.6.1
xcb wm
Comment 2 Lothar 2018-12-08 08:31:56 UTC
Can't reproduce it at the moment
Kate says 19.03
Comment 3 Christoph Cullmann 2019-08-24 20:19:45 UTC
For me it is still lost.
Comment 4 Justin Zobel 2020-10-30 00:32:27 UTC
Confirmed still an issue on kate from git master.
Comment 5 Jan Paul Batrina 2021-01-25 06:27:15 UTC
Git commit 2ca75c1bd8b0acd1a9889f5dee39a60f46331314 by Jan Paul Batrina.
Committed on 25/01/2021 at 06:18.
Pushed by jbatrina into branch 'searchbar-replace-text'.

Retain replacement text as long as the power search bar is not closed

M  +7    -1    src/search/katesearchbar.cpp

https://invent.kde.org/frameworks/ktexteditor/commit/2ca75c1bd8b0acd1a9889f5dee39a60f46331314