| Summary: | Problems with custom color selection on a diagram element | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Frederic Madiot <frederic.madiot> |
| Component: | Diagram | Assignee: | Project Inbox <sirius.diagram-inbox> |
| Status: | CLOSED FIXED | QA Contact: | Florian Barbin <florian.barbin> |
| Severity: | normal | ||
| Priority: | P3 | CC: | esteban.dugueperoux, florian.barbin, jfbraz, julien.dupont, laurent.fasani, maxime.porhel, pierre-charles.david, steve.monnier |
| Version: | 2.0.0 | Keywords: | triaged |
| Target Milestone: | 6.0.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| See Also: |
https://git.eclipse.org/r/121072 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=81e9eb074b0419424d6bbdb209a23be724aac44c |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 533509 | ||
|
Description
Frederic Madiot
I have not reproduce this issue. When I "cancel the selection of custom color" using the "reset style properties to default values", it is replaced by the color specified in the VSM. Can you give a sample to reproduce? Some details to reproduce the first issue: - Select a diagram element - in the properties view, go to the appearance tab - Select the fill element action (the rightest one, with a tin of paint icon) - Do not select one of the color, select the "custom" option - This opens the OS selection color dialog: just cancel this dialog -> On windows and linux the element is painted black (not sure how to cancel the dialog on mac) There is an other problem. If you selected nothing in diagram and select a custom color (font, background...) The focus is changed and open other application (web explorer, text editor...) New Gerrit change created: https://git.eclipse.org/r/121072 Gerrit change https://git.eclipse.org/r/121072 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=81e9eb074b0419424d6bbdb209a23be724aac44c Steps to validate: 1- create and select a node in a diagram 2- display Properties view/Appearance tab 3- click on text color -> the selected color must be the current color 4- select another color 5- click on text color -> the selected color must be the last selected color 6- click "reset Style properties to default value" -> the button is reset to the default color 7- click on text color -> the selected color must be the default color 8- repeat steps 3 to 8 with line anf fill button 6- repeat steps 3 to 8 selecting * a diagram * an edge * a label Available in Sirius 6.0.0, see https://wiki.eclipse.org/Sirius/6.0.0 for details |