Bug 156659 - Find All should not move to the first occurrence
Summary: Find All should not move to the first occurrence
Status: UNCONFIRMED
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:
 
Reported: 2023-08-07 18:18 UTC by Rafael Lima
Modified: 2023-08-07 18:18 UTC (History)
1 user (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