Contextual actions target the wrong list item
Bug #397803 reported by
Olivier Tilloy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Moovida |
Fix Released
|
Critical
|
Olivier Tilloy |
Bug Description
Sometimes when browsing a list and activating a contextual action, the action is applied to a different item than the one selected. This behaviour is not reproducible 100% of the time, there is a race condition somewhere when showing/hiding contextual actions.
Note that when this happens, the item to which the contextual action applies is always an item that had been previously selected.
Steps to reproduce:
1) Start Moovida, go to Music > Library
2) Scroll randomly, and activate the first contextual action of some items (track list)
3) Repeat step 2 until the issue is observed
Related branches
Changed in elisa: | |
assignee: | nobody → Olivier Tilloy (osomon) |
importance: | Undecided → Critical |
milestone: | none → 1.0.5 |
status: | New → In Progress |
Changed in elisa: | |
status: | In Progress → Fix Committed |
Changed in elisa: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Found the cause of this nasty bug (that had been there since the first implementation of the contextual actions in the relook branches).
The item to be triggered for was set when connecting the 'activated' signal of the contextual action, instead of being retrieved in the callback.
A merge request has been submitted.