Bug 506931 - Repeating the "find selected" action no longer highlights the original selection
Summary: Repeating the "find selected" action no longer highlights the original selection
Status: REPORTED
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.15.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-11 23:12 UTC by Jonathan Poelen
Modified: 2025-07-11 23:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Poelen 2025-07-11 23:12:57 UTC
When you use "Find selected" (Ctrl+H) to move to the next selection, the original selection is not highlighted. It becomes so again if we scroll (with the mouse or via a keyboard shortcut), but it's then the current selection that will no longer be highlighted.

example ([] represents selection, {} highlighting):

[aa]
{aa}
 bb
{aa}

Ctrl+H

 aa
[aa]
 bb
{aa}

Ctrl+H

 aa
{aa}
 bb
[aa]

Ctrl+H

[aa]
{aa}
 bb
{aa}

Expected: that all "aa" in this example to be highlighted or selected.