Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.14.1
-
70ad4042033219d9cafc66f7b6365aa0caeeee3e (qt/qtbase/dev)
-
Bug Fixing Week Q2/2020
Description
In a case where a QMainWindow !isVisible and
- adding new dock widgets
- tabifying the dock widgets
- removing and deleting dock widgets
will result in creation of a new child tab bar each time steps 1-3 are repeated.
Steps to reproduce:
- Run the attached project
- Click "test" button repeatedly
- Observe the output - the number of main window children (QTabBars) keeps increasing on each click
Workaround: call activate on the QMainWindow::layout after step 3 or make it visible at least temporarily
Attachments
For Gerrit Dashboard: QTBUG-83135 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
297808,4 | QMainWindow: don't grow memory when modifying tabbed docks while hidden | dev | qt/qtbase | Status: MERGED | +2 | 0 |
300962,2 | QMainWindow: don't grow memory when modifying tabbed docks while hidden | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |