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

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

    XMLWordPrintable

Details

    • Linux/Yocto, Linux/Other display system

    Description

      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.

      Attachments

        1. Qt6WidgetEdgeTest.zip
          3 kB
          Chakib Boutaghane

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes