| Summary: | Compatibility problem with Canary target platform concerning FilteredTree | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Laurent Redor <laurent.redor> | ||||
| Component: | Core | Assignee: | Laurent Redor <laurent.redor> | ||||
| Status: | CLOSED FIXED | QA Contact: | Julien Dupont <julien.dupont> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | julien.dupont | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 6.4.0 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 10 | ||||||
| See Also: |
https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/166611 https://bugs.eclipse.org/bugs/show_bug.cgi?id=548085 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=f31dfb47a057740c32b9127b7f3c3f49e6c5c190 https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/168070 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=7da398ada072966ed0b74b27477e90a713b8ef21 |
||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Laurent Redor
Several changes have been done in Eclipse FilteredTree class. The changes in FilteredTree are here since long time but not detected
before.
To be compatible from Eclipse Photon to Eclipse 202009 (canary) we can
not simply duplicate classes from current Eclipse 202009 (as it was done
before for Eclipse Juno to benefit in QuickOutlineControl, of new
features not available in Juno (bugzilla 460712 and commit 302d195d
[1]). Indeed, the delete button of the search field depends on specific
OS implementation, especially Text class for Windows that has been
adapted for that recently ("Bug 293230 - Support SWT.ICON_SEARCH and
SWT.ICON_CANCEL for native find/filter/search box for Windows 7 /
Windows 10").
In a first time, we simply copy the deleted message and uses it in our own
copies of FilteredTree.
We can switch to the new "implementation" as soon as the lower
supported version will be 201909.
[1] https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=302d195dac44967e5875fc174d43a331ad1f16fe
Steps to validate:
* Activate the "Modeling" perspective
* Import projects from "samples.zip"
* In the "Model Explorer" view:
* Expand "Sample1" project
* Expand "Sample2" project
* In the search field of the "Model Explorer" view:
* Write "Class"
* Expected: 4 classes are visible (in their respective tree)
* Complete with "C1"
* Expected: 2 classes are visible (in their respective tree): ClassC1 and ClassC11
* Click on the erase button of the search field of the "Model Explorer" view.
* Expected: The label "ClassC1" is delected and all the elements are visible.
* Open "/Sample1/My.odesign" file
* Click on "Crtl+O"
* In the search field of the popup:
* Write "*Diag"
* Expected: 2 diagram descriptions are visible
* Complete with "2"
* Expected: 1 diagram description is visible
* Click on the erase button of the search field of the popup.
* Expected: The label "*Diag2" is delected and all the elements are visible.
* Double click on "/Sample1/representations.aird"
* Expected: The aird editor is opened.
* Under the "Models" section
* In the search field of the "Model Explorer" view:
* Write "Class"
* Expected: 2 classes are visible
* Complete with "C1"
* Expected: 1 class is visible: ClassC1
Created attachment 283667 [details]
samples.zip
New Gerrit change created: https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/166611 The above gerrit must be reviewed/validated with both "Photon" and "Canary" target platforms. Gerrit change https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/166611 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=f31dfb47a057740c32b9127b7f3c3f49e6c5c190 New Gerrit change created: https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/168070 Gerrit change https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/168070 was merged to [v6.3.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=7da398ada072966ed0b74b27477e90a713b8ef21 Validated with version Sirius 6.4.0.202010071648 Available in Sirius 6.4.0, see https://download.eclipse.org/sirius/updates/releases/6.4.0/ for details. |