Johnathan Burchill wrote: > Howdy,
Howdy, Johnathan. It's good to have you back. > A colleague asked me if there was anything that MS word could do well, > that LyX couldn't, and all I could think of was drag-n-dropping image > files into the document. That got me to thinking what it would take to > implement it in LyX. Here's one solution, albeit somewhat naive perhaps, > as I've not been hacking LyX for quite some time, so there may be > unaccounted side-effects. [snip] > I've patched 1.3.5-qt (3.3.3) for drag-n-drop of graphics files, and it > works great. Also have a patch for 1.4.0 cvs, but it's buggy, and I'm not > sure whether it's my doing or just a result of the current state of cvs. > > In 1.3.5, the image is placed at the cursor, already showing, and > clipped. But in 1.4.0, the image is always inserted at the top of the > document, and there are bizarre redraws with multiple images (e.g. some > are missing until you resize the window a certain way). This smacks of broken cursor-related stuff. Not your fault. > Is anyone working on dnd image support? Only you ;-) > The 1.4.0 current cvs patch follows. I'll comment on it when I've had time to digest it. > Let me know if you want the patch for 1.3.5. Jean-Marc's world. -- Angus