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

QGraphicsItem dragging on high Dpi screen makes the item partly disappear.

    XMLWordPrintable

Details

    • Windows

    Description

      See the example project.

      If the blue rectangle is dragged fast on high Dpi screen it partly disappears.

      This does not occur with non-high Dpi screen.

      If GraphicsView::setViewportUpdateMode(QGraphicsView::FullViewportUpdate); is used the rectangles seem to stay visible on both screen types.

       

      Users example(qr_test.zip) has also been attached.

      Here is the user comment:

      "If you run the example and drag a rectangle fast in a repeatedly circular motion you should notice artefacts.
      it doesnt look like a perfect rectangle anymore - partly disjoint. It seems that if I add the "invalidate()" to "tJvGvScene::mouseMoveEvent()" that the artefact disappears."

       

      Attachments

        1. gr_test.zip
          4 kB
        2. INC1327683.zip
          5 kB
        3. qtbug81859.zip
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bibr Andreas Aardal Hanssen
            tero.pelkonen Tero Pelkonen
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes