You could try commenting out the code that changes the cursor. And see
if that works otherwise. That would at least isolate the problem.
.hc
On Oct 25, 2011, at 1:49 PM, m.e.grimm wrote:
this is def. some kind of cursor problem. this specifically happens when i go into edit mode with "command + e" as in the error below which keeps the same out of edit mode pointer.
".x1002263c0 editmode 1; .x1002263c0 configure -cursor $cursor_editmode_nothing pdtk_canvas_editmode .x1002263c0 1
.x1002263c0 key 0 101 0;
.x1002263c0 key 0 ?? 0; Oct 25 13:39:12 megrimm-mbp.local Pd-0.43.1-extended-20111024[22508] <Error>: kCGErrorIllegalArgument: CGSRegisterCursorWithImages: Invalid hot spot (outside of size)
.x1002263c0 motion 169.0 51.0 0;"
Edit mode enabled from menu, on the other hand, renders a double pointed arrow shown in the attached image screen grab.
Although CGSRegisterCursorWithImages yield no results (other than this thread), CGSRegisterCursorWithData does, although still fairly limited with some highlighted non-pd related errors logged below.
"13 nsWindow::SetCursorResource(short) 10 SetCursor 10 SetCGXORCursor 10 CGSSetCursorFromPremultipliedDataWithSeed 10 CGSRegisterCursorWithData 10
CGSRegisterCursorWithData2 10
_CGSRegisterCursorWithData 10 mach_msg 10 mach_msg_trap 10 mach_msg_trap""Thread 0: 0 libSystem.B.dylib 0x90009857 mach_msg_trap + 7 1 com.apple.CoreGraphics 0x903a684a _CGSRegisterCursorWithData + 356 2 com.apple.CoreGraphics 0x903a6111 CGSRegisterCursorWithData2 + 954 3 com.apple.CoreGraphics 0x903bfe86 CGSRegisterCursorWithData + 163 4 com.apple.QD 0x9176ebc6 QDRegisterNamedPixMapCursor + 1546"
"1 CursorTimer(TMTask*) 1 CursorInterrupt() 1 SetCursor 1 CGSSetCursorFromPremultipliedDataWithSeed 1 CGSRegisterCursorWithData 1 CGSRegisterCursorWithData2 1 _CGSRegisterCursorWithData 1 mach_msg"
Funny enough, I also stumbled upon a forum post by you looking for advice on "toplevel configure -cursor arrow updates without mouse movement" from 2009. (http://sourceforge.net/mailarchive/message.php?msg_id=22151861)
Could all this "CGSRegisterCursorWithImages" be related to your previous Tcl pointer questions?
best m
On Tue, Oct 25, 2011 at 12:54 PM, Hans-Christoph Steiner <hans@at.or.at
wrote:
Wow, searching for CGSRegisterCursorWithImages only returns this
thread! That's obscure...Thanks for handling this, keep us posted on any progress.
.hc
On Oct 25, 2011, at 10:00 AM, m.e.grimm wrote:
yeah.... searches for this error in particular "CGSRegisterCursorWithImages" have not yielded much help.
I have posted to the tcl-mac list... we will see whats said.
cheers m
On Mon, Oct 24, 2011 at 4:53 PM, Hans-Christoph Steiner <hans@at.or.at
wrote:
On Monday, October 24, 2011 2:47 PM, "m.e.grimm"
megrimm@gmail.com wrote:Also, you'll probably see a menu called "Apple" on the menubar, that was a bug previously that probably has not been fixed. Or maybe two "Help" menus.
Yes. "Apple". its there....
Try running it like this: -stderr -d 3
And that will tell us a lot more.
terminal output below after new canvas,making a broken [metro], a blank object, a blank message, a symbol, a numberbox and a comment (what else should i do?):
This looks to be the relevant error but I could be wrong: kCGErrorIllegalArgument: CGSRegisterCursorWithImages: Invalid
hot spot (outside of size)When you get partially drawn patches, that means that a Tcl command failed to run properly, so it stops the normal execution of the
rest of the code to draw the patch. My guess is that its related to the
above error message, perhaps you can search around a bit or ask on the
mac-tcl forum.Basically the key is to find which command went awry.
.hc
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com | 315.378.2136 _________________________________
I have always wished for my computer to be as easy to use as my
telephone; my wish has come true because I can no longer figure out how to use
my telephone." --Bjarne Stroustrup (creator of C++)-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com | 315.378.2136 _________________________________
The arc of history bends towards justice. - Dr. Martin Luther
King, Jr.