Philippe Houdoin <philippe.houdoin@xxxxxxxxx> wrote: > > Even for small files, one would usually expect the file name to > > appear > > when dragging a text file to a text control. Or maybe have > > BTextControl > > insert the path, and BTextView insert the file -- a preview would > > be > > nice then, though. > Having non-predictable behavior on drag depending on target type, > even when > both are text controls, sounds dangerous. BTextView and BTextControl look very different, and don't leave room for confusion IMO. BTW the code is currently completely broken, was that you Rene? The most annoying problem is that the path is always appended, never replaced (no matter the previous selection). And for BTextControls, this really hardly ever makes sense, anyway. Applications like Expander already implement the functionality, and there it makes sense, too. Maybe have it enabled only on demand? > If you want alternative behavior on drop, let's use alternative drop > method. Usually, it's based on modifier(s) or alternative button > hold at > drop time. AFAICT, Tracker handle differently a drop action trigger > by left > or right button, no? I wouldn't mind a menu on right click drop where you can actually select how the ref should be handled. A modifier could be used to automatically set one of those possibilities. Bye, Axel.