[Qt] TEditButton lost focus on button click
Original Reporter info from Mantis: Alexx2000 @alexx2000
-
Reporter name: Alexander Koblov
Original Reporter info from Mantis: Alexx2000 @alexx2000
- Reporter name: Alexander Koblov
Description:
If TEditButton has parent control which can have focus then it lost focus on button click (focus goes to parent).
The problem exists under Qt4, Qt5. Works fine under Gtk2, Win32. As I remember it worked under Qt long time ago.
Same problem can be reproduced with TPanel with TEdit and TSpeedButton.
TGraphicControl (TSpeedButton) should not change focus on click.
Steps to reproduce:
Execute test program.
Press TEditButton button.
Mantis conversion info:
- Mantis ID: 36006
- OS: Linux
- Platform: x86_64
- Version: 2.0.4