Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-102037

Invalid value of pressed property in ListView delegate

XMLWordPrintable

    • All
    • fcc3d346c8 (qt/tqtc-qtquickcontrols2/5.15)

      Steps to reproduce:

      1. Make finger touch on the list item about 300ms.
      2. Make very short shifting of the finger during touch release. Please control distance of the shift it should be very short to avoid a scroll of the list view.

      Expected behavior:

      1. The list item delegate shouldn't have "pressed" state. The background color must correspond to "normal" state.
      2. The log should contain the track: "onPressedChanged true".

      Observed behavior:

      1. The list item delegate keeps the "pressed" state.
      2. There aren't tracks about "pressed" property changing.

      Note:

      1. This scenario is applicable only for touch screen and finger touch, in the same time it works as expected for the mouse.
      2. The problem is reproduced only if "interactive" and "pressDelay" properties are set simultaneously in a ListView component.
      3. Please find sources of example and video in attachment.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            srutledg Shawn Rutledge
            alexander.zaikin Alexander Zaikin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes