Bug 364173 - Tablet proximity events zoom out image to the smallest size
Summary: Tablet proximity events zoom out image to the smallest size
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tablets (tablet issues are only very rarely bugs in Krita!) (show other bugs)
Version: git master (please specify the git hash!)
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 358518 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-06-10 08:42 UTC by Anton Kochkov
Modified: 2016-08-17 08:15 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch: Ignore delta 0 wheel events on OSX (1.34 KB, patch)
2016-07-26 10:16 UTC, Michael Chapman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kochkov 2016-06-10 08:42:53 UTC
When you bring the pen to the Wacom tablet (confirmed on various tablets) it generate some kind of event, that zoom image size to the 8%.

Looks like related to this Qt + OS X bug: https://bugreports.qt.io/browse/QTBUG-52921
And this one https://github.com/opentoonz/opentoonz/issues/148

Looks like there is even a patch available: https://codereview.qt-project.org/#/c/157139/

Reproducible: Always

Steps to Reproduce:
1. Install latest Krita on El Capitan
2. Attach Wacom tablet
3. Bring the pen and try to draw a line (it generates an event during the move close enough to the tablet surface)
Comment 1 Anton Kochkov 2016-06-14 10:00:11 UTC
Answer from Qt (they closed bug):
"What we're seeing is that these events will have a delta of 0. It should then be possible to filter them out at the application level - this worked for OpenToonz.

Filtering them out in Qt is difficult since we need to pass on the phase information. (see "cwazy patch" review)". So this now on Krita side.
Comment 2 Halla Rempt 2016-06-14 10:55:27 UTC
*** Bug 358518 has been marked as a duplicate of this bug. ***
Comment 3 Michael Chapman 2016-07-26 10:16:39 UTC
Created attachment 100311 [details]
Patch: Ignore delta 0 wheel events on OSX

I don't really know what I'm doing, but something like this?
Comment 4 Michael Chapman 2016-07-26 13:15:19 UTC
I've proposed this in phabricator here: https://phabricator.kde.org/D2290
Comment 5 Halla Rempt 2016-08-17 08:15:01 UTC
Thanks, this is fixed now in the latest dev builds.