Cannot focus a disabled or invisible window - Vcl::Forms::TCustomForm::SetFocus
<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 5.17.8
Error message:
Cannot focus a disabled or invisible window
Stack trace:
(00239969) Vcl::Forms::TCustomForm::SetFocus
(00DDB451) TEditorForm::Find
(00DDAECC) TEditorForm::FindDialogFind
(0025C450) Vcl::Dialogs::_16489
(003A58C4) System::Classes::_18201
(0003DF59) USER32.dll
(00034ED5) USER32.dll
(00034AD5) USER32.dll
(0003869D) USER32.dll
(00072AEB) ntdll.dll.KiUserCallbackDispatcher
(000328FA) USER32.dll.SendMessageW
(000616D6) COMDLG32.DLL.FindTextW
(0003DF59) USER32.dll
(00031661) USER32.dll
(00030DCB) USER32.dll
(00030BF0) USER32.dll
(0003DF59) USER32.dll
(00034ED5) USER32.dll
(000345B2) USER32.dll
(00032756) USER32.dll.CallWindowProcW
(0025C5BA) Vcl::Dialogs::TCommonDialog::DefaultHandler
(003A58C4) System::Classes::_18201
(0003DF59) USER32.dll
(00034ED5) USER32.dll
(000345B2) USER32.dll
(00032756) USER32.dll.CallWindowProcW
(0025E768) Vcl::Dialogs::_16594
(0025E813) Vcl::Dialogs::_16595
(0003DF59) USER32.dll
(00034ED5) USER32.dll
(00034AD5) USER32.dll
(0003869D) USER32.dll
(00072AEB) ntdll.dll.KiUserCallbackDispatcher
(000328FA) USER32.dll.SendMessageW
(00035DA2) COMCTL32.DLL
(000759CE) COMCTL32.DLL
(0003DF59) USER32.dll
(00034ED5) USER32.dll
(00032C45) USER32.dll
(00036E43) USER32.dll.IsDialogMessageW
The problem happens rarely. I cannot reproduce it.
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 5.17.8
Error message:
Cannot focus a disabled or invisible window
Stack trace:
(00239969) Vcl::Forms::TCustomForm::SetFocus
(00DDB451) TEditorForm::Find
(00DDAECC) TEditorForm::FindDialogFind
(0025C450) Vcl::Dialogs::_16489
(003A58C4) System::Classes::_18201
(0003DF59) USER32.dll
(00034ED5) USER32.dll
(00034AD5) USER32.dll
(0003869D) USER32.dll
(00072AEB) ntdll.dll.KiUserCallbackDispatcher
(000328FA) USER32.dll.SendMessageW
(000616D6) COMDLG32.DLL.FindTextW
(0003DF59) USER32.dll
(00031661) USER32.dll
(00030DCB) USER32.dll
(00030BF0) USER32.dll
(0003DF59) USER32.dll
(00034ED5) USER32.dll
(000345B2) USER32.dll
(00032756) USER32.dll.CallWindowProcW
(0025C5BA) Vcl::Dialogs::TCommonDialog::DefaultHandler
(003A58C4) System::Classes::_18201
(0003DF59) USER32.dll
(00034ED5) USER32.dll
(000345B2) USER32.dll
(00032756) USER32.dll.CallWindowProcW
(0025E768) Vcl::Dialogs::_16594
(0025E813) Vcl::Dialogs::_16595
(0003DF59) USER32.dll
(00034ED5) USER32.dll
(00034AD5) USER32.dll
(0003869D) USER32.dll
(00072AEB) ntdll.dll.KiUserCallbackDispatcher
(000328FA) USER32.dll.SendMessageW
(00035DA2) COMCTL32.DLL
(000759CE) COMCTL32.DLL
(0003DF59) USER32.dll
(00034ED5) USER32.dll
(00032C45) USER32.dll
(00036E43) USER32.dll.IsDialogMessageW
The problem happens rarely. I cannot reproduce it.