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 6.5.4
Error message:
Cannot focus a disabled or invisible window
Stack trace:
(004ACA09) Vcl::Forms::TCustomForm::SetFocus
(00547112) Tb2dock::TTBFloatingWindowParent::CMDialogKey
(003A356D) Vcl::Controls::TWinControl::WndProc
(004A77B4) Vcl::Forms::TCustomForm::WndProc
(0039DFF8) Vcl::Controls::TControl::Perform
(003A5B9D) Vcl::Controls::TWinControl::CNKeyDown
(003A356D) Vcl::Controls::TWinControl::WndProc
(004A77B4) Vcl::Forms::TCustomForm::WndProc
(003A2A78) Vcl::Controls::TWinControl::MainWndProc
(00204C90) System::Classes::_18364
(00038B21) USER32.dll
(00026C98) USER32.dll
(0002673B) USER32.dll
(00032FA7) USER32.dll
(0007A644) ntdll.dll.KiUserCallbackDispatcher
(0003F4F3) USER32.dll
(00026461) USER32.dll.SendMessageW
The problem happens rarely. I cannot reproduce it.
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 6.5.4
Error message:
Cannot focus a disabled or invisible window
Stack trace:
(004ACA09) Vcl::Forms::TCustomForm::SetFocus
(00547112) Tb2dock::TTBFloatingWindowParent::CMDialogKey
(003A356D) Vcl::Controls::TWinControl::WndProc
(004A77B4) Vcl::Forms::TCustomForm::WndProc
(0039DFF8) Vcl::Controls::TControl::Perform
(003A5B9D) Vcl::Controls::TWinControl::CNKeyDown
(003A356D) Vcl::Controls::TWinControl::WndProc
(004A77B4) Vcl::Forms::TCustomForm::WndProc
(003A2A78) Vcl::Controls::TWinControl::MainWndProc
(00204C90) System::Classes::_18364
(00038B21) USER32.dll
(00026C98) USER32.dll
(0002673B) USER32.dll
(00032FA7) USER32.dll
(0007A644) ntdll.dll.KiUserCallbackDispatcher
(0003F4F3) USER32.dll
(00026461) USER32.dll.SendMessageW
The problem happens rarely. I cannot reproduce it.