<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
Dual monitor setup, different resolutions, different DPI scaling
Tried dragging unlocked toolbar, then the error happened
The program did not exit and I was able to continue moving the toolbar around
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 5.13.4
Error message:
Invalid access to memory.
Stack trace:
(00254E12) Vcl::Controls::TControl::GetClientWidth
(0008341F) ntdll.dll
(000711F1) ntdll.dll.KiUserExceptionDispatcher
(0025B9D5) Vcl::Controls::TWinControl::WndProc
(0025B01C) Vcl::Controls::TWinControl::MainWndProc
(00380D20) System::Classes::_18201
(00045269) USER32.dll
(000361B7) USER32.dll
(00035D45) USER32.dll
(000426FD) USER32.dll
(000711AB) ntdll.dll.KiUserCallbackDispatcher
(00453226) Tb2dock::TTBCustomDockableWindow::SetParent
(0047F32E) Tbx::TTBXToolbar::SetParent
(00454424) Tb2dock::_16599
(004548FF) Tb2dock::_16602
(00455239) Tb2dock::TTBCustomDockableWindow::BeginMoving
(004558DF) Tb2dock::TTBCustomDockableWindow::WMNCLButtonDown
(0025B9D5) Vcl::Controls::TWinControl::WndProc
(0025B01C) Vcl::Controls::TWinControl::MainWndProc
(00380D20) System::Classes::_18201
(00045269) USER32.dll
(000361B7) USER32.dll
(000352E6) USER32.dll
(000350BB) USER32.dll.DispatchMessageW
The problem happens rarely. I cannot reproduce it.