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

QPainter warnings when docking/undocking QDockWidget in QMainWindow when .svg icon set on QMainWindow.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 4.8.1
    • GUI: Painting
    • None
    • Linux, CentOS 6.2, GNOME 2.28.2

    Description

      Setting a .svg image as a QMainWindow's icon, causes the following warning messages to be output when a QDockWidget within the QMainWindow is docked/undocked.

      QPainter::begin: Paint device returned engine == 0, type: 3
      QPainter::save: Painter not active
      QPainter::setPen: Painter not active
      QPainter::setBrush: Painter not active
      QPainter::setRenderHint: Painter must be active to set rendering hints
      QPainter::setRenderHint: Painter must be active to set rendering hints
      QPainter::brush: Painter not active
      QPainter::setBrush: Painter not active
      QPainter::pen: Painter not active
      QPainter::pen: Painter not active
      QPainter::setPen: Painter not active
      QPainter::opacity: Painter not active
      QPainter::brush: Painter not active
      QPainter::pen: Painter not active
      QPainter::setPen: Painter not active
      QPainter::setOpacity: Painter not active
      QPainter::drawPath: Painter not active
      QPainter::setPen: Painter not active
      QPainter::setOpacity: Painter not active
      QPainter::setBrush: Painter not active
      QPainter::setPen: Painter not active
      QPainter::restore: Unbalanced save/restore
      QPainter::end: Painter not active, aborted

      Discussed here: http://code.google.com/p/spyderlib/issues/detail?id=1314

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            ianlawson1234 Ian Lawson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes