https://bugs.kde.org/show_bug.cgi?id=449461

            Bug ID: 449461
           Summary: Search and replace does nothing
           Product: kate
           Version: 21.12.1
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: application
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: php4...@gmail.com
  Target Milestone: ---

STEPS TO REPRODUCE
1.  In a new file, type this:
aaa foo bar
lorem aaa ipsum
2.  Go to Search and Replace
3. Choose "in current file"
4.  Fill in to search for "aaa" and replace with "xxx"
5. Click on "Search". Found matches will show up below and will be already
checked
6. Click "Replace Checked" or "Replace".

OBSERVED RESULT
When I click on "replace checked" nothing happens.
When I click on "Replace", nothing gets replaced, and Kate switches to another
tab. Complete madness.

EXPECTED RESULT
With "Replace checked" it should replace the checked matches, which are all of
them because I haven't unchecked any.
With Replace it's not clear (and that's a design flaw) whether it's supposed to
replace one next occurrence or all occurrences (usually, normal editors with
decent search&replace interfaces have two buttons, "replace" (one) and "replace
all").


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

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to