← Back to team overview

touch-packages team mailing list archive

[Bug 1469471] Re: Checkbox shown in the ListView Multiselect mode does not obey selected property

 

I can confirm that when using the package UITK on a ubuntu 15.04
framework using the steps provided by Nekhelesh that I can reproduce the
bug. Therefore I have set this bug to confirmed.

So this now affects: clock, podbird, music and weather (reboot)? Which
have all bumped to the new framework and listitems, although only
currently on their dev versions.

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

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

Title:
  Checkbox shown in the ListView Multiselect mode does not obey selected
  property

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

Bug description:
  The ListItem in Ubuntu.Components 1.2 and higher supports multiselect
  mode which is controlled by the "selectMode" property. The "selected"
  property controls whether a listitem is selected or not. However it
  seems that the checkbox shown during multiselect mode doesn't seem to
  obey the "selected property.

  Steps to reproduce the bug:
  1. Run the sample code
  2. Long press to active multiselect mode
  3. Press on any checkbox visible while in multiselect mode
  4. Now press on that listitem.

  Notice the following,
  - Clicking on the listitem toggles the "selected" property. But the checkbox does not seem to respect that.
  - The "selectedIndices" array correctly shows that the listitem is selected/unselected on pressing it, but the checkbox just ignores that.

  I have attached sample code which reproduces the bug in a simple
  manner.

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


References