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

Issue on DragHandler Translation Property

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.14.0
    • Fix Version/s: None
    • Component/s: Quick: Other
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      Hello,

      I think there is a bug on DragHandler translation property.
      It seems that the translation is not reset when the handler go inactive. Then the next drag start with the translation of the previous drag.
      This causes sometimes visual artefacts when implementing a basic rectangle selection.

      See attached a minimalist project to reproduce the issue.

       

      When run the example, you can easily see that during the activation of the first drag, translation is 0 (and this is what I actually expect for all subsequent drags).
      But during the activation of the second drag, translation is not 0 and is the translation of the previous drag.
      This is what causes sometimes visual artefacts when starting dragging. But those artefacts are not always happen. I don't knwo why..

       

      Can you please confirm that this is a bug ? and if it's the case please fix it.

        Attachments

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

          Activity

            People

            • Assignee:
              srutledg Shawn Rutledge
              Reporter:
              nitroboy Nassim NALL
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes