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

xcb: Synthesized mouse from touch gets stuck

XMLWordPrintable

    • Linux/X11

      I have witnessed the application failing to synthesize any mouse events after an arbitrary running time, this rendering the QApplication inoperable, as those machines have no physical mouse. After a restart of the application (which, also restarts X11), the mouse events return for a while; there seems to be no rhyme or reason what triggers this behaviour; sometimes, this does not happen for days, sometimes it can occur within minutes of application startup.

      I couldn't reproduce it in gnome. In gnome you can't click quickly because there are effects.

      For reproduce you can use xfce4 or openbox desktop except gnome.

       

      it occurs if you open QDialog and remove layer.

      Qt 5.13.2

      https://www.veed.io/view/5210b05a-4d35-4788-9017-82dca381b9d2

       

      Qt 5.15.2 - 6.3.1

      https://www.veed.io/view/645f04ec-b389-4a43-97b2-a97eabf63685

       

      i use python but i tried standard c++ version too same result.

       

       

      I am sharing the python code. I just open a message box and when we close it quickly the touch starts to hang. It never works again until I restart the app, same for c++.

      If I set the Qt::WA_DeleteOnClose flag to false and ı create a messagebox and change the message each time and display the object without killing it, this problem does not occur. But if the dialog is closed and deleted, this error starts to happen.

       

      ı found similar bug https://bugreports.qt.io/browse/QTBUG-98519  but the bug still persists

       

        1. QT.6.3.1.cpp.mp4
          2.88 MB
        2. Qt.5.15.2_demo.mp4
          5.27 MB
        3. Qt.5.15.1_demo.mp4
          9.18 MB
        4. pyside6.3.1pyside5.15.2.mp4
          3.83 MB
        5. pyside2.5.13.2.mp4
          2.85 MB
        6. MsgBoxCPP.zip
          4 kB
        7. main.py
          0.4 kB
        For Gerrit Dashboard: QTBUG-104771
        # Subject Branch Project Status CR V

            axelspoerl Axel Spoerl
            nikitat NIKITA TURKMEN
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes