ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #07018
[Bug 1614541] [NEW] Some times left/right arrow keys move the focus inside the ListItem in a horizontal ListView.
*** This bug is a duplicate of bug 1590005 ***
https://bugs.launchpad.net/bugs/1590005
Public bug reported:
For the first and last ListItem inside a ListView, the left/right arrow
key will move the focus inside the ListItem, instead of navigating
between ListItems. For the other ListItems this is not the case, so I
expect the focus not to change when pressing left when the first
ListItem is focussed, or right when the last ListItem is focussed.
To reproduce, execute this program:
import QtQuick 2.4
import Ubuntu.Components 1.3
Item {
width: units.gu(50)
height: units.gu(50)
ListView {
anchors.fill: parent
orientation: ListView.Horizontal
delegate: ListItem {
width: units.gu(20)
Button {
anchors.centerIn: parent
text: "focus"
}
}
model: 4
}
}
Press TAB to put the focus on the first ListItem. After that, pressing
LEFT will move the focus from the first ListItem to inside the ListItem.
Pressing RIGHT will navigate to the other ListItems (until the last one
is focussed, then it will move the focus inside the last ListItem).
This needs to be fixed for the Toolbar focus navigation to work
properly, see https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-
toolkit/+bug/1575893
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Undecided
Status: New
** Tags: convergence
** Description changed:
For the first and last ListItem inside a ListView, the left/right arrow
key will move the focus inside the ListItem, instead of navigating
between ListItems. For the other ListItems this is not the case, so I
expect the focus not to change when pressing left when the first
ListItem is focussed, or right when the last ListItem is focussed.
To reproduce, execute this program:
import QtQuick 2.4
import Ubuntu.Components 1.3
Item {
- width: units.gu(50)
- height: units.gu(50)
- ListView {
- anchors.fill: parent
- orientation: ListView.Horizontal
- delegate: ListItem {
- width: units.gu(20)
- Button {
- anchors.centerIn: parent
- text: "focus"
- }
- }
- model: 4
- }
+ width: units.gu(50)
+ height: units.gu(50)
+ ListView {
+ anchors.fill: parent
+ orientation: ListView.Horizontal
+ delegate: ListItem {
+ width: units.gu(20)
+ Button {
+ anchors.centerIn: parent
+ text: "focus"
+ }
+ }
+ model: 4
+ }
}
+ Press TAB to put the focus on the first ListItem. After that, pressing
+ LEFT will move the focus from the first ListItem to inside the ListItem.
+ Pressing RIGHT will navigate to the other ListItems (until the last one
+ is focussed, then it will move the focus inside the last ListItem).
- Press TAB to put the focus on the first ListItem. After that, pressing LEFT will move the focus from the first ListItem to inside the ListItem. Pressing RIGHT will navigate to the other ListItems (until the last one is focussed, then it will move the focus inside the last ListItem).
+ This needs to be fixed for the Toolbar focus navigation to work
+ properly, see https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-
+ toolkit/+bug/1575893
** Tags added: convergence
** This bug has been marked a duplicate of bug 1590005
activeFocusOnTab is ignored when Button is embedded inside ListItem in a horizontal ListView
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1614541
Title:
Some times left/right arrow keys move the focus inside the ListItem in
a horizontal ListView.
Status in ubuntu-ui-toolkit package in Ubuntu:
New
Bug description:
For the first and last ListItem inside a ListView, the left/right
arrow key will move the focus inside the ListItem, instead of
navigating between ListItems. For the other ListItems this is not the
case, so I expect the focus not to change when pressing left when the
first ListItem is focussed, or right when the last ListItem is
focussed.
To reproduce, execute this program:
import QtQuick 2.4
import Ubuntu.Components 1.3
Item {
width: units.gu(50)
height: units.gu(50)
ListView {
anchors.fill: parent
orientation: ListView.Horizontal
delegate: ListItem {
width: units.gu(20)
Button {
anchors.centerIn: parent
text: "focus"
}
}
model: 4
}
}
Press TAB to put the focus on the first ListItem. After that, pressing
LEFT will move the focus from the first ListItem to inside the
ListItem. Pressing RIGHT will navigate to the other ListItems (until
the last one is focussed, then it will move the focus inside the last
ListItem).
This needs to be fixed for the Toolbar focus navigation to work
properly, see https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-
toolkit/+bug/1575893
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1614541/+subscriptions