Several Icons are not displayed in 'storage' page

Bug #1368461 reported by Alex Kaluzhny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Confirmed
Medium
Bill Filler
ubuntu-system-settings (Ubuntu)
New
Undecided
Unassigned

Bug Description

Scopes icons are not displayed under Settings | About this phone | Storage.

Version: r30

Steps to reproduce:
Open Settings | About this phone | Storage

Expected result:
Icons for scopes are displayed

Actual result:
Grey icons with X in the middle of the circle.

Changed in barajas:
importance: Undecided → Medium
assignee: nobody → Chris Wayne (cwayne18)
Revision history for this message
John McAleely (john.mcaleely) wrote : Re: Icons for scopes from Custom Tarball are not displayed 'storage'

@chris - is this a customisation bug, or some part of system settings not doing the right thing?

summary: - Scopes icons are not displayed in Storage
+ Icons for scopes from Custom Tarball are not displayed 'storage'
Changed in barajas:
status: New → Confirmed
Revision history for this message
Chris Wayne (cwayne) wrote :

It appears to be a system settings not doing the right thing bug, as youtube scope also has the same X logo, and is shipped on default images

Revision history for this message
John McAleely (john.mcaleely) wrote :

Assigning to pat then!

Changed in barajas:
assignee: Chris Wayne (cwayne18) → Pat McGowan (pat-mcgowan)
summary: - Icons for scopes from Custom Tarball are not displayed 'storage'
+ Icons for scopes are not displayed 'storage'
Revision history for this message
Pat McGowan (pat-mcgowan) wrote : Re: Icons for scopes are not displayed 'storage'

We need to add logic to find these icons a new way as they are different than apps with .ini files rather than desktop files.

For example for the Facebook photo scope:
/custom/click/com.canonical.scopes.fbphotos/current/fbphotos/com.canonical.scopes.fbphotos_fbphotos.ini

contains

[ScopeConfig]
DisplayName=Facebook Photos
DisplayName[es]=Facebook Fotos
DisplayName[fr]=Photos des Facebook
Description=Your Facebook Photos and Albums
Description[es]=Sus Facebook Fotos y Álbumes
Description[fr]=Tes Photos des Facebook
Author=Canonical Ltd.
Art=images/preview-card-facebook.png
Icon=images/preview-card-facebook.png
SearchHint=Search Facebook Photos

[Appearance]
PageHeader.Logo=images/FB-f-Logo__blue_512.png
PageHeader.DividerColor=#45619d
PreviewButtonColor=#45619d

Preinstalled scopes are in /opt/click.ubuntu.com/com.ubuntu.scopes.youtube/current/youtube/com.ubuntu.scopes.youtube_youtube.ini

etc

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Also added dupe on the package bug 1368920

Revision history for this message
Alex Kaluzhny (alex-kaluzhny) wrote :

https://bugs.launchpad.net/bugs/1368920 marked Fix Released, however, I am still seeing this issue on Krillin with r19.
In addition to missing icons, there are also duplicate entries for some Apps and scopes (see attached snapshot).
I have also noticed duplicate entries for Telegram app under Settings ->Notifications.
If you think the root cause might be different, I can open another bug for that issue.

Revision history for this message
Alex Kaluzhny (alex-kaluzhny) wrote :
Revision history for this message
Alex Kaluzhny (alex-kaluzhny) wrote :
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

@Alex I suspect this is dependent on not having reflashed the phone for some time, is that possible?
It all looks fine on my krillin which was flashed several weeks ago

Revision history for this message
Alex Kaluzhny (alex-kaluzhny) wrote :

This is happening with r19, flashed to the device on 2/27.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

If you did not wipe or bootstrap you will have old data

Revision history for this message
Alex Kaluzhny (alex-kaluzhny) wrote :

I have used MTK flashing tool to flash KRILIN01A-S15A_BQ_L100EN_2019_150219.

Revision history for this message
John McAleely (john.mcaleely) wrote :

It appears some scopes still display with the circle-x logo on modern builds

information type: Embargoed → Proprietary
affects: barajas → avila
information type: Proprietary → Public
affects: avila → canonical-devices-system-image
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

These icons are not found
Nearby
Notes
Telegram
unity-scope-shopping

Nearby's ini file does not follow the proper naming convention
 /custom/click/com.canonical.unity-scope-nearby/current/unity-scope-nearby/unity-scope-nearby.ini
should be unity-scope-nearby_nearby.ini and maybe should be under com.canonical.scopes namespace.
Shopping is also named as unity-scope-shopping.ini. and its displayname is wrong in the UI.

However these are displayed properly in the Manage scopes page and the same logic should be in use.

summary: - Icons for scopes are not displayed 'storage'
+ Several Icons are not displayed in 'storage' page
Changed in canonical-devices-system-image:
assignee: Pat McGowan (pat-mcgowan) → Bill Filler (bfiller)
milestone: none → backlog
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.