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

QCursor::pos() is not updated while dragging a cell in QTableView under Wayland

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.2
    • None
    • Linux/Wayland

    Description

      I noticed that when you query for mouse cursor position while dragging using QCursor.pos() the cursor's position is not updated properly. I attached a test project to reproduce the issue and a video recording of the tests I ran. For comparison, I tested the same code in XWayland and it works as I expected, i.e. the position is properly updated.

      I initially created this bug report in the PySide project but was told it could be a QT core bug. Here is my original ticket https://bugreports.qt.io/browse/PYSIDE-2651

      Unfortunately, I haven't done any C++ coding for a very long while, so I cannot provide a working C++ example, but I hope that the one written in Python could be enough to reproduce the bug.

      Thank you!

      Attachments

        Issue Links

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

          Activity

            People

              liaqi Liang Qi
              roman.shumikhin Roman Shumikhin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes