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

Infinite loop when undocking a QDockWiget that contains a QTabWidget which has its documentMode property set to true

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • 5.0.2
    • 4.7.1
    • Widgets: Main Window
    • None
    • Mac OS X 10.6.5, smu x64, Cocoa

    Description

      I'm facing an infinite loop when undocking certain QDockWiget. After some investigations, I found out that the problematic dockwidgets were those that contain a QTabWidget which has DocumentMode = true. If I change the property DocumentMode to false, the QDockWidget works just fine, and it can be undocked without problem.

      This bug might be related to a previous bug report that has not been resolved: http://bugreports.qt.nokia.com/browse/QTBUG-14365

      This bug does not exist on Windows.

      In order to reproduce this bug:

      • unzip the attached archive test-dockwidget.zip
      • build test-dockwidget.pro on Mac OS X 10.6, with Qt Cocoa binaries
      • launch the application
      • try to undock the dockable widget => the application should crash
        => if you set DocumentMode to false on the tabwidget contained in the dockwidget, there is no more crash

      Attachments

        1. crash.log
          76 kB
        2. test-dockwidget.zip
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cduclos Carlos Duclos (Inactive)
            blackfil Philippe Docourt
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes