Community
Participate
Working Groups
I200409200800 (JXE), GTK+ 2.4.9, KDE 3.3, Linux 2.6.8.1 Some preferences are not persisted on shutdown. Confirmed on all platforms: text preferences. Possibly also show intro view, prompt on exit, etc. Setting this as critical, as I'm not sure if this data is lost or simply ignored. If it is just ignored, then downgrade to major.
*** Bug 74315 has been marked as a duplicate of this bug. ***
The first line of Plugin.savePluginPreferences() checks to see if the preferences need saving. The preference store is not being marked as dirty despite writes to it from the preference page.
Steps to reproduce in I20040920-0800 alone: - Start I20040920-0800 with a new workspace - Change Basic > Dialog Fonts and > Text Font - Exit and restart eclipse -> changes gone. Steps when switching from I20040914-0800 to I20040920-0800: - Have a I20040914-0800 workspace with changed fonts - Exit and start same workspace with I20040920-0800 -> Font settings are not respected, although I never opened the Preferences dialog.
The check Kim is talking about is only necessary in the backwards compatability story. I'll see why the new preferences are not being saved.
There are a couple of problems here 1) We were broadcasting changes for default as well as preferences 2) We were not saving the store when the preference dialog closed. This is not required generally but a good safety thing 3) savePreferenceStore() in Plugin only saves the backwards compatibility layer but not the new OSGI layer. DJ will log a seperate report for this.
I have fixed items 1) and 2) in the ScopedPreferenceStore
Verified in 200409210800.
Reopening to reverify on 20040923-1200 as we have had to rollback changes.
Marking fixed so it is on the verification pass.
Verified in 20040923-1200