|
|
|
|
Re: Neon: Restore editor state on startup [message #1744849 is a reply to message #1744171] |
Fri, 30 September 2016 17:58 |
|
We are hit by the same issue. All last opened editors are not restored on workbench restart.
I found the culprit to be within our fragment.e4xmi. As soon as I disable it, everything works as expected. Thus, I believe it has something to do how the editors are restored in e4 when a fragment is involved.
Do you have a custom e4 application model?
[Updated on: Fri, 30 September 2016 20:18] Report message to a moderator
|
|
|
|
|
|
Re: Neon: Restore editor state on startup [message #1745027 is a reply to message #1745006] |
Tue, 04 October 2016 10:16 |
|
Martin,
I can confirm that this is related to defining/contributing a perspective via fragments to the IDE. There is something fishy with the compatibility layer and the shared editor area. I suspect (but I did not debug) that because of that the code to restore the editors is not triggered or is confused where to restore them.
As a workaround, I reverted back to defining/contributing the perspective using plugin.xml. Works like a charm.
I've opened https://bugs.eclipse.org/502963 to clarify whether extending the IDE by fragments is supported/recommended or not. A reply on Twitter indicates it's not designed for this.
-Gunnar
[Updated on: Tue, 04 October 2016 10:19] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03761 seconds