Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349547 - Status of mark occurrences and outline sort not stored when Eclipse is restarted
Summary: Status of mark occurrences and outline sort not stored when Eclipse is restarted
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: SR1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-16 07:45 EDT by Hendrik Eeckhaut CLA
Modified: 2017-09-19 18:02 EDT (History)
1 user (show)

See Also:
sebastian.zarnekow: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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