- Latest SVN: Adding a file in the image list editor crashes the fileopen dialog:
ERROR in LCL: Handle creation failed creating PreviewFileControl:TPreviewFileControl Creating gdb catchable error: $080815E8 RAISEGDBEXCEPTION, line 790 of lclproc.pas $0816CFCD TWINCONTROL__CREATEWND, line 6468 of ./include/wincontrol.inc $0816CBB5 TWINCONTROL__CREATEHANDLE, line 6394 of ./include/wincontrol.inc $0816DB6A TWINCONTROL__HANDLENEEDED, line 6779 of ./include/wincontrol.inc $0816BDD1 TWINCONTROL__GETHANDLE, line 5720 of ./include/wincontrol.inc $0824BDA0 TGTKWSOPENDIALOG__CREATEPREVIEWDIALOGCONTROL, line 1061 of gtkwsdialogs.pp $0824C3C0 TGTKWSOPENDIALOG__CREATEHANDLE, line 1232 of gtkwsdialogs.pp $081DDCE6 TCOMMONDIALOG__EXECUTE, line 36 of ./include/commondialog.inc $081DE266 TFILEDIALOG__EXECUTE, line 62 of ./include/filedialog.inc TApplication.HandleException Invalid floating point operation Stack trace: $08081612 RAISEGDBEXCEPTION, line 791 of lclproc.pas $0816CFCD TWINCONTROL__CREATEWND, line 6468 of ./include/wincontrol.inc $0816CBB5 TWINCONTROL__CREATEHANDLE, line 6394 of ./include/wincontrol.inc $0816DB6A TWINCONTROL__HANDLENEEDED, line 6779 of ./include/wincontrol.inc $0816BDD1 TWINCONTROL__GETHANDLE, line 5720 of ./include/wincontrol.inc $0824BDA0 TGTKWSOPENDIALOG__CREATEPREVIEWDIALOGCONTROL, line 1061 of gtkwsdialogs.pp $0824C3C0 TGTKWSOPENDIALOG__CREATEHANDLE, line 1232 of gtkwsdialogs.pp $081DDCE6 TCOMMONDIALOG__EXECUTE, line 36 of ./include/commondialog.inc $081DE266 TFILEDIALOG__EXECUTE, line 62 of ./include/filedialog.inc $08205ADF TPREVIEWFILEDIALOG__EXECUTE, line 290 of extdlgs.pas $083195D8 TIMAGELISTEDITORDLG__BTNADDCLICK, line 210 of imagelisteditor.pp $08173244 TCONTROL__CLICK, line 2044 of ./include/control.inc $0818504F TBUTTONCONTROL__CLICK, line 57 of ./include/buttoncontrol.inc $08185725 TCUSTOMBUTTON__CLICK, line 185 of ./include/buttons.inc $08185B61 TBUTTON__CLICK, line 318 of ./include/buttons.inc $081858DA TCUSTOMBUTTON__WMDEFAULTCLICKED, line 240 of ./include/buttons.inc $0806320B You can test it with the regular TOpenPicture opening dialog: drop on a form, choose 'test dialog' from component editor menu. (mantis issue 10526) - Version of 11 november (rev. 12621): Adding an image to an image list with connected toolbar/actionlist/menu crashes the IDE with a list index out of bounds error. Attached patch should fix this, but I can no longer test due to bug no 1. Submitted bug report and patch as issue 10527. (related to 10172) Michael. _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives