TImage List ide crach lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- lfrodrigues · 2006-11-29 01:17 When I try to add a and image to an ImageList in the IDE. If the image has the same size as the image list I get "invalid floating point operation" If it is smaller or bigger there is no problem. Eg: a TImageList with 22x22 and an bmp with 22x22 generates an error, chaning the size of the image list solvs this. Is this a known bug or should I place it on  mantis? I looked at the code of ideintf/imagelisteditor.pp but it looks ok. Trace: ERROR in LCL: TQuestionDlg.CreateQuestionDlg integer expected at 0 but 11 found. Creating gdb catchable error:   $08079E24  RAISEGDBEXCEPTION,  line 785 of lclproc.pas   $0812BCDA  TQUESTIONDLG__CREATEQUESTIONDLG,  line 626 of ./include/promptdialog.inc   $0812C6D4  QUESTIONDLG,  line 765 of ./include/promptdialog.inc   $0812C789  QUESTIONDLG,  line 778 of ./include/promptdialog.inc   $0808C41A  TMAINIDE__ONIDEQUESTIONDIALOG,  line 2605 of main.pp   $0841B16A  TIMAGELISTEDITORDLG__ADDIMAGETOLIST,  line 506 of imagelisteditor.pp   $08419E9C  TIMAGELISTEDITORDLG__BTNADDCLICK,  line 216 of imagelisteditor.pp   $0813ED16  TCONTROL__CLICK,  line 1948 of ./include/control.inc   $08192EED  TBUTTONCONTROL__CLICK,  line 57 of ./include/buttoncontrol.inc TApplication.HandleException Invalid floating point operation   Stack trace:   $08079E45  RAISEGDBEXCEPTION,  line 786 of lclproc.pas   $0812BCDA  TQUESTIONDLG__CREATEQUESTIONDLG,  line 626 of ./include/promptdialog.inc   $0812C6D4  QUESTIONDLG,  line 765 of ./include/promptdialog.inc   $0812C789  QUESTIONDLG,  line 778 of ./include/promptdialog.inc   $0808C41A  TMAINIDE__ONIDEQUESTIONDIALOG,  line 2605 of main.pp   $0841B16A  TIMAGELISTEDITORDLG__ADDIMAGETOLIST,  line 506 of imagelisteditor.pp   $08419E9C  TIMAGELISTEDITORDLG__BTNADDCLICK,  line 216 of imagelisteditor.pp   $0813ED16  TCONTROL__CLICK,  line 1948 of ./include/control.inc   $08192EED  TBUTTONCONTROL__CLICK,  line 57 of ./include/buttoncontrol.inc   $08194941  TCUSTOMBUTTON__CLICK,  line 187 of ./include/buttons.inc   $08194D0D  TBUTTON__CLICK,  line 298 of ./include/buttons.inc   $08194B08  TCUSTOMBUTTON__WMDEFAULTCLICKED,  line 242 of ./include/buttons.inc   $0805E770   $0813E3EE  TCONTROL__WNDPROC,  line 1548 of ./include/control.inc   $08135DA9  TWINCONTROL__WNDPROC,  line 3459 of ./include/wincontrol.inc   $08154C65  DELIVERMESSAGE,  line 3637 of gtkproc.inc   $081F3B8C  GTKWSBUTTON_CLICKED,  line 118 of gtkwsbuttons.pp ---------------------------------------------------------------------- Vincent Snijders · 2006-11-29 06:50 Already fixed in the SVN version and the snapshots. ---------------------------------------------------------------------- lfrodrigues · 2006-11-29 18:48 Ok, so a question: should I use the SVN version to develop? does it compile wallways? ---------------------------------------------------------------------- Vincent Snijders · 2006-11-29 20:26 You should use, what your are comfortable with. SVN doesn't compile always, but it does most of the time. There are nightly builds too, see "Daily snapshots" in the left menu.