Skip to content

KDDockWidgets 2.1.0

Latest
Compare
Choose a tag to compare
@winterz winterz released this 08 May 16:56
· 20 commits to 2.1 since this release

KDDW 2.1 has been released:

500 commits later, KDDW 2.1 offers stability over 2.0, without breaking changes.
2.0 users are advised to upgrade.

While not every modification is listed in the changelog, several notable changes include:

Bug fixes:

  • Fixed dock widget float button when using main window nesting
  • Fixed double-click on titlebar not floating it if auto-hide flag was enabled
  • Fixed auto-hide overlay not updating its position when main window was resized
  • Fixed crash when doing sequential open() and close() calls (#326)
  • Fixed double-click the guest widget would make window float
  • LayoutSaverOption::Skip now honours docked dock widgets
  • Fixed DockWidget::addDockWidgetToContainingWindow() when using nested main windows (#386)
  • Multiple fixes for save/restore when windows are maximized (#499, #477)
  • Several fixes regarding nested main windows

QtQuick:

  • Added API to set affinities via QML (#465)
  • Allow to mix MDI with docking, as already done with QtWidgets
  • Fixed DPI of icons in TitleBar.qml Looks better when using 150% and 200% scalling now.
  • Fixed MDI widgets not raising when clicked on
  • Fixed redock not working when mixing MDI with docking
  • Fixed crash in KDDockWidgets::DockWidgetInstantiator::isFocusedChanged (#501)
  • Fixed several crashes when deleting dock widgets in MDI mode (#472, #473)

QtWidget:

  • Fixed crash when unpinning a window
  • Honours overriding DockWidget::closeEvent() to prevent closing
  • Introduced MainWindowOption_QDockWidgets and MainWindowOption_ManualInit
  • Fixed crashes when restoring dock widgets
  • Improvements for honouring preferred size when calling addDockWidget()

MDI:

  • Don't show resize handles if widget is fixed size
  • Fixed mouse cursor not being restored when dock widgets were overlapping
  • Added Config::setMDIFlags() and MDIFlag_NoClickToRaise

Misc:

  • Updated to nlohmann json v3.11.3, from v3.10.5. Only relevant if you're not using system nlohmann.
  • Added standalone layouting example using Slint
  • Many new configurations are being tested on CI now, in particular, we're running tests against an ASAN
    built Qt and discovered some memory violations which are now fixed.
  • KDDW 2.1 is memory leak free now and it's being tested on CI under valgrind.
  • Added Config::setLayoutSpacing(int)