Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.3.0 Alpha, 5.3.0 Beta1, 5.3.0 RC1, 5.3.0
-
None
-
8b371173c4fed7df453a0e352af54e3363709d4b (qtdeclarative)
Description
Starting on 5.3, A big regression impacted me.
I have a TabView, and insert tabs dynamically. like:
var component = Qt.createComponent("SearchResultPage.qml"); var tab = tabsView.addTab(item.myTerm, component)
Which works nice on 5.2, however on 5.3 it disappears my tab and crash.
In 5.2, the insertTab had this workaround:
function insertTab(index, title, component) { // 'loader' parent is a pending workaround while waiting for: // https://codereview.qt-project.org/#change,65788 var tab = tabcomp.createObject(loader)
However on 5.3, it was removed.
Putting back the workaround, my applications works nice and stop crashing.
One thing to note is that https://codereview.qt-project.org/#change,65788 was abandoned.
Actually the TabView is completely unusable with constant crashes.
Attachments
For Gerrit Dashboard: QTBUG-37711 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
82164,1 | Fix visual parent ownership with scenes that create windows | stable | qt/qtdeclarative | Status: MERGED | +2 | 0 |