On 01/12/2014 10:55 AM, Ivica Ico Bukvic wrote:
Hi,

This is because pd-l2ork has recently introduced a way of filtering autorepeat keys so that [key], [keyup], and [keyname] objects only report real key presses (as they should) while other forms of key input (e.g. writing into an object box) still obey the autorepeat. This had to be done in a way that breaks pdtk_canvas_send_key by adding an additional variable and hence library like gridflow that hasn't kept up with pd-l2ork's updates is no longer functioning as it should. Adapting this to pd-l2ork should not take much of an effort--it is just a question of time and who will do it.

But notice the error tells the user that the proc expects five args, and not seven args like your revision of pdtk_canvas_sendkey.  This is because matju told Gridflow to steal the pdtk_canvas_sendkey proc and renamed it to pdtk_canvas_sendqui (which is pretty funny in itself), and then it sends tcl a brand new pdtk_canvas_sendkey proc with 5 args and code that presumably has to do with unicode support.  I say that because you can find it in the Gridflow source file named "unicorn.cxx" (which is also funny in itself).

So if you can figure out what it's doing, you can try to merging it into Pd-l2ork or at least make it compatible with it.  But there are probably several other places where matju drilled into Pd's walls from the outside, and they probably conflict with Pd-l2ork's renovations.  (Probably the widgetbehavior struct and comment struct conflict.)

-Jonathan


HTH

Best wishes,

Ico

On 01/12/2014 09:01 AM, t'es in t'es bat wrote:
hello,
this bug now crash pd ...
If i try to type in an new message or if i try to just put a new object.
I'm using pd-l2ork and mint olivia base on ubuntu 13.04/raring so...
any ideas...

Happy new year again...

david

TNTB
P/: 06 86 86 12 19
SKYPE/: tntb.net
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http://www.tntb.net

/_̲̅̅̅̅_̲̅_─ ̲̲̲̲̲̲͋̅̅̅̅_̲̅
 _ _̲̲̲̲̲̲̲̲̲̅̅̅̅̅̅̅_̲̲̲̲̲̲̲̲̅̅̅̅̅_̲̲̅ ̲__̲̅̅̅̅_̲̅_─ ̲̲̲̲̲̲͋̅̅̅̅_̲̅
_ _̲̲̲̲̲̲̲̲̲̅̅̅̅̅̅̅_̲̲̲̲̲̲̲̲̅̅̅̅̅_̲̲̅ ̲__̲̅̅̅̅_̲̅_─ ̲̲̲̲̲̲͋̅̅̅̅_̲̅
 _ _̲̲̲̲̲̲̲̲̲̅̅̅̅̅̅̅_̲̲̲̲̲̲̲̲̅̅̅̅̅_̲̲̅ ̲__̲̅̅̅̅_̲̅_─ ̲̲̲̲̲̲͋̅̅̅̅_̲̅
 _ _̲̲̲̲̲̲̲̲̲̅̅̅̅̅̅̅_̲̲̲̲̲̲̲̲̅̅̅̅̅_̲̲̅ ̲__̲̅̅̅̅_̲̅_




2014/1/12 t'es in t'es bat <tesintesbat@gmail.com>
Hello,

Happy new year...

i'm just working for few weeks with pd-L2ork
today i compile gridflow from svn and now
i'can't type text in canvas it works on tcl console or in other place in the software but impossible in canvas. It's like the keyboard doesn't work...
each character return a: tcl error: wrong # args: should be "pdtk_canvas_sendkey name state key iso shift"

so what can i do ...?

David
TNTB
P/: 06 86 86 12 19
SKYPE/: tntb.net
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http://www.tntb.net

/_̲̅̅̅̅_̲̅_─ ̲̲̲̲̲̲͋̅̅̅̅_̲̅
 _ _̲̲̲̲̲̲̲̲̲̅̅̅̅̅̅̅_̲̲̲̲̲̲̲̲̅̅̅̅̅_̲̲̅ ̲__̲̅̅̅̅_̲̅_─ ̲̲̲̲̲̲͋̅̅̅̅_̲̅
_ _̲̲̲̲̲̲̲̲̲̅̅̅̅̅̅̅_̲̲̲̲̲̲̲̲̅̅̅̅̅_̲̲̅ ̲__̲̅̅̅̅_̲̅_─ ̲̲̲̲̲̲͋̅̅̅̅_̲̅
 _ _̲̲̲̲̲̲̲̲̲̅̅̅̅̅̅̅_̲̲̲̲̲̲̲̲̅̅̅̅̅_̲̲̅ ̲__̲̅̅̅̅_̲̅_─ ̲̲̲̲̲̲͋̅̅̅̅_̲̅
 _ _̲̲̲̲̲̲̲̲̲̅̅̅̅̅̅̅_̲̲̲̲̲̲̲̲̅̅̅̅̅_̲̲̅ ̲__̲̅̅̅̅_̲̅_





_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


-- 
Ivica Ico Bukvic, D.M.A
Composition, Music Technology
Director, DISIS Interactive Sound & Intermedia Studio
Director, L2Ork Linux Laptop Orchestra
Head, ICAT IMPACT Studio
Virginia Tech
Department of Music
Blacksburg, VA 24061-0240
(540) 231-6139
(540) 231-5034 (fax)
disis.music.vt.edu
l2ork.music.vt.edu
ico.bukvic.net


_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list