on xenial help sign in
Desperate hack to fix QML error

Qt was complaining that it was unable to assign to a inexistent property on Shell.qml:299 and thus was unable to load the Shell component. That's the "background: shell.background" line in the Lockscreen {...} code in Shell.qml. But that error just doesn't make sense as Lockscreen does define a background property. Getting this error on an N4. I've no idea of what's causing this error but at least commenting out this line makes it go away with seemingly no side-effects.

commitd03fbe879ca2b0a8437f4cb5d093768a4975c849 authorDaniel d'Andrada <daniel.dandrada@canonical.com> dateMon 9 Jun 2014, 15:44 (12 years ago) parent81d3216
2 files changed+2−2
qml/Greeter/Lockscreen.qml+1−1 qml/Shell.qml+1−1
qml/Greeter/Lockscreen.qml+1−1
@@ -49,7 +49,7 @@ Showable {
4949 property int minPinLength: -1
5050 property int maxPinLength: -1
5151
52− property url background: ""
52+ property url background: shell.background
5353
5454 signal entered(string passphrase)
5555 signal cancel()
qml/Shell.qml+1−1
@@ -296,7 +296,7 @@ FocusScope {
296296 x: required ? 0 : - width
297297 width: parent.width
298298 height: parent.height - panel.panelHeight
299− background: shell.background
299+ //background: shell.background // FIXME: Commenting out as Qt was complaining about this line
300300 minPinLength: 4
301301 maxPinLength: 4
302302