GTK2: SetFocus is ignored in certain cases
Original Reporter info from Mantis: Martin @martin_frb
-
Reporter name: Martin Friebe
Original Reporter info from Mantis: Martin @martin_frb
- Reporter name: Martin Friebe
Description:
Tested with attached app.
If the checkbox is checked, then closing Form3 should Focus Form2.Edit1
- Checkbox must be checked always
- Form3 can be shown via button1
- Form3 can be closed by click on Form3 (Form3.OnClick)
- Form3 can be closed by click on one of the other forms (Form3.Deactivate
** On Ubunto9 / Gnome
- With single-task-bar-button or with multi-task-bar-button
Close form3 via click on Form2 or Form3 => works: edit has focus
(If LCL compiled with -dVerboseFocus,
you can see additional focus msgs after the focus was set)
Close Form3 via click on Form1 => fails Form1 will be focused (BUG)
** On Fedora 13 / XFCE Desktop
- With single-task-bar-button or with multi-task-bar-button
Close form3 via click on Form1 or Form2 => works: edit has focus
Close Form3 via click on Form3 => fails Form1 will be focused (BUG)
(If LCL compiled with -dVerboseFocus,
you can see additional focus msgs after the focus was set)
Mantis conversion info:
- Mantis ID: 17562
- Version: 0.9.29 (SVN)