Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.1.1, 5.2.0, 5.4.0, 5.5.0 Alpha
-
Mac, Windows, Linux
-
qtdeclarative:8018c4b6e7743c576a3548f6e73e588f19f632a9
Description
I am using an asynchronous Loader to load Qml components on demand.
When using ComboBox (QtQuick.Controls) in the loaded component, it fails to use its model. A minimal example is attached below.
With 5.1.1 (Windows 7, VS 2012 32bit) the combobox popup is empty and very small (about 1×1 px). The application keeps running.
I was able to reproduce the issue with Qt 5.2.0 in Debian Linux using Virtual Box.
If 3D acceleration is disabled (Virtual Box setting, mesa takes over i guess) the example works just fine. If 3D acceleration is enabled, the application crashes.
Please tell me if you need more information to reproduce this bug.
update
I simplified the example and removed the need for Controls. It can be reproduced with a basic Instantiator like this:
import QtQuick 2.2 Loader { asynchronous: true sourceComponent: Instantiator { model: 3 ; Item{}} }
Attachments
Issue Links
- is duplicated by
-
QTBUG-37503 App crashes when using ComboBox in asynchronous Loader
-
- Closed
-
- replaces
-
QTBUG-35989 Qt Quick apps crash when ComboBox is given a model
-
- Closed
-
-
QTBUG-39228 Combobox in async Loader causes a crash
-
- Closed
-