form.show fails to bring requested form on top if prior form.showmodal
Original Reporter info from Mantis: stinkypete
-
Reporter name: Dan Hallock
Original Reporter info from Mantis: stinkypete
- Reporter name: Dan Hallock
Description:
In my production app, the main form will show a 'login' form modally when it is first shown.
In Windows, the main form will then properly show other forms.
In Mac OS (only tested on cocoa), the loginform.showmodal works properly, but then other form.shows will not display.
IF you click on the app in the app bar, then the other work WILL show and at that point it starts working properly.
Steps to reproduce:
Using the included test application,
. run the application. Form1 (main form) is shown. It in turn calls form3 using form3.showmodal. Form 3 is properly displayed.
. Press on EXIT in form 3 to return to form 1. This will work correct.
. Press on 'form2.show' button to do form2.show. In MacOS, the focus is lost from form1, but form2 does not appear (in Windows, it would appear).
. You can press ESC which will return focus for form1 OR click on app in app bar to see form2.
. If you repeat the above test, but click on form2.showmodal (which should be labeled form3.showmodal), showmodal will work correctly here. It is only form2.show that fails.
Mantis conversion info:
- Mantis ID: 36405
- OS: MacOS
- OS Build: Mojave Catalina
- Platform: DARWIN
- Version: 2.0.6
- Fixed in revision: 62413 (#810d3c4e)
- Monitored by: » stinkypete (Dan Hallock)