On Ubuntu Desktop, the icon theme used by Qt is always 'gnome' (instead of the user set one)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Ubuntu UI Toolkit |
Fix Released
|
High
|
Florian Boucault | |
| ubuntu-system-settings (Ubuntu) |
Undecided
|
Unassigned |
Bug Description
I'm trying to use gicon-provider to show a list of files and folders - but many icons don't work despite the correct names.
Works:
Image { source: "image:
“Failed to get image from provider”:
Image { source: "image:
Image { source: "image:
Image { source: "image:
Image { source: "image:
Related branches
Gerry Boland (gerboland) wrote : | #1 |
Christian Dywan (kalikiana) wrote : | #2 |
I verified that these icons exist in Humanity, the default Ubuntu icon theme. Assuming image://gicon behaves according to the icon naming spec all that's needed is a complete theme.
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Tim Peeters (tpeeters) |
Changed in ubuntu-ui-toolkit: | |
assignee: | Tim Peeters (tpeeters) → Florian Boucault (fboucault) |
Florian Boucault (fboucault) wrote : | #3 |
The default Ubuntu icon theme is ubuntu-mono-dark on the desktop and ubuntu-mobile on Ubuntu Touch.
Changed in ubuntu-ui-toolkit: | |
status: | New → Incomplete |
Christian Dywan (kalikiana) wrote : | #4 |
grep Inherits /usr/share/
Inherits=
Changed in ubuntu-ui-toolkit: | |
status: | Incomplete → New |
Florian Boucault (fboucault) wrote : | #5 |
It actually works here. Do you have libqt5svg5 installed?
Can you post your test QML code?
Christian Dywan (kalikiana) wrote : | #6 |
With latest packages, only one of the above icons still fails:
QML QQuickImage: Failed to get image from provider: image:/
Attached are the same examples, wrapped in a Row.
Christian Dywan (kalikiana) wrote : | #7 |
And yes, libqt5svg5 is there - it's required by qtdeclarative5-
Florian Boucault (fboucault) wrote : | #8 |
It looks like Qt does not pick up the current theme ("ubuntu-
Florian Boucault (fboucault) wrote : | #9 |
Florian Boucault (fboucault) wrote : | #10 |
Test program to verify the theme name returned by QIcon::themeName().
To compile and execute:
qmake && make && ./icontest
Florian Boucault (fboucault) wrote : | #11 |
For reference: http://
summary: |
- gicon-provider doesn't load all SVG images + On Ubuntu Desktop, the icon theme used by Qt is always 'gnome' (instead + of the user set one) |
Changed in ubuntu-ui-toolkit: | |
status: | New → Confirmed |
importance: | Undecided → High |
Florian Boucault (fboucault) wrote : | #12 |
Qt upstream bug https:/
Florian Boucault (fboucault) wrote : | #13 |
Sound like Ubuntu desktop might get a QPA plugin:
https:/
Maybe sane to plug the theme selection in there?
tags: | added: desktop |
Launchpad Janitor (janitor) wrote : | #14 |
This bug was fixed in the package ubuntu-
---------------
ubuntu-
[ Ken VanDine ]
* Dropped the OnlyShowIn=Unity from the desktop file, unity8 doesn't
show it .
* about: Use text and unicode to create the Ubuntu logo .
[ Sebastien Bacher ]
* setings: set up for translations Use "ubuntu-
the domain, better to namespace to avoid name conflicts since all
the translation are installed in the same directory. The po.pro will
make the translation be compiled and installed on build, there is
also a "make pot" target to refresh the template. This commit also
includes a first translation (fr.po) which was used to test that
things are working correctly. .
* settings: use the string capitalization style recommended by design
Set some strings, like the vendor or model inforations, as not
translatables since those should be local specific.
* settings: make the plugin names translatable.
* settings: update some icons with copies from design, we will replace
those by theme icons once they are polished and included in the
theme use a standard icon for the airplane-mode since it's already
in theme .
* settings: set the theme to ubuntu-mobile, until lp#1098578 is fixed,
(toolkit not respecting the theme in use), recommends ubuntu-mobile-
icons as well since we use icons shipped there. (LP: #1098578)
[ Ubuntu daily release ]
* Automatic snapshot from revision 56
-- Ubuntu daily release <email address hidden> Mon, 17 Jun 2013 07:01:58 +0000
Changed in ubuntu-system-settings (Ubuntu): | |
status: | New → Fix Released |
tags: |
added: desktop-touch removed: desktop |
Dmitry Shachnev (mitya57) wrote : | #15 |
This should have been fixed in Qt 5.1: https:/
Is that still an issue with 5.1/5.2 packages?
Changed in ubuntu-ui-toolkit: | |
status: | Confirmed → Incomplete |
Changed in ubuntu-ui-toolkit: | |
milestone: | none → february-2014 |
Tim Peeters (tpeeters) wrote : | #16 |
We use the mobile icon theme by default now, see https:/
I think this bug can be closed.
Changed in ubuntu-ui-toolkit: | |
status: | Incomplete → Fix Released |
<renato> timp, I believe this is not a bug, these icons does not exists in the hicolor icon theme
<renato> timp, the solution is add these icons in the ubuntu-mobile theme or use a alternative icon