Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    How to "compensate" for touch lag time?

    General and Desktop
    1
    1
    524
    Loading More Posts
    • 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.
    • S
      SteveG last edited by

      I have a QML app with objects moving around the screen that I'm creating with Qt 5.4 and Qt Creator 3.3.0 and I want to be able to destroy or change an object when it's touched. When I run the app on Windows 8 and click the objects with the mouse, everything works as expected. However, when I run the same app on an Android device and touch the objects, I'm experiencing some problems due to touch lag time (i.e., a delay between the time the screen is touched and the time a signal/event is recognized by the device). This lag delay apparently occurs on every mobile device and is usually in the 50-300 msec range, depending upon the device, and also appears to vary over time based on both software and hardware factors. The problem seems to be more pronounced when the objects more more quickly. Is there any way for QML or Qt to compensate for this lag time on mobile devices? Is there anything I can do?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post