Since CGSRegisterCursorWithImages is a private function and it is not called directly form Pd, one could say it&#39;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">&lt;<a href="mailto:megrimm@gmail.com">megrimm@gmail.com</a>&gt;</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>
&lt;Error&gt;: 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>
&gt;&gt;&gt; You can resize on the left, right, and bottom left now?  I guess that&#39;s a<br>
&gt;&gt;&gt; Lion thing.<br>
&gt;&gt;<br>
&gt;&gt; No I actually CAN NOT with the autobuild ONLY with my special tk/cocoa<br>
&gt;&gt; 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 &quot;hand2&quot; in edit mode. not sure if this is related to the windowing<br>
problem though...<br>
<br>
&gt; I know that feeling all to well, it&#39;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 &lt;<a href="mailto:hans@at.or.at">hans@at.or.at</a>&gt; wrote:<br>
&gt;<br>
&gt; On Oct 25, 2011, at 6:37 PM, m.e.grimm wrote:<br>
&gt;<br>
&gt;&gt;&gt; from that.  Can you run Pd-extended 0.43 and trigger that crash, and post<br>
&gt;&gt;&gt; the crash log to a <a href="http://pastebin.com" target="_blank">pastebin.com</a>?<br>
&gt;&gt;<br>
&gt;&gt; you mean with the autobuilds? I can not trigger that crash with those.<br>
&gt;&gt; those are fine...<br>
&gt;&gt;<br>
&gt;&gt; but maybe more importantly:<br>
&gt;<br>
&gt; Duh, sorry, the point was to test Pd without the included Tcl/Tk and to use<br>
&gt; Mac OS X&#39;s Tk/Cocoa.<br>
&gt;<br>
&gt;<br>
&gt;&gt;&gt; You can resize on the left, right, and bottom left now?  I guess that&#39;s a<br>
&gt;&gt;&gt; Lion thing.<br>
&gt;&gt;<br>
&gt;&gt; No I actually CAN NOT with the autobuild ONLY with my special tk/cocoa<br>
&gt;&gt; build....<br>
&gt;&gt;<br>
&gt;&gt; my eyes are bleeding so more from me will have to wait until tomorrow.<br>
&gt;<br>
&gt; I know that feeling all to well, it&#39;s nice to have some company in it.<br>
&gt;<br>
&gt; .hc<br>
&gt;<br>
&gt;<br>
&gt;&gt; On Tue, Oct 25, 2011 at 4:02 PM, Hans-Christoph Steiner &lt;<a href="mailto:hans@at.or.at">hans@at.or.at</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Oct 25, 2011, at 3:51 PM, m.e.grimm wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; well commenting out lines 84 -&gt; 86 in pdwindow.tcl stops the message:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; -----------<br>
&gt;&gt;&gt;&gt; UNHANDLED ERROR: can&#39;t find package tkdnd<br>
&gt;&gt;&gt;&gt;  while executing<br>
&gt;&gt;&gt;&gt; &quot;package require tkdnd&quot;<br>
&gt;&gt;&gt;&gt;  (&quot;uplevel&quot; body line 1)<br>
&gt;&gt;&gt;&gt;  invoked from within<br>
&gt;&gt;&gt;&gt; &quot;uplevel #0 $tclcode&quot;<br>
&gt;&gt;&gt;&gt; FAILED TO LOAD /Library/Pd/tkdnd-plugin.tcl<br>
&gt;&gt;&gt;&gt; -----------<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; from appearing in the pd window.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; maybe thats something. IDK.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; That&#39;s a red herring, you really want those lines in pdwindow.tcl since<br>
&gt;&gt;&gt; they<br>
&gt;&gt;&gt; show you Tcl errors.  The UNHANDLED ERROR that you are seeing is caused<br>
&gt;&gt;&gt; by<br>
&gt;&gt;&gt; the file /Library/Pd/tkdnd-plugin.tcl.  Remove that file and it will go<br>
&gt;&gt;&gt; away.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; i will have to mess with i more when i get time. I also wanted to<br>
&gt;&gt;&gt;&gt; mention that I get spinning beachball and prog crash when I try to<br>
&gt;&gt;&gt;&gt; resize a new doc only starting from the bottom right. all other window<br>
&gt;&gt;&gt;&gt; resizing (upper left and right, bottom left) work fine. does that mean<br>
&gt;&gt;&gt;&gt; anything to you?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; You can resize on the left, right, and bottom left now?  I guess that&#39;s a<br>
&gt;&gt;&gt; Lion thing.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; anyway here is the crash report:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; That seems to show stuff deep in Tcl, so its hard to know what&#39;s going on<br>
&gt;&gt;&gt; from that.  Can you run Pd-extended 0.43 and trigger that crash, and post<br>
&gt;&gt;&gt; the crash log to a <a href="http://pastebin.com" target="_blank">pastebin.com</a>?  It should have more info since its<br>
&gt;&gt;&gt; built<br>
&gt;&gt;&gt; with debug symbols.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; .hc<br>
&gt;&gt;&gt;<br>
<br>
</blockquote></div><br>