Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-121394

Linux/Yocto: Touch issue on screen border: "no target window error"

XMLWordPrintable

    • Linux/Yocto, Linux/Other display system

      Steps to reproduce the issue:

      1. Build and run the calculator example from QtCreator.
      2. run the command "libinput debug-events"
      3. Attempt to click on one of the three numbers (9, 6, 3) very close to the border; you will notice that clicking does not input these numbers. Additionally, if you try to drag the text field from the bottom again very close to the border, you will encounter a "no target window" error.

      I believe that the issue lies in the x-coordinate values: the library returns values ranging from 1 to 1024, whereas on the Qt side, we're dealing with coordinates ranging from 0 to 1023 pixels.

       

      Update:

      1-Build and Run the attached example project

      2-When pressing the touch screen on the furthest right-hand side of the device, the touch events are not delivered to the button as expected.

      Furthermore, when touch events enter from this side, by sliding a finger from outside the screen to inside, the touch events never register (in the button). Note that on the other 3 sides of the screen touch (click/press) events occur when dragging a finger from outside the screen to inside the screen.

        1. Qt6WidgetEdgeTest.zip
          3 kB
          Chakib Boutaghane
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            srutledg Shawn Rutledge
            chakib Chakib Boutaghane
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes