GNOME Bugzilla – Bug 343199
Current page doesn't follow search page
Last modified: 2007-01-18 05:39:57 UTC
Please describe the problem: In a 'searchable' multiple page pdf document, action 'find next' wraps within the current page only. For example, if you're looking for the word 'hello' which is present 2 times(events 1 and 2) in page 1 and 1 time(event 3) in page 2, clicking on 'find next' will only focus alternatively on events 1 and 2, although the third event is lighty highlighted. Steps to reproduce: 1. Open http://perso.crans.org/~silva/Bella_ciao.pdf 2. Ctrl-F "it" 3. Ctrl-G again and again Actual results: Evince highlight in light blue all events (in all pages), but when pressing Ctrl-G focus only turns over the event in page 1 Expected results: I would expect focus turns over events in all the pages. Does this happen every time? Always Other information: Seems not to happen with all pdf documents
The problem here is that scroll_to_find_page should mark next find page as current page of view. It fails to do that - current page is still 1. It's misunderstanding between our current page selection way and our way to search in page. Some time ago we had find_page view attribute that was different from current page. Either we should revert find_page or make mechanizm for current page selection more intelligent.
*** Bug 358955 has been marked as a duplicate of this bug. ***
Should be fixed in head now, thanks.
*** Bug 397898 has been marked as a duplicate of this bug. ***