Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 349547

Summary: Status of mark occurrences and outline sort not stored when Eclipse is restarted
Product: [Modeling] TMF Reporter: Hendrik Eeckhaut <hendrik>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sebastian.zarnekow
Version: unspecifiedFlags: sebastian.zarnekow: indigo+
Target Milestone: SR1   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Hendrik Eeckhaut CLA 2011-06-16 07:45:13 EDT
Build Identifier: M20110210-1200

If you enable 'Mark Occurrences', this setting is reset when Eclipse is restarted.  The same is true for 'Sort' in the outline.

It should be serialized

Reproducible: Always

Steps to Reproduce:
1. Start Eclipse (with e.g. Xtext domain model example)
2. Enable Mark Occurrences
3. Restart Eclipse
4. Mark Occurrences is disabled again
Comment 1 Sebastian Zarnekow CLA 2011-06-16 07:51:42 EDT
Which Xtext version do you use? There were some fixes for Xtext 2.0 RC3.
Comment 2 Hendrik Eeckhaut CLA 2011-06-16 08:20:38 EDT
I tested this with org.eclipse.xtext.ui (2.0.0.v201106060900); not sure which RC this is.
Comment 3 Sebastian Zarnekow CLA 2011-06-16 08:32:56 EDT
The changes were made before 20110606 so there are still issues with the preference handling.
Comment 4 Sebastian Zarnekow CLA 2011-06-16 15:35:07 EDT
Pushed to master.

It turned out that nobody invoked #save on the preferences.
Comment 5 Karsten Thoms CLA 2017-09-19 17:51:46 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 6 Karsten Thoms CLA 2017-09-19 18:02:31 EDT
Closing all bugs that were set to RESOLVED before Neon.0