WinSCP should remember its non-maximized window position

Advertisement

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: WinSCP should remember its non-maximized window position

WinSCP does remember its position. So there must be some specific circumstances in your case that prevents it. Are you aware of something? What is your Windows version? What interface do you use? Do you use more than one monitor or some virtual desktop system? Maybe there is problem with some specific position only. What if you shrink the window to small size and place it in the middle of the screen? Would the position be preserved then?

Reply with quote

Guest

I normally use WinSCP maximized, and so when I noticed a problem the one time that I used it non-maximized, I assumed that the problem was global.

However, I have tested it a bit more carefully and I agree that if I close WinSCP while it is non-maximized, it will return to the same non-maximized position when I run it again, which is good. (And of course, when i close it while maximized, it remembers that it should be maximized when I run it again.)

The problem is that when I choose a non-maximized size and screen position, then maximize the window, then 'un-maximize' it, WinSCP does not return to my chosen non-maximized position but instead chooses its own position. This happens both within a single session, and when I close WinSCP maximized, run it again, and then 'un-maximize' it.

I have noticed that it might be something to do with the toolbars; if I resize WinSCP so that some of the toolbars move down onto a new line, then maximize it, then un-maximize it, it wants to make more of the toolbars fit on the same line and so widens itself. [Note however that if I close WinSCP in my desired postion, it will reopen there too; it's only when I maximize it and then un-maximize it that it overrides my chosen position.]

For the next few days, screenshots are available which hopefully explain what I mean:

My desired position:
<invalid hyperlink removed by admin>
After maximizing it:
<invalid hyperlink removed by admin>
After un-maximizing it:
<invalid hyperlink removed by admin>


[As it happens, I have noticed various quirks regarding the toolbars during my time using WinSCP; sometimes they only want to fit together in a certain order, and they get fussy about whether they right-justify or left-justify etc! Unfortunately these issues are too difficult to explain in detail, but try playing around with your various toolbars and you'll see what I mean.]

For the record, I'm using a single monitor with resolution 1024x768, on Windows ME.

Thanks for looking into this. My preferred solution would be to prevent WinSCP from overriding my chosen position.

Cheers,
Anton

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Anonymous wrote:

The problem is that when I choose a non-maximized size and screen position, then maximize the window, then 'un-maximize' it, WinSCP does not return to my chosen non-maximized position but instead chooses its own position. This happens both within a single session, and when I close WinSCP maximized, run it again, and then 'un-maximize' it.
I'm able to reproduce the problem if I close WinSCP while it is maximised. If I then reopen it and un-maximize, it moves to default position. But if I maximize and un-maximize in one session, is moves to correct position.

Reply with quote

Anton P.
Guest

martin wrote:

But if I maximize and un-maximize in one session, is moves to correct position.
Definitely not for me; it moves to a "default" position rather than my chosen position. I'm using WinSCP 3.7.1 (Build 257).

As I said above, I think the problem really stems from strange handling of toolbar positions. The toolbars can do some really odd things when I try to move them about and get them arranged I like! I think to replicate the problem I describe, you will probably need to arrange the toolbars as pictured in my maximized screenshot.

Thanks for looking into this problem,
Anton

Reply with quote

Advertisement

martin
Site Admin
martin avatar

I have tried to make exatly same layout of the window as on you first screenshot. After un-maximising it, it moves to correct place, but it is wider that before. Approximately the same wide as your third screenshot shows. But no problem with the placement. I can try to solve the width-problem.

Reply with quote

Anton P.
Guest

Yes, that's the problem exactly. Sorry, I should have been clearer: when I used the word "position" throughout this topic I really meant "size and position" without wanting to specify which. In the problem you have just replicated, it's the size that is not preserved. In the other problem (where you reopen a maximized WinSCP and minimize it, and it goes to its default position) it is both the size and position that are not preserved.

Best wishes,
Anton

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Anton P. wrote:

In the other problem (where you reopen a maximized WinSCP and minimize it, and it goes to its default position) it is both the size and position that are not preserved.
I'm sorry, but I'm totally confused. I do not know anything about the "minimize" problem.

I have already solved the width-problem.

The other problem I know about is that WinSCP does not remember its normal placement/size when closed maximised. I found it difficult to solve and as I do not consider it big issue, I'll let it unsolved until more people complain.

Reply with quote

martin
Site Admin
martin avatar

martin wrote:

I have already solved the width-problem.
BTW, it was caused by the two-panels interface, not by toolbars.

Reply with quote

Advertisement

Anton P.
Guest

martin wrote:

Anton P. wrote:

In the other problem (where you reopen a maximized WinSCP and minimize it, and it goes to its default position) it is both the size and position that are not preserved.
I'm sorry, but I'm totally confused. I do not know anything about the "minimize" problem.
Oops, I meant "unmaximized" not "minimized".

martin wrote:

The other problem I know about is that WinSCP does not remember its normal placement/size when closed maximised. I found it difficult to solve and as I do not consider it big issue, I'll let it unsolved until more people complain.
Yes, that's the one I was talking about. It's a pity that it's proved hard to solve, but I understand your decision to leave it until you've had more requests for it to be fixed.

martin wrote:

I have already solved the width-problem.
Great! Thanks for that. :)

Reply with quote

Advertisement

You can post new topics in this forum