Bug 156659 - Find All should not move to the first occurrence
Summary: Find All should not move to the first occurrence
Status: RESOLVED DUPLICATE of bug 112720
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks: Find-Search
  Show dependency treegraph
 
Reported: 2023-08-07 18:18 UTC by Rafael Lima
Modified: 2023-08-14 14:56 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample document to reproduce the problem (63.77 KB, application/vnd.oasis.opendocument.text)
2023-08-07 18:18 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2023-08-07 18:18:29 UTC
Created attachment 188836 [details]
Sample document to reproduce the problem

In Writer, when you click "Find All" in the Find toolbar, the focus should not automatically move to the first occurrence of the search term. Instead, the focus should move to the first occurrence after the cursor position.

This is a problem in long documents... suppose you have a 200-page dissertation, and you are currently reading page 150. Then you look up some frequent term and as soon as you click "Find All", the cursor moves to the first occurrence, which will likely be in the beginning of the document.

The expected behavior would be to have the focus moving to the first occurrence after the current cursor position.

Steps to reproduce
1) Open attached sample document (it has 10 pages)
2) Go to the 5th page in the document
3) Press Ctrl+F to open the Find toolbar
4) Enter the "TEST" term (this word exists multiple times in the document, in all pages)
5) Click "Find All"

Observed result:
The focus will move to the first paragraph in page 1, which is the first occurrence of "TEST"

Expected result:
The focus should move to the occurrence right after the current cursor position
Comment 1 Heiko Tietze 2023-08-14 14:48:39 UTC
Doing a simple search, ie. TEST + <return>, jumps to the next occurrence in the document. How about removing Find All completely?
Comment 2 Heiko Tietze 2023-08-14 14:56:22 UTC
See also bug 84460 (Find All should just highlight), bug 112720 ("find all" again throws you back to the first page), bug 95405 (Sidebar deck for find/search and replace).

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