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

Undocking tabbed widget from main window onto the floating window crashes app

XMLWordPrintable

    • Linux/X11, macOS
    • bbeff2a33 (dev), fd242e8ce (6.6), c02f8b9d4 (dev), c93ab8c2a (dev), 6e367fbb3 (6.6), b65e1141d (6.6), 2c96f5177 (dev), de5925b15 (6.6), 17372faf3 (dev), 66faeb99f (tqtc/lts-6.5), e6d85cf28 (dev), 320010bef (tqtc/lts-6.5), 7b3cf6177 (tqtc/lts-6.5)

      Given a QMainWindow with two tabbed QDockWidgets, if you follow these steps, the app will crash unexpectedly:

      1. Launch the sample application. A main window with two docked group widgets will show.
      2. Undock one of the tabbed widgets by dragging the tab outside the main window to show a floating window with the tab contents.
      3. Undock the other tabbed widget from the main window and try to dock into the previously created floating window.
      4. Observe that the app crashes.

      Minimal reproducer app , Recording and stack trace attached.

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

            axelspoerl Axel Spoerl
            kkyzivat Keith Kyzivat
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: