fsStayOnTop forms stays on top of ShowMessage/MessageDlg windows
Original Reporter info from Mantis: Maxim @ganmax
-
Reporter name: Maxim Ganetsky
Original Reporter info from Mantis: Maxim @ganmax
- Reporter name: Maxim Ganetsky
Description:
When ShowMessage/MessageDlg is called from the form with style fsStayOnTop, they get the focus, but the form stays on top of them.
The issue is present also in Lazarus 0.9.28.3.
There are also bugs #7824 (closed) and #2011 (closed).
Since they are marked as fixed I consider this bug a regression.
Steps to reproduce:
- Load attached project.
- Click 'Show Form2' button.
- Form2 with fsStayOnTop style will open.
- Click 'Call ShowMessage' button there.
- Move ShowMessage window and you will see that Form2 is always above it.
Mantis conversion info:
- Mantis ID: 15636
- OS: Windows
- OS Build: XP SP2
- Build: Lazarus 0.9.29 r23601 FPC 2.4.1
- Platform: Win32
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 25138 (#6cbcdb2b)
- Target version: 0.9.30