Review Request 128821: [frameworks] Implement zooming with a pinch gesture on a touch screen

Martin Tobias Holmedahl Sandsmark martin.sandsmark at kde.org
Sun Oct 2 12:54:53 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128821/#review99710
-----------------------------------------------------------



I tried to test with pinching on my touchpad, but apparently Qt doesn't handle the gestures from libinput or something.


ui/pageview.cpp (line 1496)
<https://git.reviewboard.kde.org/r/128821/#comment67036>

    you need to call QAbstractScrollArea::event(), not QWidget::event(), otherwise you get an infinite recursion when scrolling.


- Martin Tobias Holmedahl Sandsmark


On Sept. 4, 2016, 7:48 p.m., Oliver Sander wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128821/
> -----------------------------------------------------------
> 
> (Updated Sept. 4, 2016, 7:48 p.m.)
> 
> 
> Review request for Okular.
> 
> 
> Bugs: 366781
>     http://bugs.kde.org/show_bug.cgi?id=366781
> 
> 
> Repository: okular
> 
> 
> Description
> -------
> 
> The attached patch implements document zoom controlled by a two-finger pinch gesture on a touch screen.
> 
> The actual zooming was done by copy'n'paste, I don't understand the full details of how zooming works in okular, yet.  So a bit of review would be appreciated.
> 
> 
> Diffs
> -----
> 
>   ui/pageview.h 01c39bf 
>   ui/pageview.cpp cd53407 
> 
> Diff: https://git.reviewboard.kde.org/r/128821/diff/
> 
> 
> Testing
> -------
> 
> I tested it on my Lenovo Thinkpad Yoga, and it works nicely there.
> 
> 
> Thanks,
> 
> Oliver Sander
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20161002/95cad22b/attachment.html>


More information about the Okular-devel mailing list