Topic "[BUG][5.2.2] Workspace always saved on exit"

Author Message
braykov
[View user's profile]

Joined: 2013-02-12
Posts: 88
Open several sessions.
Save workspace; do not check the option "Enable automatic saving of this workspace"
Close WinSCP
Open WinSCP with the new workspace
Open one or more sessions
Close WinSCP
Open WinSCP with the new workspace
Result: the new workspace has included the additionally opened sessions.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
I guess, you have enabled saving of this workspace before.

Note that the checkbox reads Enable automatic saving of this workspace, not Automatically save this workspace. Meaning it does enable saving the workspace, if you check it. But it does not disable saving it, when you keep it unchecked, when it is already enabled.
_________________
Martin Prikryl
braykov
[View user's profile]

Joined: 2013-02-12
Posts: 88
But how is that logical? It sounds very confusing to me. Rolling Eyes
Anyway, I played a bit with workspaces and some strange things happen (incl. Invalid access to memory) - but of course this is a beta.
So I give up on this issue for now.

However, I do have some suggestions for you to consider:
- workspaces should be editable/reconfigurable also after they are created;
- workspace options should include:
- Auto-load - meaning only one of all saved workspaces can be marked as default. So upon opening of WinSCP, the default workspace is opened. But do not make a workspace default even if there is only one created. If there are no defaults, upon opening WinSCP to open the login window as usual. Keep this option un-checked by default.
- Auto-save - meaning when this workspace is loaded/opened, WinSCP will save it when it closes. So sessions would be added or removed from this workspace automatically. Keep this option un-checked by default.

I secretly hope I can get my hands on version 5.2.3 beta Wink
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
braykov wrote:
But how is that logical? It sounds very confusing to me.

I do not find it confusing. But ok, I'll think about it.

braykov wrote:
Anyway, I played a bit with workspaces and some strange things happen (incl. Invalid access to memory) - but of course this is a beta.

I have sent you an email with debug build to trace this problem.

Quote:
- Auto-load - meaning only one of all saved workspaces can be marked as default. So upon opening of WinSCP, the default workspace is opened. But do not make a workspace default even if there is only one created. If there are no defaults, upon opening WinSCP to open the login window as usual. Keep this option un-checked by default.

WinSCP login dialog starts with the last workspace selected. So you are always just one click away from opening your last workspace. But this approach allows you to pick any other workspace if you wish.

Quote:
- Auto-save - meaning when this workspace is loaded/opened, WinSCP will save it when it closes. So sessions would be added or removed from this workspace automatically. Keep this option un-checked by default.

http://winscp.net/tracker/show_bug.cgi?id=1029
_________________
Martin Prikryl
braykov
[View user's profile]

Joined: 2013-02-12
Posts: 88
prikryl wrote:

WinSCP login dialog starts with the last workspace selected. So you are always just one click away from opening your last workspace. But this approach allows you to pick any other workspace if you wish.

I like your approach Smile
Thanks for the beta. I will report further issues when I find them but in new posts as this one is for 5.2.2.

Note:
just now I noticed. Do this one: open WinSCP, select workspace and login.
Now go to a dark-grey tab that is not connected. Right-click and select Disconnect. (no debug log needed)
Enjoy Smile
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
braykov wrote:
just now I noticed. Do this one: open WinSCP, select workspace and login.
Now go to a dark-grey tab that is not connected. Right-click and select Disconnect. (no debug log needed)
Enjoy Smile

When you right click gray tab, it should connect the session, instead of showing a popup menu. And it indeed does for me. So I need the debug log Smile Thanks.
braykov
[View user's profile]

Joined: 2013-02-12
Posts: 88
Done - submitted in a new post: http://winscp.net/forum/viewtopic.php?t=12722
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License