Bug 346979 - Touch control and basic gestures
Summary: Touch control and basic gestures
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.20.2
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 349691 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-30 19:57 UTC by Josef Kufner
Modified: 2021-03-21 18:21 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josef Kufner 2015-04-30 19:57:15 UTC
When using Okular on tablet PC it handles touch events just like any other mouse events. It is not very ergonomic.

Scroll should have some inertia to continue moving after faster swipe. Two finger zoom gestures would be also nice.

And when there is pen available, it would be awsome if it could draw annotations without clicking icons in toolbar all the time.

XInput allows to recognize which device is currently used and behave differently. For example Xournal can scroll with finger and draw with pen without clicking any button. Gimp has separate configuration for each tool - you literaly can have pens of different color.

Reproducible: Always
Comment 1 Albert Astals Cid 2015-05-03 23:01:37 UTC
Please do not mix various things on the same report because it becomes unmanageable, you want pens with different colors, we have that, you want that you can draw annotations without click the toolbar all the time, we have that, both things are described in the manual.

So now what do i do with this report? You reported various things and some things are fixed already and some may be fixed independently of others, so keeping this open just is a bit confusing for the future when reading it again.

Would you mind if i close this and you report each item independently? It's the only way to properly manage this.
Comment 2 Josef Kufner 2015-05-03 23:23:38 UTC
Oh, I see... it is a bit messy feature request :) But it is about only one thing: User input.

With my Thinkpad Yoga 12 I have three input devices, which can be distinguished using Xinput: mouse (touchpad, trackpoint, traditional USB mouse), touchscreen (controlled by fingers), Wacom tablet (another "touchscreen"; controlled by stylus). In Gimp each of these three input devices can perform different action or use different brush/tool. In Xournal I can move (scroll) a document using fingers and draw using stylus. In recent Chrome finger scrolls, but mouse and stylus select text.

This feature request is about introducing such behavior to Okular. For example to scroll with finger and draw annotation with pen -- without explicitly switching the tool.
Comment 3 Albert Astals Cid 2015-05-13 23:03:56 UTC
how would you know which tool is which for each of the input devices?
Comment 4 Christoph Feck 2015-07-04 21:56:53 UTC
*** Bug 349691 has been marked as a duplicate of this bug. ***
Comment 6 blaze 2016-06-09 14:59:24 UTC
Evince can do that since like ages ago. Why Okular is still lacking this feature?
Comment 7 thekswenson 2017-12-01 14:03:32 UTC
The scroll inertia is indeed important in the days of touch screens.
Comment 8 Michael D 2019-05-27 09:53:32 UTC
Kinetic/inertial scrolling is a must for touchscreens and would be great to have. Evince indeed has it.
Comment 9 David Hurka 2021-03-21 18:21:24 UTC
Closing, because inertial scrolling was implemented in 20.04, and the remaining points from this bug report are not clearly distinguished. Can you open a new bug report for the still missing features?

Summary could be like “Allow to use different tools (scrolling/annotating) for touch input and pen input.”