← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1248646] [NEW] API break: ItemSelector.enabled changed to read-only

 

You have been subscribed to a public bug:

system-settings makes use of ListItem.ItemSelector.enabled 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

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: High
     Assignee: Nicolas d'Offay (nicolas-doffay)
         Status: New

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