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

paint() being called before polish() in QGraphicsWidget

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.6.1
    • 4.6.0
    • Widgets: GraphicsView
    • None
    • 671fb279defa0a97c38c28dded767f58c67f9dac

      Product
      Qt
      Function
      Painting
      Version
      4.6.0-tp
      Platform
      Windows XP
      Platform details
      Windows XP, SP3
      Compilers
      MSVC
      Compiler details
      Visual Studio 2008, SP1
      Subject
      paint() being called before polish() in QGraphicsWidget
      Steps to reproduce / test case
      The problem can be verified with examples\animation\animatedtiles. If I add
      void polishEvent()
      {
      QGraphicsWidget::polishEvent();
      }
      to Button and start the example application, paint() is being called before first polishEvent().

      If the same application is compiled with Qt 4.5.3 (QState related code needs to be stripped out),
      everything works as expected.

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

            bjnilsen Bjørn Erik Nilsen
            edie Daron Andrew Edie (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes