Bug 533537 - Initialize color (for line, text and fill button) from system and user defined colors
Summary: Initialize color (for line, text and fill button) from system and user define...
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 enhancement (vote)
Target Milestone: 6.0.0   Edit
Assignee: Laurent Fasani CLA
QA Contact: Julien Dupont CLA
URL:
Whiteboard: backport
Keywords: triaged
Depends on:
Blocks: 533550 533988 539156
  Show dependency tree
 
Reported: 2018-04-13 06:02 EDT by Laurent Fasani CLA
Modified: 2018-09-17 09:50 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Fasani CLA 2018-04-13 06:02:28 EDT
steps to reproduce
1- select a node in a diagram
2- display Properties view/Appearance tab
3- click on text color
-> colors defined in the VSM of the diagram and system colors are displayed in this order
4- hover the colors
-> the tooltip diplays the name of the color
5- repeat steps 3 and 4 with line anf fill button
6- repeat steps 1 to 5 selecting 
   * a diagram
   * an edge
   * a label

To be defined: do we set a maximum of color to be displayed?
Comment 1 Eclipse Genie CLA 2018-04-13 11:39:40 EDT
New Gerrit change created: https://git.eclipse.org/r/121150
Comment 2 Eclipse Genie CLA 2018-04-18 05:27:22 EDT
New Gerrit change created: https://git.eclipse.org/r/121317
Comment 5 Laurent Redor CLA 2018-06-27 11:55:49 EDT
Available in Sirius 6.0.0, see https://wiki.eclipse.org/Sirius/6.0.0 for details
Comment 6 Pierre-Charles David CLA 2018-08-29 10:32:19 EDT
Reopening: this has unexepected side-effects on Capella, we shouls make it possible to disable the new behavior using e.g. a (hidden) preference.
Comment 7 Laurent Fasani CLA 2018-09-11 10:38:06 EDT
An ui preference managed in Windows/Preferences has been added to choose if the user fixed colors defined in VSM are displayed in the color palette.
By default, its value is true.

https://git.eclipse.org/r/129141 [535648] Add ui preference to display vsm user fixed color in palette
Comment 8 Laurent Fasani CLA 2018-09-11 11:05:46 EDT
In capella, the preference must be initialized to false
Comment 9 Laurent Fasani CLA 2018-09-13 12:21:40 EDT
This ticket will be closed because the commit will be done on 6.1.0 branch and not 6.0.0 branch.
The changes on 6.1.0 branch is handled Bug 537134