Feature Requests: Browse | Submit New | Admin
A common bug in FOX and FXRuby applications has to do with using icons before they've been constructed. Currently, FXRuby segfaults when you do this. Would be better if a reasonable exception were thrown.
Add A Comment:
Date: 2008-06-22 23:15 Sender: Lyle Johnson See also bug report #20702.
Date: 2008-03-10 15:47 Sender: Tim Smith Having just spent a day isolating this seg fault, I'd like to second the request to have it throw an informative exception, or even better, call create automatically.
Date: 2007-02-09 21:37 Sender: Lyle Johnson Well, that's not going to be it, because we have no control over those DC instances (i.e. they are real instances of FXDCWindow, etc. and not FXRbDCWindow). So I guess we have to catch an un-created icon being passed into a widget that we know has already been created, and create the icon for them at that point.
Date: 2007-02-09 21:27 Sender: Lyle Johnson A grep for the string "illegal icon" in the FOX source code reveals that this is an issue in just a handful of places: FXDCWindow, FXTopWindow and FXWindow. Will try just adding a call to create() in these places if we detect that icon->id() is not set.