Hi,
My application has an editor and supports drag and drop. (I use QScintilla for my editor, but the problem occurs with QTextEdit, so it doesn't seem to be widget dependent.)
Now, if I select some text (from another application), drag it and drop it on my application's editor, then the text gets inserted (as expected). However, if I select some files (from a file manager of sorts), drag them and drop them on my application's editor, then on Windows and Mac OS X, the dropping of the files gets handled by my application (which opens the files in its editor) while on Linux, the dropping of the files results in their URL being inserted (e.g. file:///home/me/myFile).
So, how come the behaviour on Linux is different from that on Windows and Mac OS X? Anyone, any idea?
Cheers, Alan.
Added after 1 42 minutes:
Problem solved. See http://developer.qt.nokia.com/forums/viewthread/12322/.
Bookmarks