| Summary: | Sirius preferences are not persisted over eclipse restarts. | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Wilbert Alberts <wilbert.alberts> |
| Component: | Core | Assignee: | Project inbox <sirius.core-inbox> |
| Status: | CLOSED FIXED | QA Contact: | Jessy Mallet <jessy.mallet> |
| Severity: | normal | ||
| Priority: | P3 | CC: | belqassim.djafer, florian.barbin, jessy.mallet, laurent.redor, maxime.porhel, pierre-charles.david, steve.monnier, wilbert.alberts |
| Version: | 2.0.4 | Keywords: | triaged |
| Target Milestone: | 3.1.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| See Also: |
https://git.eclipse.org/r/51865 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=adaf3820b9c9c29dc6c0ba58dbcd1a9286fbbf2a |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 475817 | ||
|
Description
Wilbert Alberts
Further technical information: * The corresponding preference is org.eclipse.sirius.diagram.tools.internal.preferences.SiriusDiagramInternalPreferencesKeys.PREF_SYNCHRONIZE_DIAGRAM_ON_CREATION * It is displayed in UI with org.eclipse.sirius.diagram.ui.internal.preferences.DiagramGeneralPreferencePage. This issue also exists in Sirius 3.0, Sirius 2.0 and 1.0.1 in different target platforms (mars, luna and kepler for 1.0.1) This issue is also present with the preference "Move unlinked notes during layout" In org.eclipse.sirius.diagram.ui.internal.preferences.DiagramGeneralPreferencePage.initialize(), after each load of a BooleanFieldEditor, the boolean value change to the default value even if this boolean value is correctly specified in the preferenceStore. New Gerrit change created: https://git.eclipse.org/r/51865 Header presentation choice in DiagramAppearancePreferencePage is also impacted The issue comes from the DiagramPlugin's preference store: the plugin is not an UI plugin, nothing has been generated to serialize/save the preferences state. See the comment on the first patch set. SiriusDiagramCorePreferences.PREF_ENABLE_OVERRIDE and SiriusDiagramCorePreferences.PREF_LINE_STYLE are also impacted. Gerrit change https://git.eclipse.org/r/51865 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=adaf3820b9c9c29dc6c0ba58dbcd1a9286fbbf2a Fixed on master Validated with Sirius 3.1.0.201509241504 Available in Sirius 3.1.0. |