Bug 342005 - Touch support for rotation
Summary: Touch support for rotation
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: Other All
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 335028 339109 363662 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-12-18 17:29 UTC by wolthera
Modified: 2019-07-11 19:14 UTC (History)
10 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 wolthera 2014-12-18 17:29:08 UTC
So, it turns out newer tablets have gesture-rotation. These are, amongst others, newer intuous pro's, cintiqs but also the surface pro 3.

This is a wishbug to get those working in Krita along side gesture zoom and gesture pan.

If you are missing this in Krita, but your device can do it, make a comment with your system specs. That way we know which technology to use to test this feature.

Reproducible: Always
Comment 1 Marcus Kjeldsen 2015-06-20 08:45:48 UTC
Very wishbug in terms of zoom and pan :) Surface pro 3 i7,512
Comment 2 Ryan Leach 2015-06-27 18:49:04 UTC
Is this just "multi-touch" or is there something specific that makes it rotation?

If it's just multi-touch then add in Surface Pro 2.
Comment 3 Victor Wåhlström 2015-06-27 19:12:29 UTC
Surface Pro 2 and SP1 (I think) uses Atmel for touch, but Krita should definitely support arbitrary touch devices if possible*. Likely touch for SP1 and SP2 will have to be handled manually, whereas SP3 and some newer wacom devices might actually give us pre-processed gesture events.

* There is already code that checks for QTouchEvent, so unless it's broken it should in theory work on multi-touch hardware for some tools if the drivers communicate with Qt properly.
Comment 4 Victor Wåhlström 2015-06-27 23:02:44 UTC
*** Bug 339109 has been marked as a duplicate of this bug. ***
Comment 5 Victor Wåhlström 2015-06-27 23:11:48 UTC
Looked at the existing code in Krita. Couldn't get it to work under Linux with a Surface Pro 2. Supposedly it can work under some configurations (Windows + Wacom?), however even then it's buggy and incomplete.

I wrote some generic Qt test code by overriding event from QWidget and had much better luck with that; I can get all relevant events and detect at least 10 touch points with individual widget positions. Implementing generic support in Krita shouldn't be too difficult I think, but care has to be taken so it doesn't interfere with normal mouse events.
Comment 6 Victor Wåhlström 2015-06-27 23:18:47 UTC
Updating title to reflect increased scope of discussion.
Comment 7 Victor Wåhlström 2015-06-27 23:20:52 UTC
*** Bug 335028 has been marked as a duplicate of this bug. ***
Comment 8 Halla Rempt 2016-01-24 14:15:56 UTC
Except for rotation, this exists already.

WISHGROUP: Larger Usability Fixes
Comment 9 wolthera 2016-05-29 14:01:12 UTC
*** Bug 363662 has been marked as a duplicate of this bug. ***
Comment 10 Camille Bissuel 2016-06-07 08:45:19 UTC
I'm interested to use rotation gesture on a Wacom Cintiq  27 Touch… Zoom is already working nicely.

As there is Krita users with a touch interface in this bug list, can I ask you to try to reproduce Bug 363225 ? especially as described in comment 7 : https://bugs.kde.org/show_bug.cgi?id=363225#c7 

Thanks a lot in advance !
Comment 11 Tiar 2019-07-11 19:14:25 UTC
Implemented in 2c299f5ba150de5efb62f4b46c826f74cb8a4b73 (3rd July 2019) by Sharaf Zaman.