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

You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in

  Focus can go be moved inside ListItem in a horizontal ListView

Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Committed

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:

To manage notifications about this bug go to:

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