Icons for scopes are not displayed in the storage list

Bug #1368920 reported by Pat McGowan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-system-settings (Ubuntu)
Fix Released
Medium
Sebastien Bacher

Bug Description

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

Related branches

Revision history for this message
Sebastien Bacher (seb128) wrote :

Jonas, that one is assigned to you but I can have a look if you want, I know that code and what to change (not sure if you started yet so I prefer asking first)

Changed in ubuntu-system-settings (Ubuntu):
assignee: Jonas G. Drange (jonas-drange) → Sebastien Bacher (seb128)
Changed in ubuntu-system-settings (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-system-settings - 0.3+14.10.20140924.1-0ubuntu1

---------------
ubuntu-system-settings (0.3+14.10.20140924.1-0ubuntu1) utopic; urgency=low

  [ Michael Terry ]
  * Prevent the buttons of the wizard's password page from overlapping
    its content when the OSK appears. (LP: #1368346) (LP: #1368346)

  [ Ken VanDine ]
  * Set the version information in the SystemUpdate constructor (LP:
    #1371810) (LP: #1371810)
  * [reset] Don't bail out on an isValid() check on the SystemImage
    QDBusInterface, the docs say isValid() may not be reliable for
    remote interfaces (LP: #1370815) (LP: #1370815)
  * Fixed reference error for count on the various device models (LP:
    #1362517) (LP: #1362517)
  * [background] Use the ContentPeerPicker to select sources for
    backgrounds (LP: #1356542) (LP: #1356542)

  [ Iain Lane ]
  * Don't check if the timedated interface is valid before calling
    SetTime on it, it might have timed out and we should reactivate it
    in that case.
  * [about] Fix developerMode property to be QMLish - read & write
    instead of separate "read" and "toggle" properties.
  * [about] Don't display a frame for icons that can't be found,
    improving the visual appearance. Also return the correct path for
    click packages which use the icon theme.

  [ Sebastien Bacher ]
  * [storage] handle the scope click .ini and get the correct icons (LP:
    #1368920)
 -- Ubuntu daily release <email address hidden> Wed, 24 Sep 2014 16:47:25 +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.