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

QPlaceHolderItem is not deleted when calling QDockAreaLayoutInfo::deleteAllLayoutItems()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.9.3
    • Widgets: Layout
    • None
    • Windows

      Using save-/restoreState operation in some cases I was wondering why the saved byte stream growth. This happens, when playing with dockables that are created dynamically during runtime and the number varry from time to time.

      I noticed that the QPlaceHolderItems are not deleted in all cases. A QPlaceHolderItem is only deleted when calling QDockAreLayout::restoreDockWidget explicitly.

      Using dockables dynamically it would be helpful to have more control over the QPlaceHolderItems within the specific layout objects of the main window. 

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            fonsissimo Alfonso Gambuzza
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes