I can reproduce the problem outside of the browser app, with the
following standalone QML example:
import QtQuick 2.4
import Ubuntu.Components 1.3
ListView {
id: listview
width: 300
height: 120
model: 2
delegate: ListItem {
selectMode: true
Label {
anchors.centerIn: parent
text: "selected: " + selected
}
property bool lastSelected: false
onSelectedChanged: {
if (selected && !lastSelected) {
listview.ViewItems.selectedIndices = [index]
}
lastSelected = selected
}
}
}
To reproduce, check the first item, then the second one, then the first
one again, then the second one again.
** Also affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1534112
Title:
Can select multiple files in downloads view when only one expected
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1534112/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs