[Touch-packages] [Bug 1577359] Re: OptionSelectorDelegate: Renders empty if enabled: false
hmm.. did you ran the code with qmlscene? I need to try again as well, then. -- 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/1577359 Title: OptionSelectorDelegate: Renders empty if enabled: false Status in Canonical System Image: Confirmed Status in ubuntu-ui-toolkit package in Ubuntu: Incomplete Bug description: import QtQuick 2.0 import Ubuntu.Components 1.3 Column { spacing: units.gu(3) OptionSelector { text: i18n.tr("Label") model: customModel expanded: true colourImage: true delegate: selectorDelegate } Component { id: selectorDelegate OptionSelectorDelegate { text: name; subText: description; enabled: isenabled } } ListModel { id: customModel ListElement { name: "Name 1"; description: "Description 1"; isenabled: true } ListElement { name: "Name 2"; description: "Description 2"; isenabled: false } ListElement { name: "Name 3"; description: "Description 3"; isenabled: true } ListElement { name: "Name 4"; description: "Description 4"; isenabled: false } } } Above example renders the second and fourth element completely empty. Expected: Show the contents of the element grayed out. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1577359/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1577359] Re: OptionSelectorDelegate: Renders empty if enabled: false
I tried the example on a Xenail Unity7 desktop and it seems to work just fine, the disabled items are indeed grayed out. ** Attachment added: "optionSelector.png" https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1577359/+attachment/4661844/+files/optionSelector.png ** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: New => Incomplete -- 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/1577359 Title: OptionSelectorDelegate: Renders empty if enabled: false Status in Canonical System Image: Confirmed Status in ubuntu-ui-toolkit package in Ubuntu: Incomplete Bug description: import QtQuick 2.0 import Ubuntu.Components 1.3 Column { spacing: units.gu(3) OptionSelector { text: i18n.tr("Label") model: customModel expanded: true colourImage: true delegate: selectorDelegate } Component { id: selectorDelegate OptionSelectorDelegate { text: name; subText: description; enabled: isenabled } } ListModel { id: customModel ListElement { name: "Name 1"; description: "Description 1"; isenabled: true } ListElement { name: "Name 2"; description: "Description 2"; isenabled: false } ListElement { name: "Name 3"; description: "Description 3"; isenabled: true } ListElement { name: "Name 4"; description: "Description 4"; isenabled: false } } } Above example renders the second and fourth element completely empty. Expected: Show the contents of the element grayed out. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1577359/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1577359] Re: OptionSelectorDelegate: Renders empty if enabled: false
** Changed in: ubuntu-ui-toolkit (Ubuntu) Assignee: (unassigned) => Christian Dywan (kalikiana) -- 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/1577359 Title: OptionSelectorDelegate: Renders empty if enabled: false Status in Canonical System Image: Confirmed Status in ubuntu-ui-toolkit package in Ubuntu: New Bug description: import QtQuick 2.0 import Ubuntu.Components 1.3 Column { spacing: units.gu(3) OptionSelector { text: i18n.tr("Label") model: customModel expanded: true colourImage: true delegate: selectorDelegate } Component { id: selectorDelegate OptionSelectorDelegate { text: name; subText: description; enabled: isenabled } } ListModel { id: customModel ListElement { name: "Name 1"; description: "Description 1"; isenabled: true } ListElement { name: "Name 2"; description: "Description 2"; isenabled: false } ListElement { name: "Name 3"; description: "Description 3"; isenabled: true } ListElement { name: "Name 4"; description: "Description 4"; isenabled: false } } } Above example renders the second and fourth element completely empty. Expected: Show the contents of the element grayed out. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1577359/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1577359] Re: OptionSelectorDelegate: Renders empty if enabled: false
** Changed in: canonical-devices-system-image Status: New => Confirmed ** Changed in: canonical-devices-system-image Assignee: (unassigned) => Zoltan Balogh (bzoltan) -- 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/1577359 Title: OptionSelectorDelegate: Renders empty if enabled: false Status in Canonical System Image: Confirmed Status in ubuntu-ui-toolkit package in Ubuntu: New Bug description: import QtQuick 2.0 import Ubuntu.Components 1.3 Column { spacing: units.gu(3) OptionSelector { text: i18n.tr("Label") model: customModel expanded: true colourImage: true delegate: selectorDelegate } Component { id: selectorDelegate OptionSelectorDelegate { text: name; subText: description; enabled: isenabled } } ListModel { id: customModel ListElement { name: "Name 1"; description: "Description 1"; isenabled: true } ListElement { name: "Name 2"; description: "Description 2"; isenabled: false } ListElement { name: "Name 3"; description: "Description 3"; isenabled: true } ListElement { name: "Name 4"; description: "Description 4"; isenabled: false } } } Above example renders the second and fourth element completely empty. Expected: Show the contents of the element grayed out. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1577359/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1577359] Re: OptionSelectorDelegate: Renders empty if enabled: false
** Also affects: canonical-devices-system-image Importance: Undecided Status: New -- 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/1577359 Title: OptionSelectorDelegate: Renders empty if enabled: false Status in Canonical System Image: New Status in ubuntu-ui-toolkit package in Ubuntu: New Bug description: import QtQuick 2.0 import Ubuntu.Components 1.3 Column { spacing: units.gu(3) OptionSelector { text: i18n.tr("Label") model: customModel expanded: true colourImage: true delegate: selectorDelegate } Component { id: selectorDelegate OptionSelectorDelegate { text: name; subText: description; enabled: isenabled } } ListModel { id: customModel ListElement { name: "Name 1"; description: "Description 1"; isenabled: true } ListElement { name: "Name 2"; description: "Description 2"; isenabled: false } ListElement { name: "Name 3"; description: "Description 3"; isenabled: true } ListElement { name: "Name 4"; description: "Description 4"; isenabled: false } } } Above example renders the second and fourth element completely empty. Expected: Show the contents of the element grayed out. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1577359/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp