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

QGraphicsItem Choppy - Redraw Issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.1
    • Widgets: GraphicsView
    • None
    • Windows

    Description

      QGraphicsItem Redraw Bug.mp4

       

      I'm getting choppiness whenever I move anything with QGraphicsItem. It can't be an implimentation flaw on my part. I've followed the documentation and multiple tutorials to the letter.

      The above video is evidence of this glitch coming straight out of one of the Qt Creator Examples called 'FlowLayout'.

      Its even worse on rectangles, pixmaps and anything that uses the QGraphicsItem::ItemIsMovable Flag

       

      I tried calling update(); on MousePress/Release Events

      I tried changing the Cache Modes

      I followed a variety of tutorials on YouTube AND Udemy

      There's definitely a redraw lag here. 

      My computer Specs are second to none (Ryzen 5950X 16 Core CPU, RTX 3090, 64GB RAM etc.) so it's not a hardware issue.

       

      A tutorial from over 10 years ago on Youtube has QGraphicsItem::ItemIsMovable working fine. My suspicion is that it is a Qt 6 issue.

      Attachments

        Activity

          People

            bibr Andreas Aardal Hanssen
            lc12345 Liam Corbett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: