| Summary: | SelectionModel#updateSelection does not produce accurate events | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Camille Letavernier <cletavernier> | ||||
| Component: | GEF MVC | Assignee: | Alexander Nyßen <nyssen> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | nyssen | ||||
| Version: | 0.1.0 | ||||||
| Target Milestone: | 3.10.1 (Mars SR1) RC2 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Camille Letavernier
Created attachment 255958 [details]
Proposed patch
Properly store the current (old) selection before changing it, so that we can produce an accurate change event
This approach duplicates most of the code from select(), so it can probably be improved a little bit further
Camille, thanks for having reported this. Can you please confirm that your contribution conforms to https://www.eclipse.org/legal/CoO.php? I certify that: I have authored 100% of the contribution. I have the necessary rights to submit this contribution, including any necessary permissions from my employer. I am providing this contribution under the license(s) associated with the Eclipse Foundation project I am contributing to. I understand and agree that Eclipse projects and my contributions are public, and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with the license(s) involved. Thanks Camille. I applied your changes and pushed them to origin/master. Marking as fixed in 3.10.1 RC2. |