← Back to team overview

touch-packages team mailing list archive

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

 

Public bug reported:

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.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     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/1469471

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

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

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


Follow ups

References