Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [QT5.12.1][VirtualKeyboard] some keypresses get canceled

[QT5.12.1][VirtualKeyboard] some keypresses get canceled

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 1 Posters 178 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.
  • N Offline
    N Offline
    nedrez
    wrote on last edited by
    #1

    Hi,
    I have been noticing a really disturbing phenomena using virtualkeyboard:
    some keypresses get randomly "cancelled", otherwise, user presses on a button but nothing
    is displayed.
    It seems that, internally, the keypress gets canceled by the qt framework.
    I see the same problem with the "qt quick virtual keyboard" example provided with qt creator.

    For the record, the app is compiled for armv7, on a device equipped with a touchscreen.
    The qt documentation states that this event is "triggered" upon user request, but the app
    is not requesting it. There might some internal condition that generates this cancellation. What
    could these conditions be?

    Best regards,

    1 Reply Last reply
    0
    • N Offline
      N Offline
      nedrez
      wrote on last edited by
      #2

      Here's the answer in case anyone has the same problem:
      The project on which i am working relies on tslib input backend to capture events from touchscreen. In average, one of six samples retreived by tslib was "noisy" hence the problems explained above.
      Solution was to use variance tslib plugin which gets rid of "noise samples"

      1 Reply Last reply
      2

      • Login

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