Skip to content

[Linux] After a second run it stops loading #10

Closed
@PhaserEditor2D

Description

@PhaserEditor2D

Sometimes the editor stops loading in Linux.

We don't know the reason yet but the problem is related to restore the previous workbench state. When you close the editor it saves the state to the workspace. This state contains some information like the opened editors and views.

To get the editor to open, you should make it to load without restore this state, so you have two options:

  • Execute the editor with the -clearPersistedState option, to clear the state and start with a fresh workbench.
./PhaserEditor -clearPersistedState
  • Execute the editor with the -persistState false option. In this way the editor will not save the state when it is closed:
./PhaserEditor -persistState false

If you want to make this options by default, edit the PhaserEditor.ini file and add the following at the end:

persistState=false
clearPersistedState=true

We recommend to do both things, clear the state at the startup and disable the state saving at the closing.

Thanks to @samsstuff for report and try to fix this issue.

References: How can I prevent my workbench model from being saved on exit? https://wiki.eclipse.org/Eclipse4/RCP/FAQ

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions