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

            Bug ID: 512929
           Summary: First search occurrence loses highlight after jumping
                    to next match, unlike other matches
    Classification: Applications
           Product: kate
      Version First 25.08.1
       Reported In:
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: search
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
First search occurrence loses highlight after jumping to next match, unlike
other matches.

STEPS TO REPRODUCE
Open a document in Kate.
Press Ctrl+F and search for a word that appears multiple times.
Observe that the first occurrence is highlighted.
Press “Next” to jump to the next match.
Notice that the first occurrence is no longer highlighted, while all other
matches remain highlighted.

OBSERVED RESULT
The first occurrence loses its highlight after moving to the next match.
All other matches remain highlighted, except the very first one.
This creates the impression that one match is missing from the global
highlights.

EXPECTED RESULT
All occurrences of the searched word should remain highlighted consistently,
including the first one.
Alternatively, the active match could be distinguished with a configurable
background color (in Color Theme Editor), so users can highlight it if they
want, instead of it appearing “unhighlighted.”

SOFTWARE/OS VERSIONS:
Linux Ubuntu 25.10, KDE Plasma Version: 6.4.5, KDE Frameworks Version: 6.17.0,
Qt Version: 6.9.2

ADDITIONAL INFORMATION
This behavior differs from classical editors like Notepad++ or Visual Studio
Code, where all matches remain highlighted consistently.

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

Reply via email to