Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 41658

Summary: [find/replace] Upon search wrapping, indicate to user search has indeed wrapped
Product: [Eclipse Project] Platform Reporter: Sean McRae <smcrae>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P5 CC: daniel_megert, esycat, markus.kell.r
Version: 3.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

Description Sean McRae CLA 2003-08-18 14:50:09 EDT
Currently when a search for text wraps past the end of file to the next string 
occurence from the top of the file there is no indication (other than viewing 
the locaion of the scroll bar) the search has indded wrapped. It would be nice 
if the platform would provide either a visual or audible (beep) indicator that 
the search has wrapped.
Comment 1 Dani Megert CLA 2003-08-19 03:12:00 EDT
I assume this bug report is about the editor's Find/Replace command and not
about the Search (e.g. Search for declarations)  component.
Comment 2 Dani Megert CLA 2003-09-24 05:34:58 EDT
Fixed in builds > I20030924
Comment 3 Markus Keller CLA 2003-10-16 13:21:14 EDT
Was it a deliberate decision to *only* beep on wrap? I would appreciate a short
message in the StatusLine as well ("Search wrapped around").

This is a help for visually oriented people, people working in a nosy
environment, or people confused by the sudden beep and looking for an explanation.
Comment 4 Dani Megert CLA 2003-10-17 03:17:29 EDT
We could also provide visual indication.
Comment 5 Markus Keller CLA 2007-06-29 11:42:39 EDT
The beep is there for Edit > Find Next / Previous, but not when I press the Find or the Replace/Find button in the Find/Replace dialog.
Comment 6 Dani Megert CLA 2007-07-02 08:30:38 EDT
I get the beep in both cases when it wraps. What I don't get is the beep when nothing more is found and wrap is off.
Comment 7 Dani Megert CLA 2007-07-02 09:25:18 EDT
It now also beeps when the end is reached in non-wrap mode. The problem reported in comment 5 can be reproduced if 'Incremental' is checked. I've fixed this too.

We won't work on the visual indication when wrapping.
Comment 8 Markus Keller CLA 2009-08-06 06:17:38 EDT
We should just fix this accessibility issue and provide a status bar message when search wrapped (via dialog and via shortcuts). Incremental find already does that.
Comment 9 Dani Megert CLA 2009-12-10 09:33:15 EST
Fixed in HEAD (> 3.6 M4) for the dialog. Fixing it for the Find Next/Previous action is hard because the post-selection event clears the status message again.
Comment 10 Dani Megert CLA 2011-09-27 06:15:00 EDT
The remaining issue is not an accessibility problem.
Comment 11 Lars Vogel CLA 2019-11-14 03:23:57 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.