osxpeppermint / peppermint

The official bug/features tracker for Peppermint
8 stars 2 forks source link

Workspace files don't behave on launch #91

Closed bobrocke closed 9 years ago

bobrocke commented 9 years ago

1) Add a file to the workspace that is outside the project folder 2) Open it 3) Close it but keep it as part of the workspace 4) Quit 5) Relaunch Peppermint

The file in the workspace is opened, it shouldn't be, and the contents are empty.

osxpeppermint commented 9 years ago

Well, this sounds a bit weird...

Right now, the way Peppermint works (if the appropriate Preferences setting is on) is to:

If the file was in the workspace, then it was logically re-loaded. As for the contents, I'm a bit confused: you mean you tried to view its contents and nothing was there the next time?

bobrocke commented 9 years ago

I think that only open files on quit should be re-opened on re-launch.

It looks like this:

open-a-terminal js peppermint

If I close it, remove it from the workspace, and then re-open it, its contents are there.

osxpeppermint commented 9 years ago

Aham... So you mean it was re-loaded (in the Workspace) and re-opened (as a tab) even though you had closed the tab before quitting Peppermint?

That's even more weird. Did you close the application normally or did you force-quit it before all of this happened?

bobrocke commented 9 years ago

I expected that the file would stay in the workspace, and it did. But I had closed its tab and on re-launch the tab was re-opened.

It was a normal command-q quit.

osxpeppermint commented 9 years ago

Hmm Hmm Hmm. That's not normal. I'll have to look into it...

osxpeppermint commented 9 years ago

Issue fixed as of 1.5 beta 21.