On Tue, Mar 20, 2012 at 20:10, Albert Astals Cid <aa...@kde.org> wrote: > By scrolling the viewport? Only by clicking in the bookmark? Although will work better by clicking in the bookmark, I think it's a good idea to do the same by srolling the viewport. Otherwise the user may add multiple bookmarks in the same location.
> If by scrolling in the viewport how much tolerance you have to consider > you are in a given bookmark? The tolerance will be of 6 decimal digits. I'm using the string returned on DocumentViewport::toString() to set the bookmark url. Since this function sets the precision to 6 decimal digits, the comparison will do the same. _______________________________________________ Okular-devel mailing list Okular-devel@kde.org https://mail.kde.org/mailman/listinfo/okular-devel