Bug 460984 - Ignores option: 'From current page', the search is persistent.
Summary: Ignores option: 'From current page', the search is persistent.
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 22.08.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-25 13:52 UTC by almborg33
Modified: 2022-10-26 21: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 almborg33 2022-10-25 13:52:45 UTC
SUMMARY
In a pdf or epub.
When you have searched for something and you want to search an other part of the document, e.g. a later part, you scroll forward to the part you want to search and press search. The search moves back to the place you were before even if you have the option "From current page" enabled.
To force searching form current page I have tried:
Select a word on the current page so that it should deselect the word highlighted from the previous search, it does not work.
Pressed the red ball with 'x' and deleted the search and pressed ctrl+f to enable it again. After ctrl+f, I have the last search word as a suggestion, that is good, but pressing search takes me back to the previous location.
The only way to search from my current position, if my last search was the same word, is to delete the word suggested and type it in again. After that I can press 'Next' and get a search from the current  position.   


STEPS TO REPRODUCE
1. Open a pdf or epub with text and multiple occurrences of a word
2. Open search and open dorpdown menu 'options' and select 'From current page'.
3. Search for the word
4. Scroll past the page with the word, so that you also scroll past multiple instances of the word.
5. Search again

OBSERVED RESULT
Does not search from current page

EXPECTED RESULT
Should search from current page.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.15.65-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6600K CPU @ 3.50GHz
Memory: 31,3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 960/PCIe/SSE2


ADDITIONAL INFORMATION
Comment 1 Albert Astals Cid 2022-10-26 21:12:52 UTC
This is not a bug, this is how it works, you have to press Esc again to cancel the old search and start from the new place.