touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #128834
[Bug 1534112] Re: Can select multiple files in downloads view when only one expected
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
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1534112
Title:
Can select multiple files in downloads view when only one expected
Status in ubuntu-ui-toolkit package in Ubuntu:
New
Status in webbrowser-app package in Ubuntu:
Triaged
Bug description:
(originally reported in bug #1528651)
Steps to reproduce:
1) Browse to http://www.wufoo.com/html5/attributes/07-accept.html, click the "Select file" button
2) Choose the browser as a content source
3) Tap the first download in the list to select it
4) Tap the second download in the list to select it, the first download is unselected
5) Tap the first download again, the second one is unselected
6) Tap the second one again
Expected result: the first download in the list is unselected, only
the second one is selected.
Current result: both the first and the second download are selected.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1534112/+subscriptions
References