touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #43719
[Bug 1403758] Re: Unity8 shows black screen with Qt 5.4.0
I've been investigating this today and there's at leat two separate
issues:
**Only** on the phone you get the log Timo attaches (or something along
the lines). That is caused by QQmlPropertyValidator::canCoerce failing.
I've talked to Simon Haussmann from Qt Company and the situation we have
(two QQmlPropertyCache with different pointer but same QMetaObject
pointer) is technically impossible, yet we're having it, if o change
that function to do
while (fromMo && toMo) {
if (fromMo->metaObject() && toMo->metaObject() && fromMo->metaObject()->className() == toMo->metaObject()->className())
return true;
fromMo = fromMo->parent();
}
instead of the original loop comparing toMo and fromMo i can workaround
the bug (but this is just a hacky) and get to the next bug
On the desktop (or on the phone after workarounding the first issue), you will get errors saying
"Unable to assign QSortFilterProxyModelQML to QSortFilterProxyModelQML"
These errors seem to be caused somehow by Ubuntu.Components since if i un-import it, they go away. You can also workaround them by changing the code from
property SortFilterProxyModel categories: categoryFilter
to
property var categories: categoryFilter
Which you could even argue it's better code in some cases, but still we
need to investigate why it's happening.
In summary, there's two bugs:
Bug #1 only happen on the phone (probably because of ARM)
Bug #2 is triggered by importing Ubuntu.Components
Both need investigation. I'll continue tomorrow if noone beats me to it
:D
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1403758
Title:
Unity8 shows black screen with Qt 5.4.0
Status in unity8 package in Ubuntu:
New
Bug description:
With bug #1403511 taken care of in Qt, apps do not anymore crash with
Qt 5.4 and device does not anymore go into reboot loop. However,
nothing is visible on the screen.
It seems unity8, unity8-dash etc are all running. unity8.log attached
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1403758/+subscriptions
References