Icons lost from various apps after upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-app-launch (Ubuntu) |
Fix Released
|
High
|
Ted Gould |
Bug Description
On upgrading my apps and operating system, I lost icons for the camera, gallery, tagger and weather apps. The icons were blank on the Apps scope and sidebar. The chain of events:
1) Got brand new bq phone last night. Added SIM in lower slot and microSD card. Charged it but did not switch it on
2) Switched on for first time this morning. Changed language settings, connected to wireless etc.
3) Added Ubuntu One and Google accounts
4) Made test phone call and played with scopes. All icons present
5) Took photo and looked at gallery app
6) Went to updates and selected "update all" for apps. Left phone to update (screen went off). Switched screen back on. Couple of apps still updating.
*** I don't remember whether I opened the sidebar or Apps scope at this point so don't know if icons were gone already ***
7) Selected "Update OS" and let it run in my pocket when taking dog for a walk
8) Checked phone - still on updating screen
9) Checked phone again: updated but icons for camera, gallery, tagger and weather apps.
10) Rebooted phone - icons still missing
11) "Pulled to refresh" App scope - icons still missing
12) Ask for help on #ubuntu-touch on freenode:
09:19 < mcphail> Got my bq phone yesterday (!) but after system update I've
09:26 < popey> mcphail: what version does it say in system settings -> about
this phone -> OS.
09:26 < popey> Mine is Ubuntu 14.10 (r20)
09:27 < mcphail> popey: same as you
09:27 < popey> hmm
09:27 < popey> reboot it and see if it does it still
09:27 < popey> sounds very strange
09:27 < mcphail> popey: still same after reboot
09:28 < ogra_> mcphail, did you make it writable or tinker in any other way
with it on the low level ?
09:29 < mcphail> ogra_: nothing. Charged it overnight. Switched it on for first
09:29 < popey> is the wifi on?
09:30 < popey> in the app scope, what if you pull down to refresh?
09:30 < mcphail> popey: yes. wifi is on. Pull down on app scope doesn't refresh
09:30 < popey> only some icons missing, not all?
09:30 < ogra_> you mean you dont get new content or does it literally not
09:31 < mcphail> ogra_: the scope rereshes but the icons don't reappear
09:32 < mcphail> popey: just missing camera, gallery,tagger and weather
09:39 < mcphail> popey: ogra_: anything you would like me to do with this
09:40 < popey> do you have a usb cable? can you adb shell into it?
09:40 < popey> be good to extract the unity8 logs I think
09:40 < mcphail> i'll enable dev options
09:40 < mcphail> ok, have adb shell
09:41 < popey> if you can just "mkdir ~/phablet_logs ; adb pull
them later
09:41 < popey> also tail ~/.cache/
down to refresh, see if you get any errors
09:43 < mcphail> popey: nothing added in the refresh
09:45 < mcphail> lots of camera icon erros in the logs
09:45 < popey> unity8-dash.log ?
09:45 < mcphail> application-
09:46 < popey> that log gets written when the actual camera app is running
09:46 < mcphail> and unity8-dash
09:46 < mcphail> 234:Invalid size for QUrl(
"file:/
09:46 < popey> anything interesting in unity8-dash.log ?
09:52 < popey> mcphail: can you get a screenshot of these missing icons?
10:00 < popey> ok, lets take one of them for now, camera.
10:01 < popey> phablet@
10:01 < popey> com.ubuntu.camera 3.0.0.516
10:01 < popey> we're on the same version, right?
10:01 < mcphail> popey: yes
10:03 < popey> go to .local/
10:03 < mcphail> yep
10:03 < popey> cat *camera*
10:04 < popey> should be one big desktop file
10:04 < popey> Icon=/usr/
10:04 < popey> so ls that file, does it exist?
10:04 < popey> ls -l
/usr/share/
10:04 < popey> -rw-r--r-- 1 clickpkg clickpkg 903965 Feb 18 18:39
/usr/share/
10:05 < popey> if you md5sum it, you should get 7e93fe8ae1dd4cf
10:05 < mcphail> popey: my Icon path is different in the camera desktop file
10:05 < mcphail> Icon=/opt/
10:05 < popey> huh, interesting
10:06 < mcphail> md5sum:
/opt/click.
10:06 < popey> aha!
10:06 < mcphail> popey: your file exists and has correct md5sum
10:07 < ogra_> yeah, that path is definitely wrong
10:07 < popey> but the .desktop file points to the "wrong" one for you
10:07 < popey> what makes that .desktop file? click?
10:08 < ogra_> which one are you looking at exactly now ?
10:08 < ogra_> (sorry, had a reconnect)
10:08 < mcphail> popey: actually, do you mean I should have a file
10:10 < ogra_> what exact desktop file are you looking at ?
10:10 < mcphail> com.ubuntu.
10:10 < ogra_> (note that click packages can have multiple ones)
10:10 < ogra_> in which path
10:10 < mcphail> ~/.local/
10:11 < mcphail> $ ls | grep camera
10:11 < mcphail> com.ubuntu.
10:11 < popey> com.ubuntu.
10:11 < popey> 66e4ee3daf690a9
10:12 < popey> yours wont match that as you have a different icon path
10:12 < ogra_> well, that file is created by upstart-app-launch i think
10:12 < mcphail> popey: yep
10:12 < popey> we need to track this in a bug somewhere.
10:12 < ogra_> err
10:12 < ogra_> ubuntu-app-launch i shopuld say nowadays :)
10:13 < ogra_> it should be re-created if you remove it and reboot
10:13 < popey> logs for that are in ~/.cache/
10:13 < popey> phablet@
10:13 < popey> lrwxrwxrwx 1 phablet phablet 84 Mar 25 12:07
/usr/share/
10:13 < popey> what do you have in there mcphail
10:13 < popey> (no logs actually, just symlinks)
10:14 < mcphail> lrwxrwxrwx 1 phablet phablet 84 Jan 30 15:28
10:15 < mcphail> Jan 30?
10:15 < popey> march 25 here
10:16 < mcphail> Is this because I updated the camera app before doing the
10:16 < ogra_> yeah, that doesnt look like it was properly upgraded
10:16 * mcphail can't remember if camera was one of the ones needing update
10:16 < popey> interesting
10:16 < popey> obviously this shouldn't happen.
10:16 < mcphail> natch
10:17 < popey> not sure where a bug should be filed tbh
10:17 < mcphail> Should I try a "reset launcher"?
10:18 < ogra_> sergiusens, do you remember what sets these .desktop file links
for preinstalled clicks ? is that click itself via a hook, or
10:24 < popey> mcphail: i would be inclined to get a bug filed in
https:/
we can poke someone with it.
10:25 < mcphail> popey: ok - will do that later today.
10:29 < popey> the other thing you can do
10:29 < popey> is remove and install each app in turn
10:29 < popey> long press on icon, uninstall, then find it in the store and
10:29 < mcphail> popey: can I remove system apps?
10:29 < popey> you should be able to remove anything
10:30 < mcphail> popey: camera icon is back!
10:30 < popey> after doing what?
10:31 < mcphail> popey: uninstall/reinstall
So, uninstall/reinstall seems to fix problem. Don't know if it happened because the screen switched off during apps update or if something went wrong with system update. Working well now.
Related branches
- Charles Kerr (community): Approve
-
Diff: 233 lines (+157/-1)5 files modifieddesktop-hook.c (+58/-1)
libubuntu-app-launch/ubuntu-app-launch.c (+1/-0)
tests/CMakeLists.txt (+5/-0)
tests/click-desktop-hook-db/test.conf.in (+2/-0)
tests/desktop-hook-test.sh.in (+91/-0)
- Charles Kerr (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 233 lines (+157/-1)5 files modifieddesktop-hook.c (+58/-1)
libubuntu-app-launch/ubuntu-app-launch.c (+1/-0)
tests/CMakeLists.txt (+5/-0)
tests/click-desktop-hook-db/test.conf.in (+2/-0)
tests/desktop-hook-test.sh.in (+91/-0)
tags: | added: bq |
Changed in ubuntu-app-launch (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Ted Gould (ted) |
Changed in ubuntu-app-launch (Ubuntu): | |
status: | Triaged → In Progress |
Screenshot