Rightclicking on a ListItem triggers press and hold event as well
Bug #1476310 reported by
Andrea Bernabei
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Cris Dywan |
Bug Description
staging branch, revision 1204
How to reproduce:
- Open UI toolkit gallery
- Go to New ListItems page
- right click on a list item which has trailing/leading actions
- do not move the mouse
Expected outcome:
the contextual menu is opened
Actual outcome:
the contextual menu is opened, but the listitem remains in "pressed" state, and after the press and hold timer expires, ListItem fires the pressAndHold event (which usually trigger multi selection mode)
Related branches
lp://staging/~ubuntu-sdk-team/ubuntu-ui-toolkit/listItemLeftButtonSwipe
- Zsombor Egri: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 119 lines (+21/-13)4 files modifiedsrc/Ubuntu/Components/plugin/uclistitem.cpp (+12/-12)
src/Ubuntu/Components/plugin/uclistitem.h (+0/-1)
src/Ubuntu/Components/plugin/uclistitem_p.h (+1/-0)
tests/unit_x11/tst_components/tst_listitem.qml (+8/-0)
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Christian Dywan (kalikiana) |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.