[MacRuby] #466: NSTableView delegate for tool tip gives "unrecognized runtime type "
#466: NSTableView delegate for tool tip gives "unrecognized runtime type " ------------------------------------+--------------------------------------- Reporter: jonathan@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ------------------------------------+--------------------------------------- Hi, I'm just trying MacRuby 0.5 current beta. I have a very simple application that uses a NSTableView with a delegate in my ruby class. Mostly this is working just fine. However adding: [[BR]] def tableView(table, toolTipForCell:cell, rect:rect, tableColumn:column, row:row, mouseLocation:mouse) [[BR]]NSLog("Table tool tip") [[BR]]return "foo" end gives: unrecognized runtime type `{_NSRect={_NSPoint=ff}{_NSSize=ff}}' Best wishes -- Ticket URL: <http://www.macruby.org/trac/ticket/466> MacRuby <http://macruby.org/>
#466: NSTableView delegate for tool tip gives "unrecognized runtime type " ------------------------------------+--------------------------------------- Reporter: jonathan@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ------------------------------------+--------------------------------------- Comment(by lsansonetti@…): Are you running the app in 32-bit or 64-bit? -- Ticket URL: <http://www.macruby.org/trac/ticket/466#comment:1> MacRuby <http://macruby.org/>
#466: NSTableView delegate for tool tip gives "unrecognized runtime type " ------------------------------------+--------------------------------------- Reporter: jonathan@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ------------------------------------+--------------------------------------- Comment(by jonathan@…): Laurent, thank you for the quick response. XCode is set to x64 for this project (so I assume we're 64 bit). Is there a way to detect 32/64 bit from within the ruby code? Many thanks -- Ticket URL: <http://www.macruby.org/trac/ticket/466#comment:2> MacRuby <http://macruby.org/>
#466: NSTableView delegate for tool tip gives "unrecognized runtime type " ------------------------------------+--------------------------------------- Reporter: jonathan@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: minor | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: fixed Keywords: | ------------------------------------+--------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed Comment: A way to detect this is to check the RUBY_ARCH constant: {{{ $ arch -i386 macruby -e "p RUBY_ARCH" "i386" $ arch -x86_64 macruby -e "p RUBY_ARCH" "x86_64" }}} I investigated your problem and it should be fixed in r3069. Thanks for the report! -- Ticket URL: <http://www.macruby.org/trac/ticket/466#comment:3> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby