Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #564124 +++ SiriusPropertiesViewPreferenceInitializer.initializeDefaultPreferences() use the instance scope to store default values for 3 preferences. This prevents anyone from programmaticallt setting its own default values for these values. The usual plugin_customization.ini can not be used for example. Default scope should be used instead of instance scope.
New Gerrit change created: https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/168507
Gerrit change https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/168507 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=20c065b809d1dab898d8b6b46523551100b8abf3
User will have to use a new workspace or to reset preference of the Sirius properties core plugin to see pluginCustomization mecanism work for this plugin.
When using the pluginCustomization.ini, we observe in debug mode that the default scope is used instead of the instance scope. The change is visible in the "Sirius Properties View" preferences page. However the validation steps suggest that the modification is also visible in "Installation details > Configuration", which is not the case.
The behavior is then ok and valid on Sirius 6.4.0 .0-S20201110-075607 and : the default scope is used in the preference initializer instead of the previous misuse of the instance scope. One of the validation step was wrong : Installation Details > Configuration does not show the plugins customization in the bundle_default section. We have also checked on a new workspace that after the initialization of the preferences, the ppreference page displays the values from the plugin_customization.ini and there is nothing put in the Instance scope until the user concretely change the preferences from the preference page. With previous versions using plugin_customization.ini had no effect on preferences used by SiriusPropertiesViewsPreferenceInitializer
Available in Sirius 6.4.0, see https://download.eclipse.org/sirius/updates/releases/6.4.0/ for details.