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

Issue on DragHandler Translation Property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.14.0
    • Quick: Other
    • None
    • 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

            srutledg Shawn Rutledge
            nitroboy Nassim NALL
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes