-
Anton P.
Guest
WinSCP should remember its non-maximized window position
Advertisement
An easy one to implement, hopefully!
Advertisement
-
martin◆
Site Admin - Joined:
- Posts:
- 41,532
- 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?
- 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
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
-
martin◆
Site Admin - Joined:
- Posts:
- 41,532
- Location:
- Prague, Czechia
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.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.
-
Anton P.
Guest
Definitely not for me; it moves to a "default" position rather than my chosen position. I'm using WinSCP 3.7.1 (Build 257).But if I maximize and un-maximize in one session, is moves to correct position.
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
Advertisement
-
martin◆
Site Admin
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.
-
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
Best wishes,
Anton
-
martin◆
Site Admin - Joined:
- Posts:
- 41,532
- Location:
- Prague, Czechia
I'm sorry, but I'm totally confused. I do not know anything about the "minimize" problem.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 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.
-
martin◆
Site Admin
BTW, it was caused by the two-panels interface, not by toolbars.I have already solved the width-problem.
Advertisement
-
Anton P.
Guest
Oops, I meant "unmaximized" not "minimized".I'm sorry, but I'm totally confused. I do not know anything about the "minimize" problem.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.
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.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.
Great! Thanks for that. :)I have already solved the width-problem.
-
martin◆
Site Admin - Joined:
- Posts:
- 41,532
- Location:
- Prague, Czechia
Related: Issue 2305 – Open window maximized when closed while minimized from maximized stateThe 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.
Advertisement
You can post new topics in this forum