Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Continous loop if cancel custom INI file confirm dialog

Sopor wrote:

I don't understand how the X could be different from Cancel? Shouldn't cancel be the same as X and vise versed?

A button is a control. When you click a button with a mouse, it has two effects: 1) The button receives focus (and consequently the current control loses the focus). 2) Button action is executed (in this case, the dialog would be canceled).
It's losing of the focus of the INI path edit box that triggers the validation. The validation fails, the edit box never loses the focus and the Cancel button is effectively never clicked.
While the X button is not a control, it cannot receive focus, it merely cancels the dialog. So no validation occurs.

Anyway, this issue has been added to the tracker:
https://winscp.net/tracker/1763
Sopor

Re: Continous loop if cancel custom INI file confirm dialog

martin wrote:

Thanks for your report.
I'll try to improve it.
But note that you can use the X button or Esc key.


I don't understand how the X could be different from Cancel? Shouldn't cancel be the same as X and vise versed?
martin

Re: Continous loop if cancel custom INI file confirm dialog

Thanks for your report.
I'll try to improve it.
But note that you can use the X button or Esc key.
Sopor

Continous loop if cancel custom INI file confirm dialog

If i change the path to the INI file and i change my mind and press Cancel i get in to a loop so it is very hard to close the preference window.

Start with a custom ini path. Then open prefs and select another WinSCP.ini and when it ask you to overwrite or use you instead press cancel. If you press cancel to close prefs it will ask you again and again and again.

I have attached a video to show what i mean.
Hmm, i get a message that the file is empty so i can't attach any video and now i can't remove the file name so i can't post it. I was needed to create a complete new post :(