Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

propose to open the last file opened #166

Closed
Mouvedia opened this issue Oct 16, 2012 · 8 comments
Closed

propose to open the last file opened #166

Mouvedia opened this issue Oct 16, 2012 · 8 comments
Assignees

Comments

@Mouvedia
Copy link
Member

No description provided.

@jakepetroules
Copy link
Contributor

This is already implemented - check the preferences dialog.

@Mouvedia
Copy link
Member Author

@jakepetroules maybe you didn't understand what I was asking for: currently it opens the last opened file directly, which is stupid if it crashed the prototype (you end up not being able to load anything unless you edit the last opened file). So instead it should ask if you want to reopen it and maybe even register the fact that it crashed.

@jakepetroules
Copy link
Contributor

Good point, I propose to hold the shift or alt/option key when launching the app and it will not automatically open the last file. Thoughts?

@jakepetroules jakepetroules reopened this Oct 17, 2012
@Ragnis
Copy link
Contributor

Ragnis commented Oct 17, 2012

Or maybe the app could detect if it has crashed and not open the file?

On Wed, Oct 17, 2012 at 9:49 PM, Jake Petroules [email protected]:

Good point, I propose to hold the shift or alt/option key when launching
the app and it will not automatically open the last file. Thoughts?


Reply to this email directly or view it on GitHubhttps://github.com/AXR/Prototype/issues/166#issuecomment-9539117.

@jakepetroules
Copy link
Contributor

@Ragnis: Ideas for how we could reliably detect a crash?

@Ragnis
Copy link
Contributor

Ragnis commented Oct 17, 2012

Yes. We could create a file when the app is launched and delete the file
just before the app exits. Now obviously when the app segfaults the file
won't be deleted. So when the app starts the next time we can check if
the file exists and if it does it means that the app has crashed.

On Wed, Oct 17, 2012 at 9:52 PM, Jake Petroules [email protected]:

@Ragnis https://github.com/Ragnis: Ideas for how we could reliably
detect a crash?


Reply to this email directly or view it on GitHubhttps://github.com/AXR/Prototype/issues/166#issuecomment-9539223.

@jakepetroules
Copy link
Contributor

Sounds good.

@Mouvedia
Copy link
Member Author

Migrated to axr/browser#1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants