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

Docking/undocking tabbed QDockWidgets result in a crash

    XMLWordPrintable

Details

    • macOS

    Description

      See attached video: Repeatedly undocking/docking tabbed QDockWidgets crash the application, in this case, the minimally modified qtbase/tests/manual/examples/widgets/mainwindows/dockwidgets example.

       

      The only change I made was enabling these flags in the MainWindow's constructor:

       

      setDockOptions((QMainWindow::DockOptions)(AllowNestedDocks | AllowTabbedDocks | GroupedDragging));

       

      Please see the diff for the same changes: https://github.com/tamaskenezlego/qtbase/compare/6.8.1...qdockwidgets_crash

      Also, the zipped sources are attached.

      [^Screen Recording 2024-12-05 at 13.32.58.mov]dockwidgets.zip

      Attachments

        1. dockwidgets.zip
          13 kB
          Tamas Kenez
        2. qdockwidgets_crash_720_low.mp4
          6.79 MB
          Tamas Kenez
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vestbo Tor Arne Vestbø
            tamas_kenez Tamas Kenez
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes