Bug 390708 - Allow to move backward in presentations using touch
Summary: Allow to move backward in presentations using touch
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-19 01:40 UTC by Stefan Brüns
Modified: 2018-05-08 16:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Brüns 2018-02-19 01:40:55 UTC
Currently, the only possible movement is forward, as a touch is handled as a click.

Possible actions:
- touch on left half - backward, touch on right half - forward
- swipe left/right -forward/backward
Comment 1 Oliver Sander 2018-02-19 06:00:43 UTC
You can go back and forth in presentations using left/right swiping gestures.  Note that Qt swipe gestures need three(!) fingers.
Comment 2 Stefan Brüns 2018-02-19 08:52:13 UTC
(In reply to Oliver Sander from comment #1)
> You can go back and forth in presentations using left/right swiping
> gestures.  Note that Qt swipe gestures need three(!) fingers.

Has no effect for me. The event device reports up to ten fingers.
Comment 3 Oliver Sander 2018-02-19 09:12:03 UTC
We are talking about touch screens, right?  Not about touch pad gestures?
Comment 4 Stefan Brüns 2018-02-19 09:14:11 UTC
(In reply to Oliver Sander from comment #3)
> We are talking about touch screens, right?  Not about touch pad gestures?

Yes, touch screens.
Comment 5 Oliver Sander 2018-02-19 09:21:35 UTC
Hmm.  What's your Okular version?  Does three-finger swiping work for you in other Qt applications?

Are you able to build Okular yourself to do some debugging?

Actually, though, the change-slides-by-swiping code in Okular is extremely short
(method PresentationWidget::gestureEvent, in file presentationwidget.cc:589).  If that doesn't work it is unlikely to be an Okular problem, simply because all the difficult things happen in Qt and below.
Comment 6 Christoph Feck 2018-03-01 03:15:28 UTC
If you can provide the information requested in comment #5, please add it.
Comment 7 Christoph Feck 2018-03-29 14:18:41 UTC
To further investigate this issue, KDE developers need the information requested in comment #5. If you can provide it, or need help with finding that information, please add a comment.
Comment 8 Patrick Silva 2018-04-24 20:15:35 UTC
I use okular 1.4.70 on my laptop with touchscreen running neon dev unstable.

I can go to next page swiping one or two fingers up/down/left/right.
To swipe three fingers up/right goes to next page.
To swipe three fingers down/left goes to previous page.
Comment 9 Nate Graham 2018-05-08 16:48:46 UTC
Thanks for confirming!