← Back to team overview

unity-api-bugs team mailing list archive

[Bug 1324184] Re: UnityThemeIconProvider: Icons fall back to lower priority themes before checking alternative names

 

Icon now takes this as image source:

       source: ready && width > 0 && height > 0 && icon.name ? "image://theme/%1".arg(icon.name) : ""
 
what would you propose?

** Tags added: icon

** Changed in: ubuntu-ui-toolkit
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to The Sound Menu.
https://bugs.launchpad.net/bugs/1324184

Title:
  UnityThemeIconProvider: Icons fall back to lower priority themes
  before checking alternative names

Status in Sound Menu:
  New
Status in Ubuntu UI Toolkit:
  New

Bug description:
  QIcon::fromTheme checks the ingerited/system theme for icons as well as the user theme.
  Due to the way we split the icon name and check each icon separately, if we supply "audio-volume-high-panel,audio-volume-high" as the icon name, the icon that is returned will be "audio-volume-high-panel" if it is supplied by a lower inherited/system theme rather than checking if the actual theme contains "audio-volume-high".

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-sound/+bug/1324184/+subscriptions