Bug 504153 - Find doesn't show number of occurrences, nor highlight them all
Summary: Find doesn't show number of occurrences, nor highlight them all
Status: RESOLVED DUPLICATE of bug 397272
Alias: None
Product: kate
Classification: Applications
Component: search (other bugs)
Version First Reported In: 25.04.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-13 15:07 UTC by php4fan
Modified: 2025-05-16 04:12 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description php4fan 2025-05-13 15:07:09 UTC
SUMMARY

All decent Find features in text editors, IDEs and all kind of software that have a Find feature, usually tell you how many occurrences there are in total, and usually also the "index" of the currently highlighted/selected one (as in "3 of 7"); also, they usually somehow highlight all occurrences

STEPS TO REPRODUCE
1. open a text file
2. do Ctrl+F and enter a search string that is found in the text

OBSERVED RESULT
- Only the next occurrence is highlighted (selected); unless the other occurrences are whole-words, in which case they are all highlighted as a consequence of the fact that one of them is selected
- the total number of occurrences is not shown anywhere
- if you want to see how many occurrences there are in total, and highlight them all, you need to go to Find and Replace (Ctrl+R) and do "find all"

EXPECTED RESULT
You shouldn't have to open Find and Replace just to know how many occurrences there are. This should be available in Find.

Operating System: Manjaro Linux 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.6.88-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 12 × 12th Gen Intel® Core™ i7-1255U
Memory: 15.3 GiB of RAM
Graphics Processor: Intel® Iris® Xe Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: Vivobook_ASUSLaptop X1502ZA_F1502ZA
System Version: 1.0

ADDITIONAL INFORMATION
Comment 1 John Kizer 2025-05-16 04:12:48 UTC
Hi - merging this in with the existing report where this is being discussed. Thanks!

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