[Okular-devel] [PATCH] Panning in Thumbnail List

Igor Stirbu igor.stirbu at gmail.com
Sat Oct 17 21:46:28 CEST 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mousedrag2.patch
Type: application/octet-stream
Size: 5683 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/okular-devel/attachments/20091017/7a4cb190/attachment.dll 


More information about the Okular-devel mailing list