Cannot focus a disabled or invisible window - Vcl::Forms::TCustomForm::SetFocus
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 5.9.2
Error message:
Cannot focus a disabled or invisible window
Stack trace:
(0020D919) Vcl::Forms::TCustomForm::SetFocus
(0001207D) TCustomScpExplorerForm::ExecuteFile
(00012776) TCustomScpExplorerForm::ExecuteFile
(00017F25) TCustomScpExplorerForm::DoDirViewExecFile
(00017DFA) TCustomScpExplorerForm::DirViewExecFile
(004082B4) Customdirview::TCustomDirView::Execute
(00405CC2) Customdirview::TCustomDirView::DoExecute
(0040688F) Customdirview::TCustomDirView::WMLButtonDblClk
(0024EC29) Vcl::Controls::TWinControl::WndProc
(00292B57) Vcl::Comctrls::TCustomListView::WndProc
(00372BEC) System::Classes::_18201
(0002C2B1) USER32.dll
(0000D885) USER32.dll
(0000CF12) USER32.dll.CallWindowProcW
(0007957A) COMCTL32.DLL
(00079561) COMCTL32.DLL
(0007939C) COMCTL32.DLL
(0002C2B1) USER32.dll
(0000D885) USER32.dll
(0000CF12) USER32.dll.CallWindowProcW
(0042C32F) Dragdrop::TDragDrop::WndMethod
(00372BEC) System::Classes::_18201
(0002C2B1) USER32.dll
(0000D885) USER32.dll
(0000D1DF) USER32.dll
(0000CF9B) USER32.dll.DispatchMessageW
The problem happens rarely. I cannot reproduce it.