Debian Codegraph @

Changelog

raw
1 * v2.4.0
2 - qtquick: Expose DockWidgetOptions to QML
3 - qtquick: Expose 'DockWidget::lastCloseReason' to QML
4 - qtquick: Add DockWidgetInstantiator::deleteDockWidgetLater
5 - qtwidgets: Support tabs in south location
6
7 * v2.3.0
8 - For packagers:
9 - KDDockWidgets now looks for Qt6 by default, rather than Qt5. If your Qt5
10 build broke, pass -DKDDockWidgets_QT6=OFF to CMake
11 - Library soname bump
12 - New dependency on QtGuiPrivate (for qtx11extras_p.h header), on Linux
13 - qtquick: Add QtQuick::IndicatorWindow::setQuickWindowCreationCallback
14 - qtquick: Add support for building as a QML module and fixed all qmllint warnings
15 - qtquick: Add support to use as QML plugin without requiring C++ or explicit linking
16 - qtquick: User no longer needs to call KDDockWidgets::initFrontend() if you're using QGuiApplication instead of QApplication
17 - qtquick: Implement QML api for Config::setDockWidgetFactoryFunc
18 - Add MainWindowOption_CentralWidgetGetsAllExtraSpace
19 - Internal nlohmann bumped to v3.12
20 - QtWidgets::ViewFactory::createTitleBarButton() is now virtual
21 - qtwidgets: Fix crash when undocking (#661)
22 - Support window managers without translucency in Qt 6 (#629)
23 - Add Config::Flag_DisableDoubleClick
24 - Don't steal QStyle ownership from QApplication
25 - Added Core::DockWidget::setUserData(QVariantMap)
26 - Fixed static build when using QML module
27 - Wayland: Fix dropping over dock widgets that also accept drops, like nested QQuickWidget (#658)
28
29 * v2.2.5
30 - Fix version being reported as 2.2.3
31
32 * v2.2.4
33 - Fix crash when using QAction to float tabs
34
35 * v2.2.3
36 - Fix potential crash found by ASAN
37
38 * v2.2.2
39 - Fix submodule url. Changed from SSH to HTTPS. This is only important for
40 people cloning from a git tag. v2.2.1 tarball is identical otherwise.
41
42 * v2.2.1
43 - Fix linking against static KDDW (#557)
44
45 * v2.2.0
46 - qtquick: Add support for MainWindowOption_HasCentralWidget
47 - qtquick: Add QtQuick::FloatingWindow::setQuickWindowCreationCallback
48 - Add Config::setDockWidgetTabIndexOverrideFunc() (#165)
49 - Allow to redock back to a floating window (#280)
50 - Add KDDockWidgets::controllersToViews (#526)
51 - Add Config::setTabsAtBottom()
52 - Fix case where persistent central widget would detach when dragged
53 - Fix windows having transparency when drop indicators inhibited
54 - Fix case where persistent central widget would detach when dragged
55 - Allow to build against external KDBindings
56 - Fix restore layout of nested main windows (#508)
57 - Fix restore maximized window corner case (#553)
58
59 * v2.1.0 (08 May 2024)
60 - Added standalone layouting example using Slint
61 - Fixed DPI of icons in TitleBar.qml Looks better when using 150% and 200% scalling now.
62 - QtQuick: Fixed redock not working when mixing MDI with docking
63 - QtQuick: Allow to mix MDI with docking, as already done with QtWidgets
64 - QtQuick: Fixed MDI widgets not raising when clicked on
65 - QtQuick: Added API to set affinities via QML (#465)
66 - MDI: Don't show resize handles if widget is fixed size
67 - MDI: Fixed mouse cursor not being restored when dock widgets were overlapping
68 - MDI: Added Config::setMDIFlags() and MDIFlag_NoClickToRaise
69 - QtWidgets: Introduced MainWindowOption_QDockWidgets and MainWindowOption_ManualInit
70 - QtWidgets: Honours overriding DockWidget::closeEvent() to prevent closing
71 - QtWidgets: Fixed crash when unpinning a window
72 - Fix crash when doing sequential open() and close() calls (#326)
73 - Fix double-clicking the guest widget would make window float
74 - 3rdparty: Update to nlohmann json v3.11.3, from v3.10.5. Only relevant if you're not using
75 system nlohmann.
76 - Fixed dock widget float button when using main window nesting
77 - Fixed auto-hide overlay not updating its position when main window was resized
78 - Fixed double-click on titlebar not floating it if auto-hide flag was enabled
79 - Added Config::setLayoutSpacing(int)
80 - LayoutSaverOption::Skip now honours docked dock widgets
81 - Fixed DockWidget::addDockWidgetToContainingWindow() when using nested main windows (#386)
82
83 * v2.0.0 (05 December 2023)
84 - Architecture rewrite to support more frontends besides QtWidgets and QtQuick.
85 2.0 isn't very interesting for users, but will allow developers to make KDDW
86 support other GUI frameworks more easily. Also QtQuick is now better integrated,
87 without being shoehorned with ifdefs into the QtWidgets implementation.
88 - Split into a view/controller architecture
89 - Non-gui logic moved to controllers
90 - Each controller has a gui counter part, implemented for each supported frontend
91 - Uses nlohmann JSON library (MIT) instead of QJsonDocument, for saving/restoring layouts
92 - Added Config::setStartDragDistance()
93 - Removed Config::setTabbingAllowedFunc() which was already deprecated in favor of Config::setDropIndicatorAllowedFunc()
94 - Slint and Flutter WIP. Waiting for these frameworks to support multi-window before finishing.
95 - Blacklisted Qt 6.6.1 and 6.5.3 on Windows due to QTBUG-117704
96
97 * v1.7.1 (unreleased)
98 - Fixed pin button appearing by mistake when using Flag_TitleBarNoFloatButton (#359)
99 - Added Config::Flag_AutoHideAsTabGroups, which allows all tabs to go to/from sidebar at once.
100 - Fixed resize gap of auto-hide overlay resize on its left border
101 - Blacklisted Qt 6.6.1 and 6.5.3 on Windows due to QTBUG-117704
102
103 * v1.7.0 (03 May 2023)
104 - Introduce DockWidget::setFloatingWindowFlags(flags). Allows for different
105 FloatingWindows to have different window flags. For example, some having
106 Qt::Tool while others having Qt::Window (#314).
107 - Fixed fixed-sized windows being able to be resized on Windows (#345)
108 - Allow restoring layouts without touching floating dock widgets
109 - Fix setDropIndicatorsInhibited(false) not showing drop indicators (#334, #337)
110 - Fix relayouting when dock widget is deleted directly (#336)
111 - Minor performance improvement: Cache TitleBar icons
112 - Save side bar overlay geometry when frame is resized
113 - Fixed case of corrupt layout when using setDockWidgetFactoryFunc()
114 - Fix layout scaling factor when main window is native
115 - Fix moving floating windows to negative positions (#321)
116 - Fixed using normal geometry of platform window if fractional scaling is enabled
117 - Allow to specify Qt::Tool or Qt::Window per floating window
118
119 * v1.6.0 (14 September 2022)
120 - Minimum Qt6 version is now 6.2.0
121 - Minimum CMake version is now 3.12.0
122 - Fixed restoring of normal geometry when closing a maximized window (#259)
123 - Experimental support for docking into dock widgets which are in a MDI area.
124 - Fixed potential crash involving infinite loop between QWidget::create() and QWidget::createWinId()
125 - Moved DropIndicatorOverlayInterface::DropLocation enum to KDDockWidgets namespace scope
126 - Added Config::setDropIndicatorAllowedFunc() and corresponding example
127 (kddockwidgets_example --hide-certain-docking-indicators)
128 - Fixed case where unfloating wouldn't restore to the main window (#44 and #96)
129 - Fixed MainWindow not propagating close events to docked widgets
130 - X11: Improved detecting which window is under the cursor, by using native X11 API
131 - X11: Fixed dragging a maximized floating window. Its size is now restored to normal size when the drag starts.
132 - Added DockWidgetBase::currentTabIndex()
133 - Added InitialVisibilityOption::PreserveCurrentTab
134 - Added MainWindow::internalLayout() for advanced customization
135
136 * v1.5.0 (24 November 2021)
137 - Install the Python bindings to "site-packages"
138 - The Python bindings for Qt6 use the "PyKDDockWidgetsQt6" namespace
139 - Co-installable with Qt6
140 - Adds support for non-detachable central widget, MainWindowOption_HasCentralWidget. (#225)
141 - Fix corrupt layout when restoring old JSON
142 - Fix "Unpin" button not showing up in overlayed widgets
143 - Minimum Qt version is now 5.15
144
145 * v1.4.0 (16 July 2021)
146 - No longer supports Qt versions less than 5.12
147 - Experimental MDI support. By using MainWindowMDI you can now have "docked" dock widgets
148 which are free to be arbitrarily positioned and even overlapped inside the main window.
149 - TitleBar's height is now controlled by sizeHint() instead of hardcoded.
150 If you haven't overridden TitleBar or just inheriting from TitleBarWidget then there's nothing to do,
151 as TitleBarWidget already reimplements sizeHint. If you're inheriting directly from TitleBar then make
152 sure to provide a sizeHint.
153 - Added MainWindow::closeDockWidgets()
154 - Fixed crash in MainWindow::layoutEqually()
155 - QtQuick: Added more declarative API
156 - FloatingWindow now honours the dockwidget's max-size, if there's a single
157 dock widget docked. Tabbed cases are more difficult since QStackedLayout doesn't
158 propagate size constraints.
159 - Added MainWindowBase::groupCountChanged()
160 - Introduced Config::setDropIndicatorsInhibited(), which allows you to disable support
161 for drop indicators while dragging.
162 - Fixed embedding the main window into a non-kddw main window (#204, #168)
163 - Fixed crash with an MFC application
164 - Allows to disable translucency via the KDDW_NO_TRANSLUCENCY env var, useful
165 in case running on weird Window Managers.
166 - Added Flag_ShowButtonsOnTabBarIfTitleBarHidden, which can be used when using Flag_HideTitleBarWhenTabsVisible.
167 The close and float buttons will be shown directly in the tab-bar.
168 - Fixes persistent central frame being invisible after closing all tabs (#220)
169 - Added python bindings for the InitialOption struct (#198)
170 - Generate and install camelcase forwarding headers (public, exported classes)
171 - Build in Release mode by default (in non-developer situations)
172
173 * v1.3.1 (7 June 2021)
174 - Improve restoring layout when RestoreOption_RelativeToMainWindow is used (#171)
175 - Improved dragging windows across screens in mixed hdpi setups
176 - Fixed Flag_NativeTitleBar not hiding the client title bars when restoring (#170)
177 - Double clicking a native title bar of a Qt::Tool window will now redock the window (#173)
178 - Size of FloatingWindow now accounts for the fact that it's using Flag_NativeTitleBar and
179 resizes its content accordingly (#174)
180 - Fixed popups on overlayed dock widgets not working
181 - Don't restore maximized state when using RestoreOption_RelativeToMainWindow (#184)
182
183 * v1.3.0 (8 February 2021)
184 - Experimental QtQuick support (#49)
185 - Added static DockWidgetBase::byName() (#126)
186 - The enum KDDockWidgets::AddingOption has been deprecated, use
187 KDDockWidgets::InitialVisibilityOption instead
188 - You can now pass a preferred initial size to MainWindow::addDockWidget() (#95)
189 - Added DockWidgetBase::Option_DeleteOnClose
190 - Added Config::Flag_CloseOnlyCurrentTab
191 - PySide6 support
192 - Layout restorer now restores maximzied/minimized state too (#81)
193 - Fixed dock indicators sometimes not appearing on Windows (#103)
194 - Fixed Flag_NativeTitleBar not working
195 - Fixed drag offset when dragging too fast with mouse
196 - Fixed bug where last tab index position wouldn't be remembered in case user
197 had manually reordered tabs (#154)
198 - Fixed crash when hosting a QQuickWidget (#150)
199 - Fixed CMake Visual Studio generator not working
200 - Sidebar overlays now maintain their size when toggled (#155)
201 - Added DockWidget::setFloatingGeometry() (#144)
202
203 * v1.2.1 (6 February 2021)
204 - Support for resizing dock widgets when they are in overlay/popup mode (autohide/sidebar feature)
205 - Fixed title bar close button enabled state not being restored with Layout saver (#137)
206 - Installs a version header (kddockwidgets_version.h) that defines a version string and other useful versioning macros (#138)
207 - DockWidgetBase::eventFilter() is protected instead of private (regression vs v1.1) (#148)
208 It's recommended that you rebuild your application when updating KDDW, as MSVC encodes private/protected in the name mangling.
209 - Fixed WASM build on Windows (#163)
210 - Fixed sidebar overlay not getting hidden when clicking on the main window docking area (#157)
211
212 * v1.2.0 (17 December 2020)
213 - Wayland support
214 - Added Flag_KeepAboveIfNotUtilityWindow, so you can have keep above even if
215 floating window is shown in the task-bar.
216 - Added DockWidget::windowActiveAboutToChange() signal
217 - Added support for Qt6 (PySide6 support is lacking)
218 - Added WASM support
219
220 * v1.1.1 (11 December 2020)
221 - Windows: Fixed a crash when clicking on the close button for floating windows in some situations (#110)
222 - Don't show dock/undock icon when dockwidget is not dockable (#99)
223
224 * v1.1.0 (26 October 2020)
225 - New drop indicator style type: Segmented Indicators
226 - Windows: Drop Shadow for floating windows
227 - Added AutoHide / SideBar support
228 - Added FocusScope support
229 - Added DockWidget::isFocused() and DockWidgetBase::isFocusedChanged()
230 - Added Config::Flag_AlwaysTitleBarWhenFloating, which complements Flag_HideTitleBarWhenTabsVisible
231 - Added Config::Flag_DontUseUtilityWindowsForFloating
232 - Added Config::Flag_TitleBarHasMinimizeButton
233 - Added Config::Flag_TitleBarNoFloatButton
234 - Added Config::Flag_AutoHideSupport
235 - Added Config::setTabbingAllowedFunc(TabbingAllowedFunc func)
236 - HDPI improvements, new high-res icons
237 - Bugfixes:
238 - Windows: Fixed windows not having proper minimum size.
239 - Windows: Fixed moving windows across screens with different DPI (#72)
240 - Don't center floating windows if the user set a custom position (#75)
241 - Fixed floating window's title not being correct (#74)
242 - Fixed focus scope not reacting when clicking on current tab (#71)
243 - Fixed floating window borders not being rendered correctly on HDPI due to rounding errors.
244 - cmake/Python - don't require pkg-config, only use if available (#68)
245
246 * v1.0.0 (2 September 2020)
247 - PySide2 bindings
248 - Rewrote the layouting engine, resulting in a huge stability gain and makes it easy to add new features
249 - Honour min/max sizes and some QSizePolicy heuristics
250 - Lazy resize (resize only when dropping the separator)
251 - Native Windows dragging (supporting Aero-snap)
252 - Allow to hide TitleBar and just show tabs. Allow dragging via the tab bar.
253 - Reordering tabs with mouse
254 - Partial layout save/restore (affecting only a subset)
255 - Double-click on title bar to maximize
256 - Maximize button on the title bar
257 - HDPI: Relative layouting restore
258 - Allow to make a dock widget non-closable and non-dockable
259 - Show close button on tabs
260 - Multiple Main Window support
261 - Allowing to dock on different parents
262 - Support for affinities, making some dock widgets only dockable on certain main windows
263 - 200 unit-tests
264 - Fuzzer which found plenty of crashes in the old layouting engine
265 - ASAN fixes
266 - Double click on separator to distribute equally
267 - Hovering over an indicator returns the true size that the dropped widget will get
268 - Static build support
269 - Namespaced Qt support
270 - Dozens of crash fixes, bugs and much more...
271
272 * v0.1 (4 November 2019)
273 - Initial Release and blog