U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » U++ Developers corner » Stupid X11 Xdnd problem...
Re: Stupid X11 Xdnd problem... [message #9787 is a reply to message #9786] Wed, 30 May 2007 14:06 Go to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
mrjt wrote on Wed, 30 May 2007 07:48

Both of these could concievably break some applications, and being able to drag flies into text editors can be a nice feature. Perhaps a third solution:

- A bottom up pass with text/uri-list, if nothing accepts it then repeat with text formats

Or is this too complicated?


I think this is unsystematic. From the basic interface point of view, are formats are equal, eventual priority should be achieved by call ordering (just like it is for keys).

I am starting to lean towards top-bottom call ordering. It can hardly break any applications (there are only 2 at the moment, uWord and TheIDE, and both will work OK with this).

Perhaps there is some logic in this: Application is more likely to know about special formats, whereas CtrlLib widgets are not.

In fact, thinking about it even more, maybe it should even be regular DragAndDrop event (not ChildDragAndDrop), going up->down. It starts to make sense to me...
 
Read Message
Read Message
Read Message
Previous Topic: 705-dev2 installation problem on Windows
Next Topic: 07-06-23 Dev - MemoryDumpLeaks not member of UPP on Mac
Goto Forum:
  


Current Time: Sun Oct 11 16:24:56 GMT+2 2026

Total time taken to generate the page: 0.07691 seconds