Bug 300280

Summary: Okular Active: Tapping a page in Search Results navigates to the wrong page
Product: [Unmaintained] Active Reporter: Thomas Pfeiffer <thomas.pfeiffer>
Component: ApplicationsAssignee: active
Status: CLOSED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: unscheduled   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Pfeiffer 2012-05-18 21:09:26 UTC
When I search within Okular Active and tap a thumbnail in the search results, it does not navigate to the page represented by the thumbnail, but instead to the page whose thumbnail was at that position before I searched.

Reproducible: Always

Steps to Reproduce:
1. Enter a search term that is found on some, but not all pages
2. Tap on a page in the search results 
Actual Results:  
The page that was at the tapped position in the grid before the search is shown

Expected Results:  
The page that was actually tapped should be shown
Comment 1 Aaron J. Seigo 2012-05-22 15:41:46 UTC
Git commit 82e073dc698755ec498822a414f26de1d137488a by Aaron Seigo.
Committed on 22/05/2012 at 17:40.
Pushed by aseigo into branch 'mart/okularActive'.

use the modeldata, not the index in the grid, to switch pages

M  +2    -2    active/app/package/contents/ui/Browser.qml

http://commits.kde.org/okular/82e073dc698755ec498822a414f26de1d137488a
Comment 2 Thomas Pfeiffer 2012-05-24 09:16:53 UTC
I can confirm that this is fixed.