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
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.
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.
how would you know which tool is which for each of the input devices?
*** Bug 349691 has been marked as a duplicate of this bug. ***
Some progress: https://git.reviewboard.kde.org/r/126809/ https://git.reviewboard.kde.org/r/125847/
Evince can do that since like ages ago. Why Okular is still lacking this feature?
The scroll inertia is indeed important in the days of touch screens.
Kinetic/inertial scrolling is a must for touchscreens and would be great to have. Evince indeed has it.
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.”