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

Restoring window with Qt::FramelessWindowHint causes flickering

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.10.1
    • None
    • Qt 5.10.1 msvc2015_x64, Windows 10 x64

      I creating dialog which is borderless and have toolbar button:

      #include <QWidget>
      #include <QApplication>
      
      int main(int argc, char*argv[])
      {
      	QApplication app(argc, argv);
      
      	QWidget f1(nullptr,  Qt::FramelessWindowHint | Qt::WindowMinimizeButtonHint);
      	f1.show();
      	return app.exec();
      }
      

      When I restore dialog by clicking on toolbar, I see flickering title before expand.
      It's most minimal example, I've tried many other combinations of widgets/flags/styling.

      Bug was noticed by our customer, so it rather annoying.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mapron Smirnov Vladimir
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes