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

paint() being called before polish() in QGraphicsWidget

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes