Summary: | Adjust view to the position where you clicked into the thumbnail | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Enrico Scholz <enrico.scholz> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alvaro.mtr, blevebass, luigi.toscano, mtmkls, richard.llom |
Priority: | NOR | ||
Version: | 0.19.60 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/okular/c183dd8bd300b39e55e3309b6b279b6e7b8e19c2 | Version Fixed In: |
Description
Enrico Scholz
2008-05-17 18:09:03 UTC
i see the same behavior on Okular 0.15.4, on linux arch. on continuous page mode, with fill-width zoom, when a click is done on a thumbnail, the shown page is in the middle, i.e. 2 pages are shown at half each one. it is really annoying. *** Bug 328686 has been marked as a duplicate of this bug. *** See the comments in the duplicated bug too, raising priority, not simple wishlist. (In reply to comment #3) > See the comments in the duplicated bug too, raising priority, not simple > wishlist. I am seeing this as well with 0.19.3 and thought this was fixed in Bug 201669 - Scrolling in thumbnails view is broken. In 201669 there were a few things fixed including what I thought was this behavior. I downloaded the source and did a build of 0.21.60 and compared the ui/thumbnaillist.cpp and the changes from 201669 are there. This build behaves the same way as what is described in this bug as well as what was suppose to be fixed regarding the selection of thumbnails in 201669. Playing with the mouse event code in thumbnaillist.cpp and rebuilding was not useful to me, as I am a noob with c++ and not sure what I am doing. I did download the okular source from KDE 14.14 (I am on 14.13 installed on ubuntu), and the thumbnaillist.cpp is exactly the same. The bug is not in the thumbnails IMHO. When a document is reloaded, because the file was changed, Okular jumps to between the current and the previous page. The 'jump to page X' operation jumps to X-0.5 instead of X, and thus the border between the two pages gets to be in the center of the screen. Git commit c183dd8bd300b39e55e3309b6b279b6e7b8e19c2 by Albert Astals Cid, on behalf of Miklós Máté. Committed on 05/04/2016 at 22:31. Pushed by aacid into branch 'Applications/16.04'. Set viewport to the position clicked on the thumbnail list Also fix the mouse cursor shape REVIEW: 127526 M +29 -21 ui/thumbnaillist.cpp http://commits.kde.org/okular/c183dd8bd300b39e55e3309b6b279b6e7b8e19c2 |