GTK3: FormShow event fired at FormCreate
Original Reporter info from Mantis: crlab @neurolabusc1
-
Reporter name: Chris Rorden
Original Reporter info from Mantis: crlab @neurolabusc1
- Reporter name: Chris Rorden
Description:
With other WidgetSets, the FormShow event is fired when a Form is displayed to the user, but with GTK3 it is fired when the Form is created. Consider an application that has several forms, only one of which is visiable at launch. GTK3 will generate FormShow events for all of the forms when the application is started.
Steps to reproduce:
Create a Form that is not the primary form, and not visible at Launch. Have it signal when it is 'shown'. Note that this signal is triggered when the GTK3 application is launched...
procedure TForm2.FormShow(Sender: TObject);
begin
writeln('Form2 FormShow');
end;
Mantis conversion info:
- Mantis ID: 39046
- OS: Ubuntu
- OS Build: 20.04
- Build: 65292
- Platform: Ryzen 3900X
- Version: 2.3 (SVN)
- Monitored by: » AntonK (Anton Kavalenka), » @Alexey-T1 (CudaText man)