Hello Pino, I've worked a bit on the issue in bug #201669. It works now for general case but I'm sure I miss some parts that may break the usability in okular. For example I don't use yet new DocumentViewport instances which I suppose breaks the navigation and I didn't understand exactly if I still need to use VisiblePageRect. Some of the things I still need to figure out are:
* when dragging to top or bottom of viewable thumbnails it starts to scroll like crazy probably due to some feature of automatically show new thumbnails when main view is changed * the item->rect().size() is not a proper one. I would expect the size to be only the preview of the page and not to include the space below the preview which contains the page number. If you make the thumbnail list wide enough and drag slowly from top to bottom of a thumbnail you can see that at the bottom the mouse is not in the middle of the yellow rectangle. Thanks, Igor -- :wq
mousedrag2.patch
Description: Binary data
_______________________________________________ Okular-devel mailing list Okular-devel@kde.org https://mail.kde.org/mailman/listinfo/okular-devel