FMX: TForm.Show and TForm.ShowModal sometimes results in form shown underneath main form

  

This is an issue that happens intermittently. A secondary form is shown using Show or ShowModal, it appears on top for a fraction of a second but then disappears behind the main form. If the window is not modal then the solution is just to repeat the action again to show the form or unmaximise the main form if needed, and move it to reveal the other form. However, if the form is modal then there’s no way out. The application is halted until the modal window is closed and there’s no way to close it with it hidden behind the main form and no way to move the main form. The application has to be closed from Task Manager (not good).
I’m using Delphi 10.4. Has anyone else experienced this issue? Has it been reported and does anyone have a solution?

Comments are closed.