Hi Charles,
> Hello,
>
> I have an application using objects with d&d facilities.
> It works well when compiling (and using) all the classes, but I loose 
> d&d if I use only the 'needed' classes (APPLICATION_COMPLETE_SOURCE = 
> false)
The problem is that the drag and drop handler is marked as optional in 
the event handler because it has a reasonable size (1000+ lines) and not 
all applications need it. It is unfortunately not possible to detect 
automatically whether drag and drop is used in the application.
> The work-around is easy: just adding a directive in my application:
> #require(qx.event.handler.DragAndDropHandler)
This a good solution for your problem. Starting with qooxdoo 0.7 the 
generator will display a list of all classes, which are merked as 
optional and are not loaded. This will help to detect, what is going wrong.

> But, it can be very hard and time consuming for a developper to 
> understand why drag and drop is not working.
>
> In my point of view, builder should be able to detect the use of d&d 
> events and automatically include the needed qooxdoo class (module) to 
> handle it.
> What do you think ?
For the reasons above we would like to keep drag and drop supoprt 
optional. We think that better messages from the generator should help 
users solving the problem.

Best Fabian

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to