Comment 4 for bug 145251

Revision history for this message
Mats (matsben) wrote :

There are a lot of weird things going on here. Now I can't get anything to work, on linux. Windows works perfectly. It is likely that tkdnd bugs are also involved, seen a few. One peculiar thing is that if a drag a contact from the roster (exported as file & text) to the Chat window, the target handler for text (text/plain;charset=UTF-8) is executed, but that was only registered for files!

    dnd bindtarget $win text/uri-list <DragEnter> \
     [list ::Chat::DnDFileEnter $chattoken %W %A %D %T] 80

Dragging contact from roster to Chat:
% ::Chat::DnDFileEnter win=.jchat1.frall.fthr.m.pane.frtxtsnd.text, data=, type=text/plain;charset=UTF-8