Bug 508186 - List Widget: custom actions should preserve user selection
Summary: List Widget: custom actions should preserve user selection
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Properties (show other bugs)
Version: 4.1.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-11-25 08:09 EST by Yann Mortier CLA
Modified: 2016-11-29 06:05 EST (History)
2 users (show)

See Also:


Attachments
modeling project and VSM (13.92 KB, application/zip)
2016-11-29 06:01 EST, Laurent Fasani CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yann Mortier CLA 2016-11-25 08:09:51 EST
List Widget: custom actions should preserve user selection.

Step to reproduces:
 * create a list widget and populate it with some elements
 * add a custom action (button) that change the order of the list according to the user selection
 * test the list and select some elements.
 * execute the action
 * see that the selection is not preserved

The user selection should be preserved after a custom action if the elements are not removed from the list. The current behavior is frustrating for the user.
Comment 1 Laurent Fasani CLA 2016-11-28 06:18:49 EST
(In reply to Yann Mortier from comment #0)

please could you provide the odesign you used(ideally on ecore model). It will accelerate the scenario replay and can be used to homologate this ticket.
Comment 2 Laurent Fasani CLA 2016-11-29 06:01:18 EST
Created attachment 265635 [details]
modeling project and VSM
Comment 3 Laurent Fasani CLA 2016-11-29 06:05:44 EST
scenario :
- import attached modeling project and VSM
- open diagram on root package
- select diagram
- in the property view, select C3 and click on button associated to list widget
-> C3 is put up in the list 
-> ISSUE : C3 is deselected whereas it should be still selected