QML Scene does not reliably start
Bug #1179716 reported by
Rick Spencer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Invalid
|
High
|
Unassigned |
Bug Description
I get this from QtCreator or when I run directly from the command line.
Steps:
1. Create a Ubuntu App in QtCreator
2. Click Run
Results:
The app window frame loads, but the QML scene within it may or may not run. Sometimes it takes several runs until the window loads. Waiting for the window to load does not seem to work.
Expected:
The QMLScene loads reliably
NOTE: This bug is not specific to QtCreator or qmlscene. The same bug has been observed in custom QML applications.
Changed in touch-preview-images: | |
status: | New → Confirmed |
Changed in touch-preview-images: | |
assignee: | Juhapekka Piiroinen (juhapekka-piiroinen) → nobody |
affects: | touch-preview-images → ubuntu-ui-toolkit (Ubuntu) |
tags: | added: touch-preview-images |
affects: | ubuntu-ui-toolkit (Ubuntu) → ubuntu-ui-toolkit |
To post a comment you must log in.
I see that when it does work, there is a lot of garbage in the Application Output window. The first few blocks that end with "/usr/lib/ x86_64- linux-gnu/ qt5/bin/ qmlscene exited with code 0" are runs where the window did not load properly. The one with all the GLib warnings was a run where the window *did* load.
Starting /usr/lib/ x86_64- linux-gnu/ qt5/bin/ qmlscene -I /home/rick/ Projects/ SoundBoard -I /usr/bin -I /usr/lib/ x86_64- linux-gnu/ qt5/qml /home/rick/ Projects/ SoundBoard/ SoundBoard. qml x86_64- linux-gnu/ qt5/bin/ qmlscene exited with code 0
QQmlComponent: Component is not ready
/usr/lib/
Starting /usr/lib/ x86_64- linux-gnu/ qt5/bin/ qmlscene -I /home/rick/ Projects/ SoundBoard -I /usr/bin -I /usr/lib/ x86_64- linux-gnu/ qt5/qml /home/rick/ Projects/ SoundBoard/ SoundBoard. qml x86_64- linux-gnu/ qt5/bin/ qmlscene exited with code 0
QQmlComponent: Component is not ready
/usr/lib/
Starting /usr/lib/ x86_64- linux-gnu/ qt5/bin/ qmlscene -I /home/rick/ Projects/ SoundBoard -I /usr/bin -I /usr/lib/ x86_64- linux-gnu/ qt5/qml /home/rick/ Projects/ SoundBoard/ SoundBoard. qml x86_64- linux-gnu/ qt5/bin/ qmlscene exited with code 0
QQmlComponent: Component is not ready
/usr/lib/
Starting /usr/lib/ x86_64- linux-gnu/ qt5/bin/ qmlscene -I /home/rick/ Projects/ SoundBoard -I /usr/bin -I /usr/lib/ x86_64- linux-gnu/ qt5/qml /home/rick/ Projects/ SoundBoard/ SoundBoard. qml
QQmlComponent: Component is not ready
(qmlscene:13042): GLib-GObject- WARNING **: cannot register existing type `GIOCondition'
(qmlscene:13042): GLib-GObject- WARNING **: /build/ buildd/ glib2.0- 2.36.0/ ./gobject/ gtype.c: 4239: type id `0' is invalid
(qmlscene:13042): GLib-GObject- WARNING **: can't peek value table for type `<invalid>' which is not currently referenced
(qmlscene:13042): GLib-GObject- WARNING **: /build/ buildd/ glib2.0- 2.36.0/ ./gobject/ gvalue. c:190: cannot initialize GValue with type `(null)', this type has no GTypeValueTable implementation
(qmlscene:13042): GLib-GObject- CRITICAL **: g_value_set_flags: assertion `G_VALUE_ HOLDS_FLAGS (value)' failed
(qmlscene:13042): GLib-GObject- CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed
(qmlscene:13042): GLib-GObject- WARNING **: cannot register existing type `GIOCondition'
(qmlscene:13042): GLib-GObject- WARNING **: /build/ buildd/ glib2.0- 2.36.0/ ./gobject/ gtype.c: 4239: type id `0' is invalid
(qmlscene:13042): GLib-GObject- WARNING **: can't peek value table for type `<invalid>' which is not currently referenced
(qmlscene:13042): GLib-GObject- WARNING **: /build/ buildd/ glib2.0- 2.36.0/ ./gobject/ gvalue. c:190: cannot initialize GValue with type `(null)', this type has no GTypeValueTable implementation
(qmlscene:13042): GLib-GObject- CRITICAL **: g_value_set_flags: assertion `G_VALUE_ HOLDS_FLAGS (value)' failed
(qmlscene:13042): GLib-GObject- CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed
(qmlscene:13042): GLib-GObject- WARNING **: cannot register existing type `GIOCondition'
(qmlscene:13042): GLib-GObject- WARNING **: /build/ buildd/ glib2.0- 2.36.0/ ./gobject/ gtype.c: 4239: type id `0' is invalid
(qmlscene:13042): GLib-GObject- WARNING **: can't peek value table for type `<invalid>' which is not currently referenced
(qmlscene:13042): GLib-GObject...