Gicon schema does not load scalable icons for toolbar actions

Bug #1184569 reported by David Planella
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
High
Florian Boucault

Bug Description

I'm trying to use system icons on a Toolbar using the gicon schema for iconSource.

This doesn't seem to work for scalable icons (i.e. the .svg ones):

                Action {
                    text: i18n.tr("Settings")
                    iconSource: "image://gicon/settings"
                    onTriggered: pageStack.push(pageSettings)
                }

Expected:

  * The toolbar action shows the /usr/share/icons/ubuntu-mobile/actions/scalable/settings.svg icon installed on my system

Actual result:

  * The toolbar action shows no icon at all

Tags: icons
David Planella (dpm)
description: updated
Changed in ubuntu-ui-toolkit:
importance: Undecided → High
assignee: nobody → Florian Boucault (fboucault)
tags: added: icons
Changed in ubuntu-ui-toolkit:
status: New → Confirmed
Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit:
status: Confirmed → 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.