LCL: Regression TCustomForm.OnActivate
Original Reporter info from Mantis: zeljko@holobit.net @zeljan1
-
Reporter name: Zeljan Rikalo
Original Reporter info from Mantis: zeljko@holobit.net @zeljan1
- Reporter name: Zeljan Rikalo
Description:
Just spotted that Form.OnActivate now:
1.Qt/Qt5 - triggers two times, first from delayed event and then regulary from widgetset.
2.Gtk2/Windows - triggers once with Self.Active = False (seem that both sets Form.Active somewhere else but not sure).
Found that regression for Qt/Qt5 comes from commit r61997 by Juha.
For all widgetsets: IMO, inside OnActivate Form.Active should be true, not false like now it is for gtk2 and win32.
Steps to reproduce:
Create empty form and assign OnActivate event.
Mantis conversion info:
- Mantis ID: 36877
- Fixed in revision: r62892 (#e91c53d5)