← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 799202] Re: wacom stylus jumps with latest xserver-xorg-core

 

The Krita code that deals with tablet events seems to be this in
kis_canvas_controller.cpp:

-----

void KisCanvasController::Private::emitPointerPositionChangedSignals(QEvent *event)
{
    if (!coordinatesConverter) return;
    QPoint pointerPos;
    QMouseEvent *mouseEvent = dynamic_cast<QMouseEvent*>(event);
    if (mouseEvent) {
        pointerPos = mouseEvent->pos();
    } else {
        QTabletEvent *tabletEvent = dynamic_cast<QTabletEvent*>(event);
        if (tabletEvent) {
            pointerPos = tabletEvent->pos();
        }
    }

----

The obvious failure point being that if the argument is neither a mouse
nor a tablet event, then pointerPos is uninitialized. I did not have
time to check yet whether the bug is caused by this or something else
entirely.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/799202

Title:
  wacom stylus jumps with latest xserver-xorg-core

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/799202/+subscriptions


References