Are setDraggable and mouseWentUp incompatible ?
Added by Hyeoni Hwasoo almost 10 years ago
Hi Koen,
Thank you for http://redmine.webtoolkit.eu/boards/2/topics/8920 and http://redmine.webtoolkit.eu/boards/2/topics/8895 but both do not work at the same time : setDraggable is ok but now i can not popup on right click...
node~~label()>setDraggable("own_type", dragImage, true);label()~~>mouseWentUp.connect(...);
node
(The drop runs correctly with acceptDrops and the overloading of dropEvent)
Regards,
Hyeon.
Replies (3)
RE: Are setDraggable and mouseWentUp incompatible ? - Added by Hyeoni Hwasoo almost 10 years ago
It's a little bit strange. Sometimes when i try several times it works, the context menu appears on the right click (other times the right click is not catched).
[Solved] RE: Are setDraggable and mouseWentUp incompatible ? - Added by Hyeoni Hwasoo almost 10 years ago
Solved with commit number 1034 but with a little modification :
http://redmine.webtoolkit.eu/issues/3170
RE: Are setDraggable and mouseWentUp incompatible ? - Added by Hyeoni Hwasoo over 9 years ago
Hi Koen,
Commit 1048 https://github.com/kdeforche/wt/commit/37750b3523ac7ac43d3f06104b93432d40a0075a solved my problem too (as #3534) without modification !
Note : In Wt.js, in dragStart function, WT.button(e) returns 4 for right-clic and not 2 (middle-click) : tested on FF, IE, Chrome and Opera (but I'm sure you knew that :D )
Thanks !
Hyeon.