Since CGSRegisterCursorWithImages is a private function and it is not called directly form Pd, one could say it's a bug in CG per se - because the function that calls it from inside CG shall not pass on any illegal calls.<br>
<br>Andras<br><br><div class="gmail_quote">On Thu, Oct 27, 2011 at 21:19, m.e.grimm <span dir="ltr"><<a href="mailto:megrimm@gmail.com">megrimm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
yeah had a few min today to take some more look at this.<br>
<br>
been reading up on the whole tk-cocoa thing too...<br>
<br>
as far as I can tell, there are not multiple issues but one larger one<br>
narrowed down to:<br>
<br>
Oct 27 15:01:49 megrimm-mbp.local Pd-0.43.1-extended-20111027[15460]<br>
<Error>: kCGErrorIllegalArgument: CGSRegisterCursorWithImages: Invalid<br>
hot spot (outside of size)<br>
<br>
which occurs specifically when switching with the mouse between the PD<br>
console window and the canvas/patch window.<br>
<br>
also I was totally wrong here:<br>
<br>
>>> You can resize on the left, right, and bottom left now? I guess that's a<br>
>>> Lion thing.<br>
>><br>
>> No I actually CAN NOT with the autobuild ONLY with my special tk/cocoa<br>
>> build....<br>
<br>
windows CAN be resized on lion from any corner (Any Corner Resizing)<br>
although again, on my tk-cocoa build PD will crash when trying to<br>
resize from the bottom right or left. This is NOT true of the PD<br>
console window though which can be resized without a problem from any<br>
corner.<br>
<br>
my question is: whats the difference between the code for the PD<br>
console window that allows for resizing at any corner and the PD<br>
canvas windows that do not? I think this may be the heart of the prob<br>
with the crashes and weird error (CGSRegisterCursorWithImages) ....<br>
maybe.<br>
<br>
other thing i am noticing is the mouse pointer keeping weird states<br>
(double pointer, etc) without reverting back to a pointer. I also get<br>
no "hand2" in edit mode. not sure if this is related to the windowing<br>
problem though...<br>
<br>
> I know that feeling all to well, it's nice to have some company in it.<br>
<br>
i think im just starting to get old<br>
<br>
m<br>
<br>
<br>
On Wed, Oct 26, 2011 at 10:51 PM, Hans-Christoph Steiner <<a href="mailto:hans@at.or.at">hans@at.or.at</a>> wrote:<br>
><br>
> On Oct 25, 2011, at 6:37 PM, m.e.grimm wrote:<br>
><br>
>>> from that. Can you run Pd-extended 0.43 and trigger that crash, and post<br>
>>> the crash log to a <a href="http://pastebin.com" target="_blank">pastebin.com</a>?<br>
>><br>
>> you mean with the autobuilds? I can not trigger that crash with those.<br>
>> those are fine...<br>
>><br>
>> but maybe more importantly:<br>
><br>
> Duh, sorry, the point was to test Pd without the included Tcl/Tk and to use<br>
> Mac OS X's Tk/Cocoa.<br>
><br>
><br>
>>> You can resize on the left, right, and bottom left now? I guess that's a<br>
>>> Lion thing.<br>
>><br>
>> No I actually CAN NOT with the autobuild ONLY with my special tk/cocoa<br>
>> build....<br>
>><br>
>> my eyes are bleeding so more from me will have to wait until tomorrow.<br>
><br>
> I know that feeling all to well, it's nice to have some company in it.<br>
><br>
> .hc<br>
><br>
><br>
>> On Tue, Oct 25, 2011 at 4:02 PM, Hans-Christoph Steiner <<a href="mailto:hans@at.or.at">hans@at.or.at</a>><br>
>> wrote:<br>
>>><br>
>>> On Oct 25, 2011, at 3:51 PM, m.e.grimm wrote:<br>
>>><br>
>>>> well commenting out lines 84 -> 86 in pdwindow.tcl stops the message:<br>
>>>><br>
>>>> -----------<br>
>>>> UNHANDLED ERROR: can't find package tkdnd<br>
>>>> while executing<br>
>>>> "package require tkdnd"<br>
>>>> ("uplevel" body line 1)<br>
>>>> invoked from within<br>
>>>> "uplevel #0 $tclcode"<br>
>>>> FAILED TO LOAD /Library/Pd/tkdnd-plugin.tcl<br>
>>>> -----------<br>
>>>><br>
>>>><br>
>>>> from appearing in the pd window.<br>
>>>><br>
>>>> maybe thats something. IDK.<br>
>>><br>
>>> That's a red herring, you really want those lines in pdwindow.tcl since<br>
>>> they<br>
>>> show you Tcl errors. The UNHANDLED ERROR that you are seeing is caused<br>
>>> by<br>
>>> the file /Library/Pd/tkdnd-plugin.tcl. Remove that file and it will go<br>
>>> away.<br>
>>><br>
>>><br>
>>>> i will have to mess with i more when i get time. I also wanted to<br>
>>>> mention that I get spinning beachball and prog crash when I try to<br>
>>>> resize a new doc only starting from the bottom right. all other window<br>
>>>> resizing (upper left and right, bottom left) work fine. does that mean<br>
>>>> anything to you?<br>
>>><br>
>>> You can resize on the left, right, and bottom left now? I guess that's a<br>
>>> Lion thing.<br>
>>><br>
>>><br>
>>>> anyway here is the crash report:<br>
>>><br>
>>> That seems to show stuff deep in Tcl, so its hard to know what's going on<br>
>>> from that. Can you run Pd-extended 0.43 and trigger that crash, and post<br>
>>> the crash log to a <a href="http://pastebin.com" target="_blank">pastebin.com</a>? It should have more info since its<br>
>>> built<br>
>>> with debug symbols.<br>
>>><br>
>>> .hc<br>
>>><br>
<br>
</blockquote></div><br>