Exception fired because assertion failed
Original Reporter info from Mantis: jujibo @jujibo
-
Reporter name: Julio Jiménez Borreguero
Original Reporter info from Mantis: jujibo @jujibo
- Reporter name: Julio Jiménez Borreguero
Description:
TOpenDialog assertion failed when closing form using window close button.
Also TSaveDialog, TOpenDirectory and other dialogs are affected.
Steps to reproduce:
Create a default application project.
Put a TOpenDialog in the form, add a button to execute the TOpenDialog.
when the opendialog is shown press close button in the window (title bar).
Assertion will fail and an exception is thrown.
Additional information:
File: gtk2proc.inc
Line: 3674
if handle = 0 then
Assert (false, 'Trace: [ObjectToGtkObject]****** Warning: handle = 0 *******');
Just curious, TOpenDialog.OnClose is executed twice closing the window.
Mantis conversion info:
- Mantis ID: 20151
- OS: Linux
- OS Build: 2.6.38
- Platform: GTK2
- Version: 0.9.30.1 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 32188 (#713fc0e5)
- Target version: 0.99.0