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

Windows11 Style : title bar doesn't highlight for active mdisubwindow

XMLWordPrintable

    • Windows
    • ea88b0e24 (dev), bb4ec722d (6.8), 9a97e78d8 (dev), 49cb3203a (6.8), 2c85e5d22 (dev), 6e29a94b5 (dev), ecc31955f (6.9), 1319dcf47 (6.9), 7ce5b4f48 (6.8), e38834a02 (6.8)

      The new Windows11 style does not highlight the title bars when clicking on different MDI subwindows. It's impossible to tell which subwindow is the active one using this style.

      int main(int argc, char **argv)
      {
          QApplication a(argc, argv);
          auto mdiArea = new QMdiArea;
          auto mdiWin1 = new QMdiSubWindow;
          mdiWin1->setWindowTitle("MDI 1");
          auto mdiWin2 = new QMdiSubWindow;
          mdiWin2->setWindowTitle("MDI 2");
          mdiArea->addSubWindow(mdiWin1);
          mdiArea->addSubWindow(mdiWin2);
          QMainWindow* mainWindow = new QMainWindow;
          mainWindow->setCentralWidget(mdiArea);
          mainWindow->show();
          return a.exec();
      }
      

        For Gerrit Dashboard: QTBUG-130673
        # Subject Branch Project Status CR V

            wladimir.leuschner Wladimir Leuschner
            bmbaum Benjamin Luke Murphy-Baum
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: