Always On Top (Linux) ZVDatetimeCtrls's Date Picker pop-up doesn't show
Original Reporter info from Mantis: allanregistos
-
Reporter name: Allan E. Registos
Original Reporter info from Mantis: allanregistos
- Reporter name: Allan E. Registos
Description:
In linux, we have this privilege to keep a certain application window on top of any window by right-clicking the top bar and click 'Always On Top' from the context menu.
Using ZVDatetimeCtrls 1.4's control, the TZVDateTimePicker, the date picker popup no longer visible when we enable 'Always On Top' from the context menu. When the control is clicked with 'Always On Top' enabled, the popup is actually behind the application Window so it is no longer visible.
This might be an issue for some Linux users who accidentally or incidentally enabled the Always On Top feature on Linux and that they may stumble upon this bug.
Steps to reproduce:
- If there is no 'Date and Time Ctrls' then Install the ZVDateTimeCtrls1.4 package / then rebuild lazarus.
- Restart Lazarus and create a New Application project
- Find the 'Date and Time Ctrls' tab in the toolbar and click it
- Click 'TZVDateTimePicker' and drop it on the form.
- Run the project
- Click the Date Picker control to test
- Right click the top bar of your running project
- From the context menu, click 'Always On Top'
- Click the Date Picker again and the popup is no longer visible.
Additional information:
Attached gzip file is the test project for anyone to quickly reproduce the bug.