← Back to team overview

touch-packages team mailing list archive

[Bug 1461501] [NEW] Setting ListItem.selected doesn’t update the checkbox state

 

Public bug reported:

Since yesterday webbrowser-app in wily uses the new ListItem API
available in version 1.2 of the UITK. I’ve noticed one bug when a list
is in multi-selection mode, which I’ve isolated in the attached test
file.

To reproduce the issue:
 - launch the scene with qmlscene
 - click on any checkbox to select an item (its opacity increases from 0.3 to 1.0)
 - then click anywhere on the same item but on the checkbox, this deselects the item (the opacity of the item decreases to 0.3)

Expected result: the checkbox is unchecked
Current result: the checkbox remains checked

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "test.qml"
   https://bugs.launchpad.net/bugs/1461501/+attachment/4409089/+files/test.qml

-- 
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/1461501

Title:
  Setting ListItem.selected doesn’t update the checkbox state

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  Since yesterday webbrowser-app in wily uses the new ListItem API
  available in version 1.2 of the UITK. I’ve noticed one bug when a list
  is in multi-selection mode, which I’ve isolated in the attached test
  file.

  To reproduce the issue:
   - launch the scene with qmlscene
   - click on any checkbox to select an item (its opacity increases from 0.3 to 1.0)
   - then click anywhere on the same item but on the checkbox, this deselects the item (the opacity of the item decreases to 0.3)

  Expected result: the checkbox is unchecked
  Current result: the checkbox remains checked

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


Follow ups

References