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

Touchscreen Events Fail Post-Dialog Interaction

XMLWordPrintable

    • Linux/X11

      I am encountering a bug in a Qt application involving touchscreen interactions. The application includes a button on a form that opens a messagebox with an "OK" button. The device running the application has a touchscreen interface.

      Issue: In Qt version 5.15.2 and later (including Qt 6.7.1), the application sometimes stops responding to touch events after interacting with the messagebox. However, it continues to respond to mouse clicks. This issue does not occur in Qt version 5.15.1, where the application consistently responds to touch events.

      Reproduction Steps:

      1. Add a button to a form that opens a messagebox with an "OK" button.
      2. Run the application on a touchscreen device.
      3. Interact with the messagebox using the touchscreen.

      Observations:

      • The application becomes unresponsive to touch events after the messagebox interaction.
      • The issue arises when a new dialog is created and destroyed. If the dialog is only hidden and shown, the problem does not occur.

      Impact: This bug significantly affects the usability of the application on touchscreen devices, as users cannot interact with the application via touch after encountering this issue.

      Additional Information:

      • The problem is reproducible in Qt 5.15.2 and later versions, including Qt 6.7.1.
      • The issue does not occur in Qt 5.15.1.

      Attachments:

      • Video demonstrating the issue
      • Relevant code snippets

        1. code.tar.gz
          2 kB
        2. Video.mp4
          4.77 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            srutledg Shawn Rutledge
            nikitat NIKITA TURKMEN
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes