Summary: | Wish: change page by swiping on touchscreen during presentation mode | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Oliver Sander <oliver.sander> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | aacid |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/okular/618072f8a2ea77ba7ad1241abac088487dee04b3 | Version Fixed In: | |
Sentry Crash Report: |
Description
Oliver Sander
2015-10-17 18:37:06 UTC
I wrote a patch for this. Albert, do you want this for the master branch or the frameworks branch? master I was afraid you were going to say this... :-) I just spent the last two hours unsuccessfully trying to port the patch from the frameworks branch to master. Qt4 replaces the touch events (from the touchpad) with mouse events, which then of course do not allow gestures. In Qt5 there is QCoreApplication::setAttribute(Qt::AA_SynthesizeMouseForUnhandledTouchEvents,false); which disables this behavior, but I have no clue how to do the same in Qt4. Does anybody have an idea? Well, the more things you put in frameworks the harder it is for me to decide to look into it since people keep developing and using it without even caring the tests in it pass. If you want you can create a merge request against frameworks but it immediately moves its priority down. Fair enough. I have now posted my patch against the 'frameworks' branch: https://git.reviewboard.kde.org/r/125847/ Maybe somebody finds it useful, or knows what to do to get it to work on master. Git commit 618072f8a2ea77ba7ad1241abac088487dee04b3 by Albert Astals Cid, on behalf of Oliver Sander. Committed on 19/03/2017 at 23:32. Pushed by aacid into branch 'master'. Change pages in presentation mode by swiping on touch screen REVIEW: 130012 M +37 -3 ui/presentationwidget.cpp M +2 -0 ui/presentationwidget.h https://commits.kde.org/okular/618072f8a2ea77ba7ad1241abac088487dee04b3 |