Bug 378586

Summary: Zooming with Two-finger-scrolling is too sensitive
Product: [Applications] krita Reporter: Thomas Mitterfellner <thomas>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla
Priority: NOR    
Version: 3.1.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Mitterfellner 2017-04-09 12:03:51 UTC
Version: 3.1.2
When I zoom in and out of an image using Two-finger-scrolling on the touchpad, this goes way too fast/much too sensitive, so it is almost impossible to get to a desired magnification.

Please have a look at https://bugs.kde.org/show_bug.cgi?id=377128 as this one seems to be almost the same problem.

(I reported a similar problem for gwenview: https://bugs.kde.org/show_bug.cgi?id=378584)
Comment 1 Halla Rempt 2017-04-19 12:14:31 UTC
Hi Thomas,

Thanks for your report. It's a bit weird, though, that the touchpad scroll emulation doesn't seem to keep track of QWheelEvent::DefaultDeltasPerStep. It sounds almost as if this should be fixed in Qt itself.
Comment 2 Thomas Mitterfellner 2017-04-19 20:14:13 UTC
Unfortunately, I'm not into the details of scrolling event handling. All I know is that is seems to work e.g. in scribus but doesn't e.g. in gwenview. I don't know whether they have special code treating the scrolling event in scribus, but from the other bug report it seems they've added some special code to okular.
Anyway, I agree that if it's possible to fix it upstream, it should be done there, but I wouldn't know what exactly to report there.
Comment 3 Halla Rempt 2017-04-20 07:10:02 UTC
Git commit 390f8d72a559575e7179287acc6d238c7b36a3bb by Boudewijn Rempt.
Committed on 20/04/2017 at 07:09.
Pushed by rempt into branch 'master'.

M  +15   -4    libs/ui/input/kis_input_manager.cpp
M  +2    -0    libs/ui/input/kis_input_manager_p.h

https://commits.kde.org/krita/390f8d72a559575e7179287acc6d238c7b36a3bb