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. Mouserelease event is not received in pushbutton event handler sometimes with Qt 5.6.3 tslib
Forum Updated to NodeBB v4.3 + New Features

Mouserelease event is not received in pushbutton event handler sometimes with Qt 5.6.3 tslib

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

    Hi,

    Issue: Button’s on the UI QT 5.6.3 widgets application seem to be stuck sometimes when we press and release and found that mousereleaseevent is not received in the application or widget.

    Based on mouse pressed or released event, the stylesheet for pressed and released/normal is applied.

    The target platform uses Qt v5.6.3 with tslib via LinuxFB n the v4.14 linux kernel built with yocto rocko.

    There are penup events received from tslib_test program (like sample.pressure=0 with negative xpos coordinates), not sure if the release event is missed to propagate to the widget with missing coordinates in qtbase/src/platformsupport/input/tslib/qtslib.cpp.

    Is there is any known issue of missing mouse release events in Qt 5.6.3 or any known patch available with qtslib in Qt5.6.3?

    Appreciate for the suggestions in this regard.

    R 1 Reply Last reply
    0
    • R Ramakanth

      Hi,

      Issue: Button’s on the UI QT 5.6.3 widgets application seem to be stuck sometimes when we press and release and found that mousereleaseevent is not received in the application or widget.

      Based on mouse pressed or released event, the stylesheet for pressed and released/normal is applied.

      The target platform uses Qt v5.6.3 with tslib via LinuxFB n the v4.14 linux kernel built with yocto rocko.

      There are penup events received from tslib_test program (like sample.pressure=0 with negative xpos coordinates), not sure if the release event is missed to propagate to the widget with missing coordinates in qtbase/src/platformsupport/input/tslib/qtslib.cpp.

      Is there is any known issue of missing mouse release events in Qt 5.6.3 or any known patch available with qtslib in Qt5.6.3?

      Appreciate for the suggestions in this regard.

      R Offline
      R Offline
      Ramakanth
      wrote on last edited by
      #2

      @Ramakanth Found issue in latest talib version 1.22 where module median depth=3 needs to be set explicitly in ts.conf to avoid negative x values for the pen up event when pressure =0.

      Posting the same incase any one face the issue when Qt5 is configured with -tslib.

      1 Reply Last reply
      1

      • Login

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