Can select multiple files in downloads view when only one expected
Bug #1534112 reported by
Olivier Tilloy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Committed
|
Undecided
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
webbrowser-app (Ubuntu) |
Fix Released
|
Medium
|
Olivier Tilloy |
Bug Description
(originally reported in bug #1528651)
Steps to reproduce:
1) Browse to http://
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.
Related branches
lp://staging/~osomon/webbrowser-app/downloadspage-fixes
- system-apps-ci-bot: Needs Fixing (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 73 lines (+29/-18)1 file modifiedsrc/app/webbrowser/DownloadsPage.qml (+29/-18)
description: | updated |
Changed in webbrowser-app (Ubuntu): | |
assignee: | nobody → Olivier Tilloy (osomon) |
status: | Triaged → In Progress |
importance: | High → Medium |
Changed in canonical-devices-system-image: | |
status: | New → Fix Committed |
To post a comment you must log in.
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 { centerIn: parent hanged: {
listview. ViewItems. selectedIndices = [index]
id: listview
width: 300
height: 120
model: 2
delegate: ListItem {
selectMode: true
Label {
anchors.
text: "selected: " + selected
}
property bool lastSelected: false
onSelectedC
if (selected && !lastSelected) {
}
lastSelected = selected
}
}
}
To reproduce, check the first item, then the second one, then the first one again, then the second one again.