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

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

    XMLWordPrintable

Details

    • Windows
    • ea88b0e24 (dev), bb4ec722d (6.8), 9a97e78d8 (dev), 49cb3203a (6.8)

    Description

      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();
      }
      

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews