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

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.4.2, 5.5.0
    • Fix Version/s: 5.12.0 Beta 4
    • Component/s: QPA
    • Environment:
      Mac OS X 10.10, Qt 5.4.2, Qt 5.5.0
    • Platform/s:
      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

            • Assignee:
              sorvig Morten Sørvig
              Reporter:
              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