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

QMdiArea::removeSubWindow does not work correctly on QMdiArea::TabbedView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.8.6, 5.4.1
    • None

    Description

      Calling QMdiArea::removeSubWindow to remove the current active sub window on QMdiArea::TabbedView will make the sub windows re-apper, i.e. the tab bars and sub windows are both shown.
      However, remove a unactivated sub window works fine.

      As a workaround, call QMdiArea::activateNextSubWindow() before the remove.

      Attachments

        1. example.png
          19 kB
          Yuance Li
        2. mainwindow.h
          0.8 kB
          Yuance Li
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            peppe Giuseppe D'Angelo
            living365days Yuance Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes