unable to set background on snappy

Bug #1644586 reported by Jonas G. Drange
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Bill Filler
ubuntu-system-settings (Ubuntu)
Invalid
High
Jonas G. Drange
unity8-desktop-session (Ubuntu)
Fix Committed
High
Jonas G. Drange

Bug Description

Reproduce:
U8 session snap -> System Settings -> Background -> Choose background and set

What happens:
Doesn't change

What should happen:
The background should change

Log:
file:///snap/unity8-session/x1/usr/share/ubuntu/settings/system/qml-plugins/background/Preview.qml:40: TypeError: Cannot call method 'hasOwnProperty' of null
file:///snap/unity8-session/x1/usr/share/ubuntu/settings/system/qml-plugins/background/Preview.qml:35: TypeError: Cannot read property '__styleInstance' of null
file:///snap/unity8-session/x1/usr/share/ubuntu/settings/system/qml-plugins/background/Preview.qml:123: TypeError: Cannot read property of null
org.freedesktop.DBus.Error.ServiceUnknown: The name com.canonical.usensord was not provided by any .service files
Could not call AccountsService method "SetBackgroundFile" for object "/org/freedesktop/Accounts/User1001" with argument QVariant(QString, "/var/lib/lightdm-data/snappy-test/ubuntu-system-settings/Pictures/System/Black_hole_by_Marek_Koteluk.jpg") : "file '/var/lib/lightdm-data/snappy-test/ubuntu-system-setti
ngs/Pictures/System/Black_hole_by_Marek_Koteluk.jpg' is not a regular file"
file:///snap/unity8-session/x1/usr/share/ubuntu/settings/system/qml-plugins/background/Preview.qml:45: TypeError: Cannot call method 'hasOwnProperty' of null

Related branches

Changed in ubuntu-system-settings (Ubuntu):
assignee: nobody → Jonas G. Drange (jonas-drange)
status: New → Triaged
status: Triaged → Confirmed
importance: Undecided → High
Revision history for this message
Jonas G. Drange (jonas-drange) wrote :

/var/lib/lightdm-data/ is XDG_GREETER_DATA_DIR, but we can no longer write to this. I suggest moving it to $SNAP_COMMON, but I have no idea what this really entails.

Changed in ubuntu-system-settings (Ubuntu):
status: Confirmed → Fix Released
status: Fix Released → Fix Committed
status: Fix Committed → Invalid
Changed in unity8-desktop-session (Ubuntu):
status: New → Fix Committed
assignee: nobody → Jonas G. Drange (jonas-drange)
importance: Undecided → High
Changed in canonical-devices-system-image:
assignee: nobody → Bill Filler (bfiller)
importance: Undecided → High
milestone: none → p1
status: New → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.