Button: long press, then release, is not registered as a click
Bug #1458028 reported by
Gerry Boland
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
High
|
Zsombor Egri |
Bug Description
1. Open UITK Gallery
2. Navigate to Dialog pane
3. open a dialog
4. Long press on the "Cancel" button (at least 1.5 seconds), then release
I'd expect the release on the button to register as a click, and fire the dialog action (to close)
Instead nothing happens.
Related branches
lp://staging/~zsombi/ubuntu-ui-toolkit/cppAbstractButton
- PS Jenkins bot: Approve (continuous-integration)
- Cris Dywan: Approve
- Tim Peeters: Approve
-
Diff: 807 lines (+449/-125)21 files modifiedcomponents.api (+2/-2)
src/Ubuntu/Components/1.3/AbstractButton.qml (+0/-109)
src/Ubuntu/Components/1.3/Button.qml (+1/-1)
src/Ubuntu/Components/1.3/ComboButton.qml (+1/-0)
src/Ubuntu/Components/1.3/TextField.qml (+1/-1)
src/Ubuntu/Components/ComponentModule.pro (+1/-2)
src/Ubuntu/Components/ListItems/1.3/SingleControl.qml (+2/-1)
src/Ubuntu/Components/plugin/plugin.cpp (+2/-0)
src/Ubuntu/Components/plugin/plugin.pri (+4/-2)
src/Ubuntu/Components/plugin/ucabstractbutton.cpp (+156/-0)
src/Ubuntu/Components/plugin/ucabstractbutton.h (+64/-0)
src/Ubuntu/Components/plugin/ucaction.cpp (+2/-1)
src/Ubuntu/Components/plugin/ucactionitem.cpp (+15/-4)
src/Ubuntu/Components/plugin/ucactionitem.h (+2/-0)
src/Ubuntu/Components/qmldir (+0/-1)
tests/unit/tst_components/tst_action.qml (+16/-0)
tests/unit/tst_performance/AbstractButton13Grid.qml (+30/-0)
tests/unit/tst_performance/AbstractButtonGrid.qml (+30/-0)
tests/unit/tst_performance/tst_performance.cpp (+2/-0)
tests/unit/tst_performance/tst_performance.pro (+3/-1)
tests/unit_x11/tst_components/tst_abstractbutton13.qml (+115/-0)
To post a comment you must log in.
The implementation amounts to MouseArea { onClicked: clicked() } so this seems to be a general MouseArea upstream issue.