** Summary changed:

- activeFocusOnTab is ignored when Button is embedded inside ListItem in a 
horizontal ListView
+ Focus can go be moved inside ListItem in a horizontal ListView

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

Title:
  Focus can go be moved inside ListItem in a horizontal ListView

Status in ubuntu-ui-toolkit package in Ubuntu:
  In Progress

Bug description:
  Run this code:

  import QtQuick 2.4
  import Ubuntu.Components 1.3

  Item {
      width: units.gu(50)
      height: units.gu(50)

      ListView {
          anchors.fill: parent
          model: 10
          orientation: ListView.Horizontal
          delegate: ListItem {
              width: units.gu(5)
              height: units.gu(5)
              Button {
                  activeFocusOnTab: false
                  anchors {
                      fill: parent
                      margins: units.gu(1)
                  }
                  text: "Button #" + index
              }
          }
      }
  }

  Use TAB to select the first ListItem in the list. Pressing the LEFT
  arrow after that will put the focus on the Button in the first
  ListItem (you can see the focus outline changing).

  The same happens when using keyboard navigation to go to the last
  ListItem and then pressing the RIGHT cursor key.

  I could not reproduce the issue with a vertical ListView.

  This gives problems for the new Toolbar with scrolling icons inside
  it, because there I am wrapping an AbstractButton inside a ListItem in
  order to be able to get cursor key navigation until this bug is fixed:
  https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-
  toolkit/+bug/1573616

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to