I'll try to describe this situation. WinSCP got randomly stuck when I'm drag-n-dropping some files from remote to local panel or vice versa, or even just opening some local or remote folder. It happens a lot during the last month. If I forcibly closes WinSCP, it cannot launch properly (please see my screenshot).
The only remedy for me was to temporarily rename the last local directory, after that WinSCP can be launched again and I can even navigate into that local directory without any problems, so it's not the permanent problem with some file types which are currently unknown for me.
Last time WinSCP stuck and my usual trick with the renaming the local directory didn't work, so I tried to investigate what can cause such damage. I was able to located the line in my .ini config file that prevents WinSCP from the correct launching: it was section "[Configuration\Interface\Commander\LocalPanel]", parameter "LastPath".
I tried to located the problem file or group of such files splitting the whole files and folder by half and check if that half causes the problem, but eventually no files alone can cause the same problem. However, if I return all files to their original place within that problem directory, WinSCP cannot be opened again.
I'm storing everything in .ini file located in OneDrive Windows directory.
Also for some time I cannot perform drag-n-drop operations from outside folders to WinSCP and I couldn't find how to fix it. I tried to use fresh .ini file, launch WinSCP as administrator, use WinSCP portable, try to use "Download files via temporary folder" - no result. Maybe it's somehow related to the problem.
WinSCP 5.15.4 (Build 9849)
Windows 10.0.18362 64-bit
I also would like to include some log, but this problem is probably not about some session, so I thinks any session log will be useless.
Thank you so much for WinSCP and help with that case.