Bug 175046 - thumb list scroll to current page when filtering
Summary: thumb list scroll to current page when filtering
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-13 15:11 UTC by Luca Burelli
Modified: 2008-11-14 09:35 UTC (History)
1 user (show)

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 Luca Burelli 2008-11-13 15:11:38 UTC
Version:            (using KDE 4.1.2)
Installed from:    Unspecified

I really appreciate thumbnail filtering by keyword and use it everyday. Many times I want to see the location of a word on the current page, or in the following ones. However, each time the thumbnail list is filtered, the thumbnail scrollbar is reset to the top. 

I think it would be very useful if the thumbnail list would automatically scroll to the current page (or to the closest shown thumbnail), so that one would not need to look at the current page number, and then each time browse through the thumbnails looking for a match. When browsing 1650-page PDFs that's quite handy! :-)

Thanks a lot and keep up the amazing work: Okular rules also on Windows already!
Comment 1 Luca Burelli 2008-11-13 18:28:37 UTC
Sorry, just a small clarification. The scrollbar doesn't "reset to the top"; but instead appears to be still at the same (logical?) coordinate as before. This however isn't useful, since the list contents and length may have changed, so the effect is to show other totally unrelated pages.
Comment 2 Enrico Ros 2008-11-14 09:35:52 UTC
Resolved in commit 883890:

Keep the Thumbnails list to a clever position when changing the filtering
keyword (instead of going to the top). This way the Tl is closer and more
'in sync' with the current page.

Applied a patch by Luca Burelli.