Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,108
    • Issues 2,108
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • LazarusLazarus
  • LazarusLazarus
  • Issues
  • #36405
Closed
Open
Issue created Dec 07, 2019 by FPC Admin account@fpc_adminOwner

form.show fails to bring requested form on top if prior form.showmodal

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)
Assignee
Assign to
Time tracking