Controls lose tab selection if the "Use manifest..." option is checked and mouse is used to open the app.
Original Reporter info from Mantis: Satya
-
Reporter name: Satya Pothamsetti
Original Reporter info from Mantis: Satya
- Reporter name: Satya Pothamsetti
Description:
Controls (like buttons etc.,) lose tab selection if the "Use manifest file to enable themes (windows only)" option is checked from Project Options screen.
This has a small twist.. The problem does not show up if you do not use mouse while opening your executable. i.e., If you move around the file name with up&down arrow keys and hit Enter key to run the app, everything will be fine.
But that is only an exception to the rule as most Windows users use their mouse to open an app.
In case of using mouse to open the app, we cannot see which button is currently selected.
i.e., You will not see the selection dots around the default button.
If you click tab, the next button also does not show the selection.
No selection at all.
We can say it internally moves as clicking tab key a few times and hitting enter key opens a different button, but you cannot visually see which button is selected. This happens with other controls like check boxes too.
Steps to reproduce:
- Create an empty win32 application and drop 2 buttons (and some other controls like check boxes if you want).
- Go to Project Options screen and enable the "Use manifest file to enable themes (windows only)" option.
- Build the executable and test it opening it in two different ways A).Double click on the EXE name. B). Open it without using mouse. (Up/Down and Enter keys from your keyboard).
- Control Selection is not visible in scenario A. (But visible in B).
I have tested this on Windows XP and Vista. The behavior is same in both.
I am using Lazarus only for the past 2 days. I am sorry if my bug report has not followed any conventions you are used to.
Thanks,
Satya
Additional information:
A similar test app created in Delphi does not have this problem.
Mantis conversion info:
- Mantis ID: 10685
- Version: 0.9.24
- Fixed in version: 0.9.25 (SVN)
- Fixed in revision: 15997 (#e3235650)
- Target version: 1.0.0
- LazTarget: 1.0