EmEditor (text editor) Forum Index EmEditor Core Bug Reports
Bug: Save/Restore Workspace automatically | Register To Post |
| Threaded | Newest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| owilsky | Posted on: 8/12/2008 7:53 am |
Just can't stay away ![]() ![]() Joined: 2/12/2008 From: Posts: 76 |
Bug: Save/Restore Workspace automatically Hi,
I think, I found a bug in 7.02: I selected Save and Restore Workspace automatically. I also selected not to close last document. I have two files open, then I close EmEditor. When I restart EmEditor, both files are reopened. So far, so good. Now I press Ctrl-F4 twice to close all files. Now only one empty file is open, named "untitled". When I now close EmEditor, I expect to have an empty document opened the next time I start EmEditor. Instead the two previously opened documents are restored. Bug or intention? Regards, Oliver |
| Yutaka | Posted on: 8/12/2008 9:58 am |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2398 |
Re: Bug: Save/Restore Workspace automatically Quote:
When only one "untitled" document is left when you close the window, this state will not be saved. Instead previous workspace will be restore. This is the specification.
|
| owilsky | Posted on: 8/12/2008 10:57 am |
Just can't stay away ![]() ![]() Joined: 2/12/2008 From: Posts: 76 |
Re: Bug: Save/Restore Workspace automatically Any possibility to make this configurable in 7.50 ?
|
| Yutaka | Posted on: 8/12/2008 11:13 am |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2398 |
Re: Bug: Save/Restore Workspace automatically Quote:
Please write why you want the other behavior. Why do you want to save only an "untitled" window in workspace.
|
| owilsky | Posted on: 8/12/2008 11:55 am |
Just can't stay away ![]() ![]() Joined: 2/12/2008 From: Posts: 76 |
Re: Bug: Save/Restore Workspace automatically I don't really want to save an "untitled" window in workspace, sometimes I just want an easy way to delete the last workspace, to start with an empty file when I start EmEditor.
|
| Yutaka | Posted on: 8/12/2008 12:41 pm |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2398 |
Re: Bug: Save/Restore Workspace automatically Quote:
Then how about "Erase Workspace" command, which I will implement soon?
|
| owilsky | Posted on: 8/13/2008 6:41 am |
Just can't stay away ![]() ![]() Joined: 2/12/2008 From: Posts: 76 |
Re: Bug: Save/Restore Workspace automatically Yes, that will help me, as long as I can call that function with ExecuteCommandByID.
Then I can implement a trigger so that I have the behaviour I want. This can then be executed "on group window close": EEID_SAVE_WORKSPACE_QUIT_ALL does not work, as you said by design. Oliver |
| Yutaka | Posted on: 8/13/2008 9:20 am |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2398 |
Re: Bug: Save/Restore Workspace automatically Quote:
Use for "Erase Workspace" command. EEID_SAVE_WORKSPACE_QUIT_ALL may not work inside a macro because it must quits EmEditor but it is executing a macro.
|
| Aye_Wong | Posted on: 8/13/2008 9:24 am |
Just popping in ![]() ![]() Joined: 11/23/2007 From: Posts: 5 |
Re: Bug: Save/Restore Workspace automatically I have one concern related to this. If you store file pathes to removable drives in a workspace, it could be troublesome in restore since in many cases they are assumed not to exist.
So you should ignore when you miss a file in restoring workspace and the file was on the removable drive. And it may be better to store the path to files in relative path from EmEditor only where the files are placed in the same removable drive in which EmEditor lies. Or anyway it might be better to ignore when files are missed in restoring workspaces. Most of users may think the notification just as bothersome. Is my concern off the topic here ? |
| Aye_Wong | Posted on: 8/13/2008 9:37 am |
Just popping in ![]() ![]() Joined: 11/23/2007 From: Posts: 5 |
Re: Bug: Save/Restore Workspace automatically Quote:
Okay. I understand. The problem you mentioned here is that automatic saving workspace is too automatic and it dares to save nothing even when meaningless. And you may think it might be better to keep the previous workspace rather than storing the meaningless workspace with no valid entries. Is my understanding correct ? |
| (1) 2 » | |
| Threaded | Newest First | Previous Topic | Next Topic | Top |
| Register To Post | |





