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

[REG: Qt 5.4.1-> Qt 5.4.2] Floating QDockWidget with custom titlebar-widget flickers while resizing (Mac OS X)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.12.0 Beta 4
    • 5.4.2, 5.5.0
    • QPA
    • Mac OS X 10.10, Qt 5.4.2, Qt 5.5.0
    • macOS

    Description

      We've compiled "Main Window" from the Qt examples. The blue QDockWidget is using a customized tool-bar (subclass of QWidget). When the dock-widget is undocked it flickers while resizing it.
      The other QDockWidgets within the example work like a charm. If we outcomment

      BlueTitleBar *titlebar = new BlueTitleBar(swatch);
      swatch->setTitleBarWidget(titlebar);
      connect(swatch, SIGNAL(topLevelChanged(bool)), titlebar, SLOT(updateMask()));
      connect(swatch, SIGNAL(featuresChanged(QDockWidget::DockWidgetFeatures)), titlebar, SLOT(updateMask()), Qt::QueuedConnection);
      

      also the blue widget's resize-behaviour is fine.

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            ChristophLSI Christoph Eberz
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes