Bug 449767

Summary: replace all only substitute portion of text
Product: [Applications] kate Reporter: rockmen1 <rockmen1>
Component: searchAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jpmbatrina01, kde-bugs, waqar.17a
Priority: NOR    
Version First Reported In: 21.12.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description rockmen1 2022-02-08 02:42:23 UTC
STEPS TO REPRODUCE
1. just perform a "plain text" replace space with space + comma in below text:

 97 96 91 90 9 89 88 87 85 84 83 82 81 80 8 79 78 72 71 70 7 69 66 65 64 63 6 494 493 492 490 489 484 4 3 262 261 260 258 256 254 252 251 248 247 246 245 244 241 239 237 236 235 234 233 232 231 230 229 228 227 225 224 223 222 221 220 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 2 198 197 186 185 182 181 180 168 152 150 149 148 147 146 145

OBSERVED RESULT
only part of the space is replaced

EXPECTED RESULT
all should be replace

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.23.90-1
KDE Frameworks Version:  5.90.0-1
Qt Version:  5.15.2+kde+r297-1

ADDITIONAL INFORMATION
tried regular expression as well, same result
Comment 1 Jan Paul Batrina 2022-02-08 06:16:38 UTC
Hello, thanks for the bug report!

This bug has been fixed in later versions (e.g. see https://bugs.kde.org/show_bug.cgi?id=448936#c1). If you still experience the bug after the next update, feel free to reopen the bug report.

*** This bug has been marked as a duplicate of bug 447972 ***
Comment 2 rockmen1 2022-02-15 01:08:39 UTC
issue is gone in version 21.12.2
Comment 3 Waqar Ahmed 2022-04-26 12:11:25 UTC
*** Bug 453043 has been marked as a duplicate of this bug. ***
Comment 4 arne anka 2022-04-26 16:08:32 UTC
As stated in my report #453043  Kate 21.12.3 and the issue is still present. 
So, either it's not fixed or it's a new bug,
Comment 5 Waqar Ahmed 2022-04-27 09:42:39 UTC
As for *your* bug, it has nothing to do with Kate x.y.z. It was fixed in KTextEditor library. When that gets upgraded you will get the fix.

Refrain from reopening duplicates. Please.

*** This bug has been marked as a duplicate of bug 447972 ***