#415: Crash with "Call result #2 has unhandled type" trying to display a window
-----------------------------------+----------------------------------------
Reporter: trej...@… | Owner: r...@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Resolution:
Keywords: |
-----------------------------------+----------------------------------------
Changes (by martinlagarde...@…):
* milestone: MacRuby 0.5 =>
Comment:
If I remember correctly, the problem was an i386 bug with MacRuby, rather
than HotCocoa. More specifically:
{{{
#!ruby
framework 'Cocoa'
p NSMakeSize(400, 400)
}}}
{{{
$> arch -i386 macruby i386NaN.rb
#<NSSize width=NaN height=NaN>
}}}
I think that's the one because that's what "window :size => [100,50]"
does, and in the example, commenting this line makes the app work.
--
Ticket URL: <http://www.macruby.org/trac/ticket/415#comment:10>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel