← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1248646] Re: API break: ItemSelector.expanded changed to read-only

 

** Changed in: ubuntu-ui-toolkit
       Status: Fix Committed => Fix Released

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

Title:
  API break: ItemSelector.expanded changed to read-only

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

Bug description:
  system-settings makes use of ListItem.ItemSelector.expanded in a few
  places. In

    https://code.launchpad.net/~nicolas-doffay/ubuntu-ui-toolkit
  /selectors-multi-selection

  this was changed to a read-only property and 'alwaysExpanded' provided
  to covers some of the use-cases for setting expanded before.

  This is an API break which IMO shouldn't have happened. Could it be
  fixed?

  It breaks a lot of ubuntu-system-settings. For example:

  laney@raleigh> system-settings cellular
  QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No space left on device
  unity::action::ActionManager::ActionManager(QObject*):
   Could not determine application identifier. HUD will not work properly.
   Provide your application identifier in $APP_ID environment variable.
  UCUriHandler: Empty "APP_ID" environment variable, ignoring.
  file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/PageWrapperUtils.js:42: Error: Error while loading page: file:///usr/share/ubuntu/settings/system/qml-plugins/cellular/PageComponent.qml:65 Invalid property assignment: "expanded" is a read-only property

  file:///usr/lib/x86_64-linux-
  gnu/qt5/qml/Ubuntu/Components/ListItems/SingleControl.qml:59: Unable
  to assign [undefined] to bool

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