← Back to team overview

touch-packages team mailing list archive

[Bug 1256024] Re: ListItem "icon: Rectangle {}" stopped working since it got deprecated

 

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

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Confirmed

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Florian Boucault (fboucault)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1256024

Title:
  ListItem "icon: Rectangle {}" stopped working since it got deprecated

Status in Ubuntu UI Toolkit:
  Confirmed
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Confirmed

Bug description:
  The system settings code is using a custom component (basically a Rectangle with a Label) as an icon,
  http://bazaar.launchpad.net/~system-settings-touch/ubuntu-system-settings/trunk/view/head:/plugins/language/KeyboardLayouts.qml#L48

  That code stopped working in trusty with the recent changes
  (http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-
  toolkit/trunk/revision/858), the icon is not displayed in the UI

  Those warning are displayed on the command line:
  file:///usr/lib/i386-linux-gnu/qt5/qml/Ubuntu/Components/ListItems/Standard.qml:252: Error: Cannot assign QObject* to QUrl
  WARNING: ListItems.Standard.icon is DEPRECATED. Use iconName and iconSource instead.

  We are looking at porting our code (bug #1256017), I'm still opening
  that, as a toolkit bug, since ideally users of the old property should
  keep working during the transition

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1256024/+subscriptions