From: Kevin W. <kw...@co...> - 2010-05-06 22:43:04
|
Hi all, George Petasis and I are making good progress on implementing dragging from a Tk window to other Mac windows, but we need to get some testing on Snow Leopard; neither of us have SL. There's one thing especially to look for: when dragging multiple files from a Tk window, the drag image sometimes turns into a gray box. We've narrowed down the behavior to what appears to be a Leopard-specific bug (involving NSImage constants and the garbage collector), but I want to see if Snow Leopard has solved this issue already. To give TkDND a whirl, you'll need to download SVN trunk of TkDND from http://sourceforge.net/projects/tkdnd, and run the normal configure, make, make install process against a build of Tcl/Tk 8.6 CVS HEAD, which supports Cocoa (or Daniel Steffen's 8.5 Tk-Cocoa backport). To test for the specific bug, run the "basic.tcl" script in the demos directory, and drag the file name on the main Tk window. If it works correctly, you'll see an image with two generic files. If the bug is present, you'll sometimes see a gray square, sometimes the correct image. Please report any feedback here. We're getting close to having full drag-and-drop functionality with TkDND. (The only thing we're not supporting is dragging files that don't exist on the system from a Tk window to the Finder--Cocoa has a completely separate drag-and-drop API called HFSFilePromise that doesn't integrate well with the API's we're using in TkDND.) Thanks, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com |
From: Youness A. <kak...@ka...> - 2010-05-07 00:43:21
|
Hi Kevin, Awesome job on TkDnd... I just got tcl/tk 8.6 CVS HEAD compiled with tkdnd SVN HEAD, and tested it, it seems to work fine.. I see the dragged icon change to add a little '+' sign to it, but it seems fine.. the drop target becomes green, and everything seems to work just fine! Let me know if you want me to test something else or test some more. Keep it up! :) KaKaRoTo On Thu, May 6, 2010 at 6:42 PM, Kevin Walzer <kw...@co...> wrote: > Hi all, > > George Petasis and I are making good progress on implementing dragging > from a Tk window to other Mac windows, but we need to get some testing > on Snow Leopard; neither of us have SL. > > There's one thing especially to look for: when dragging multiple files > from a Tk window, the drag image sometimes turns into a gray box. We've > narrowed down the behavior to what appears to be a Leopard-specific bug > (involving NSImage constants and the garbage collector), but I want to > see if Snow Leopard has solved this issue already. > > To give TkDND a whirl, you'll need to download SVN trunk of TkDND from > http://sourceforge.net/projects/tkdnd, and run the normal configure, > make, make install process against a build of Tcl/Tk 8.6 CVS HEAD, which > supports Cocoa (or Daniel Steffen's 8.5 Tk-Cocoa backport). > > To test for the specific bug, run the "basic.tcl" script in the demos > directory, and drag the file name on the main Tk window. If it works > correctly, you'll see an image with two generic files. If the bug is > present, you'll sometimes see a gray square, sometimes the correct image. > > Please report any feedback here. We're getting close to having full > drag-and-drop functionality with TkDND. (The only thing we're not > supporting is dragging files that don't exist on the system from a Tk > window to the Finder--Cocoa has a completely separate drag-and-drop API > called HFSFilePromise that doesn't integrate well with the API's we're > using in TkDND.) > > Thanks, > Kevin > > > -- > Kevin Walzer > Code by Kevin > http://www.codebykevin.com > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Tcl-mac mailing list > tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac > |