ubports / ubuntu-touch

Ubuntu Touch's issue inbox is now migrated to GitLab.
https://gitlab.com/ubports/ubuntu-touch
1.29k stars 110 forks source link

Upgrade from 15.04 to 16.04RC - unable to remove custom wallpapers installed before upgrade #803

Open AlexanderPlaza opened 6 years ago

AlexanderPlaza commented 6 years ago

Steps to reproduce

1) Install 15.04 on device. 2) Take a photo or place a photo onto the device using the computer. 3) Go to your wallpaper settings, setup a custom wallpaper using file manager. 4) After those custom wallpapers will be placed into the proper folder under .local (within the home directory) 5) Now use the UBPorts installer to upgrade to 16.04 RC (without wipe). 6) After installation attempt to remove custom wallpapers. You can select but the button to “remove selected” is grayed out.

Expected behavior

To be able to remove custom wallpapers.

Actual behavior

Unable to remove wallpapers.

(Please note you are still able to change wallpapers between the default and custom. You can also still add wallpapers however you cannot remove the older ones before the upgrade)

Logfiles and additional information

Looking at it further the wallpapers were no longer within the .local folder in the user home folder. They were located in /var/lib/lightdm-data/phablet/ubuntu-system-settings/Pictures/

Because they are located in var the end user is unable to remove them using the GUI. To remove them I had to use terminal and issue a sudo rm -r on the folder. Then do a system restart and the custom pictures are gone.

tiocfaidharla commented 6 years ago

I can confirm this has been the case for a long time on the nexus 5, ever since the first 16.04rc releases

mateosalta commented 3 years ago

https://github.com/ubports/system-settings/pull/208