← Back to team overview

touch-packages team mailing list archive

[Bug 1496468] Re: ListItem doesn't emit onClicked after user has swiped to leading item and back

 

This bug was fixed in the package ubuntu-ui-toolkit -
1.3.1688+15.10.20151018.1-0ubuntu1

---------------
ubuntu-ui-toolkit (1.3.1688+15.10.20151018.1-0ubuntu1) wily; urgency=medium

  [ Tim Peeters ]
  * Add delegate property to ActionBar.
  * Introduce PageHeader component.
  * Add header property to Page.
    Fixes LP: #1248898, LP: #1350893, LP: #1445016, LP: #1492328
  * Use the correct navigation overflow icon in PageHeader.

  [ Loïc Molinari ]
  * Fixed OpenGL ES 2 mipmap fallback. OpenGL ES 2 doesn't support
    GL_TEXTURE_MAX_LEVEL by default, it is only available via an extension. It
    was working on the devices where this extension is available but not on
    the emulator. Fixes LP: #1505221.

  [ Christian Dywan ]
  * Handle incubateObject returning null in PageWrapperUtils.
    Fixes LP: #1505197
  * Add module header to PageWrapperUtils.

  [ Zoltan Balogh ]
  * Improve test plan
    - Ad -q parameter to provision the device for normal use with a PPA
    - Fix up the camera and clock app on the device to acces services
    - Replace phablet tools with manual enabling writable image
    - Fix PPA pin up for staging and other regular PPAs.

  [ Zsombor Egri ]
  * Emit Dropped event for live ListItem drag'n'drop. Fixes LP: #1500118.

  [ Timo Jyrinki ]
  * Build dep on libinput-dev and libxkbcommon-dev (LP: #1437192).

  [ Benjamon Zeller ]
  * Remove unused variables.

  [ CI Train Bot ]
  * No-change rebuild.

 -- Zoltan Balogh <zoltan.balogh@xxxxxxxxxxxxx>  Sun, 18 Oct 2015
03:47:27 +0000

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: Fix Committed => Fix Released

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

Title:
  ListItem doesn't emit onClicked after user has swiped to leading item
  and back

Status in Canonical System Image:
  Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Released

Bug description:
  Steps to reproduce:

  1) Run the following QML from the console:

  import QtQuick 2.4
  import Ubuntu.Components 1.3

  MainView {
      Page {
          ListView {
              anchors.fill: parent
              model: 5
              delegate: ListItem {
                  onClicked: {
                      console.log("Clicked: " + index)
                  }
                  Label {
                      anchors.centerIn: parent
                      text: index
                  }

                  leadingActions: ListItemActions {
                      actions: [
                          Action {
                              objectName: "leadingAction.delete"
                              iconName: "delete"
                          }
                      ]
                  }

              }
          }
      }
  }

  2) Click on item 2, note that "Clicked 2" is printed to the console

  3) Swipe right on item 3 to show the delete action

  4) Swipe left to hide the delete action

  5) Click on item 3

  Expected result:

   "Clicked 3" should be printed on the console

  Actual result:

   "Clicked 3" isn't printed due to onClicked never being emitted.

  Note that if instead of swiping left to hide the delete action you tap
  on the item to hide it the onClicked signal will work as expected.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1496468/+subscriptions


References