Search/replace dialog behaves oddly after processing

Bug #489779 reported by Jefficus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glyphicus
Fix Released
Medium
Xiaonuo Gantan

Bug Description

Select search and replace from the menu. This opens a S/R dialog, which gives us a button to run a Search and Replace. This may be confusing, since the user thinks we're already DOING a search and replace.

This button should be relabelled "Execute"

Once the execute process has begun, another dialog opens with Replace/Next, Skip/Next and Quit buttons. When all the targets have been processed, a message box opens with "Reach the end of the Document."

This should be changed to "Reached the end of the document." (Note spelling and capitalizations.)

The Replace/Skip dialog should close automatically when the end-of-document alert has been cleared. (It currently stays open.)

Also, the main search/replace dialog remains open, but if I click on the Search/Replace button again, it finds nothing to change. Even if I change the search target to something new, it will find nothing. I suspect that the search position is not being reset to the beginning of the document when the Search/Replace button is first clicked.

For simplicity, when the Replace/Skip dialog closes, the Search/Replace dialog should close as well. If a user wants to run another search replace, we can live with forcing them to launch it again from the menu.

Changed in glyphicus:
status: Triaged → In Progress
Revision history for this message
Xiaonuo Gantan (xiaonuogantan) wrote :

The required behaviour saying that "the Replace/Skip dialog should close automatically when the end-of-document alert has been cleared" only applies to the searching the "active document" is chosen, right? For the "open documents" and "all documents", I suppose the Replace/Skip dialog should keep searching to the next document instead of close when it reaches the end of the current document, right?

Revision history for this message
Jefficus (jeff-smithicus) wrote : Re: [Bug 489779] Re: Search/replace dialog behaves oddly after processing

Yes, that makes sense.

On Wed, Mar 31, 2010 at 4:36 PM, Nikolai Roman <email address hidden> wrote:
> The required behaviour saying that "the Replace/Skip dialog should close
> automatically when the end-of-document alert has been cleared" only
> applies to the searching the "active document" is chosen, right? For the
> "open documents" and "all documents", I suppose the Replace/Skip dialog
> should keep searching to the next document instead of close when it
> reaches the end of the current document, right?
>
> --
> Search/replace dialog behaves oddly after processing
> https://bugs.launchpad.net/bugs/489779
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Jeff Smith
Computer Science Dept.
University of Saskatchewan
Phone: 306-665-8157

Changed in glyphicus:
status: In Progress → Fix Committed
Changed in glyphicus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.