[regression][#60] cannot change greeter's background

Bug #1325505 reported by Jean-Baptiste Lallement
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-system-settings (Ubuntu)
Fix Released
Undecided
Michael Terry

Bug Description

On build #60 (maybe before, because I upgraded from #55 to #60) the background image of the greeter cannot be changed

TEST CASE
1. Go to system-settings/background
2. Select "Same background for both" and tap "Home screen"
3. Press "Photo/Image" to go to the gallery
4. Select a custom background (i.e take a picture with the camera), and press "Pick"
5. Back to the preview screen, press "Set" to apply it to the greeter and home
6. Lock the screen

EXPECTED RESULT
Background image of the greeter is updated with the custom image

ACTUAL RESULT
It still uses the default Ubuntu background

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: unity8-greeter 7.87+14.10.20140530.1-0ubuntu1
Uname: Linux 3.4.0-5-mako armv7l
ApportVersion: 2.14.3-0ubuntu1
Architecture: armhf
Date: Mon Jun 2 11:17:40 2014
InstallationDate: Installed on 2014-06-02 (0 days ago)
InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140602)
SourcePackage: unity8
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
description: updated
description: updated
description: updated
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

After selecting a wallpaper, when I press 'Set' to confirm the change the following warning is printed in the lg file application-legacy-ubuntu-system-settings-.log:
2014-06-02 11:37:01,950 - WARNING - file:///usr/share/ubuntu/settings/system/qml-plugins/background/Wallpapers.qml:124: TypeError: Cannot read property 'state' of undefined

description: updated
Michael Terry (mterry)
Changed in unity8 (Ubuntu):
assignee: nobody → Michael Terry (mterry)
Michael Terry (mterry)
tags: added: split
Revision history for this message
Michael Terry (mterry) wrote :

I can't reproduce on r64. Can you confirm with image 64? There were some temporary oddities with dbus in the user's session that may have caused this.

Changed in unity8 (Ubuntu):
status: New → Incomplete
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

I can confirm it with image 64. I see the same error as jibel too in that log file. My image is freshly flashed.

Changed in unity8 (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Michael Terry (mterry) wrote :

Oh, I see it now too. I know what's happening. Working on it.

Revision history for this message
Michael Terry (mterry) wrote :

System Settings should be using a background file location that the greeter can read, not a location inside the user's directory. This is what the XDG_GREETER_DATA_DIR variable is for. It's a folder where the user can share larger files with the greeter.

I fixed telephony-service to use that folder for avatars, but I overlooked the background file use case when splitting the greeter, sorry.

Changed in unity8 (Ubuntu):
status: Confirmed → Incomplete
status: Incomplete → Confirmed
affects: unity8 (Ubuntu) → ubuntu-system-settings (Ubuntu)
Changed in ubuntu-system-settings (Ubuntu):
status: Confirmed → In Progress
Iain Lane (laney)
Changed in ubuntu-system-settings (Ubuntu):
status: In Progress → Won't Fix
Revision history for this message
Michael Terry (mterry) wrote :

Laney, did you mean to set this Won't Fix? If so, why?

Changed in ubuntu-system-settings (Ubuntu):
status: Won't Fix → In Progress
Revision history for this message
Iain Lane (laney) wrote : Re: [Bug 1325505] Re: [regression][#60] cannot change greeter's background

On Wed, Jun 04, 2014 at 09:49:16PM -0000, Michael Terry wrote:
> Laney, did you mean to set this Won't Fix? If so, why?

No, oops

--
Iain Lane [ <email address hidden> ]
Debian Developer [ <email address hidden> ]
Ubuntu Developer [ <email address hidden> ]

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-system-settings - 0.1+14.10.20140606-0ubuntu1

---------------
ubuntu-system-settings (0.1+14.10.20140606-0ubuntu1) utopic; urgency=low

  [ Michael Terry ]
  * Use XDG_GREETER_DATA_DIR to store background files in a folder that
    the greeter can also read. This fixes the recent regression in not
    being able to choose a ContentHub file for the welcome screen. (LP:
    #1325505)

  [ Iain Lane ]
  * Inline setUpImages(), otherwise the function call doesn't do
    anything.

  [ Brendan Donegan ]
  * Make test_tz_list_initially_empty more robust by using
    wait_select_single instead of select_single to get the label. (LP:
    #1319711)
 -- Ubuntu daily release <email address hidden> Fri, 06 Jun 2014 14:39:39 +0000

Changed in ubuntu-system-settings (Ubuntu):
status: In Progress → 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.