Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Incorrect touch state
Qt 6.11 is out! See what's new in the release blog

Incorrect touch state

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 190 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    drd1988on
    wrote on last edited by
    #1

    Hi
    Iissue is sometimes touch is not detecting we getting error incorrect touchstate. When I analyse the issue this message is in qtbase/src/platformsupport/input/libinput/qlibinputtouch.cpp

    void QLibInputTouch::processTouchDown(libinput_event_touch *e)
    {
    int slot = libinput_event_touch_get_slot(e);
    DeviceState *state = deviceState(e);
    *QWindowSystemInterface::TouchPoint tp = state->point(slot);
    if (tp) {
    qWarning("Incorrect touch state");
    }
    else {
    QWindowSystemInterface::TouchPoint newTp;
    newTp.id = qMax(0, slot);
    newTp.state = Qt::TouchPointPressed;
    newTp.area = QRect(0, 0, 8, 8);
    newTp.area.moveCenter(getPos(e));
    state->m_points.append(newTp);
    }
    }

    Can anyone help me onthis?

    Regards
    Divya R Dharan

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved