When trying to undock a dock widget, the UI gets broken as shown in https://invent.kde.org/education/labplot/-/issues/1067. A similar discussion has happened here already in #288.
The comment in https://invent.kde.org/education/labplot/-/issues/1067#note_1128693 summarizes the problem and also points to how this problem was addressed for toolbars and dock widgets in Qt.
When trying to undock a dock widget, the UI gets broken as shown in https://invent.kde.org/education/labplot/-/issues/1067. A similar discussion has happened here already in #288.
The comment in https://invent.kde.org/education/labplot/-/issues/1067#note_1128693 summarizes the problem and also points to how this problem was addressed for toolbars and dock widgets in Qt.