[krita] 3rdparty/ext_qt: Fix a "bended lines"+AMD+Qt5.6 bug

Dmitry Kazakov dimula73 at gmail.com
Thu Apr 21 09:18:45 UTC 2016


On Thu, Apr 21, 2016 at 12:07 PM, Boudewijn Rempt <boud at valdyas.org> wrote:

>
> I'm afraid this limitation is somewhat technical. The problem is that
>> tablet generates Mouse(!) events too. And in most
>> of the cases these mouse events do not correlate with what we get via
>> native tablet events. It means that if we will
>> start processing mouse events while tablet is in proximity, the lines
>> will become dizzy, because of out-of-order events.
>> What is more, in most of the cases we cannot distinguish real mouse
>> events and the synthesized mouse events generated by
>> the tablet. Right now people in Qt are working on distinguishing them but
>> I'm not sure when and if it is going to work.
>> There are too many variations where and how these synthesized events are
>> generated.
>>
>
> Is that even true if we use a QAbstractNativeEventFilter?
>

I don't know if it is true for XInput2, but in XInput mode the wacom driver
was generating mouse events itself. As far as I know, in XI2 mode we can
unsubscribe from them and synthesize events manually (that is exactly what
Qt 5.5 did). So theoretically it is possible. But I'm not sure how it will
work altogether.


-- 
Dmitry Kazakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kimageshop/attachments/20160421/3f5bdcb3/attachment-0001.html>


More information about the kimageshop mailing list