Bug 300280 - Okular Active: Tapping a page in Search Results navigates to the wrong page
Summary: Okular Active: Tapping a page in Search Results navigates to the wrong page
Status: CLOSED FIXED
Alias: None
Product: Active
Classification: Plasma
Component: Applications (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: unscheduled
Assignee: active
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-18 21:09 UTC by Thomas Pfeiffer
Modified: 2012-05-24 09:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.