Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2651

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.6.2
    • PySide
    • None
    • Linux/Wayland

      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.

      Please note that the test project was created just to demonstrate the bug, I am not using QCursor in the dragMove event in my project like this

        1. qcursor-pos-bug.tar.gz
          1 kB
          Roman Shumikhin
        2. qcursor-pos-bug.mp4
          3.86 MB
          Roman Shumikhin
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            crmaurei Cristian Maureira-Fredes
            roman.shumikhin Roman Shumikhin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes