xffm: drag and drop

edscott wilson garcia edscott at xfce.org
Fri Jan 23 03:49:12 CET 2004


On Thu, 2004-01-22 at 17:13, Danny Milosavljevic wrote:
> Hi edscott,
> 
> I just noticed something strange...
> 
> Try the attached python test program...
> 
> Drag some file/folder (not the root item) from xffm and drop it on the
> label.
> On stdout it will output what it got in drag_data_received.
> 
> First thing is minor, it gives the file as "file:/home/dannym/blah"
> instead of "file://hostname/home/dannym/blah"... but thats okay.

OK.
> 
> Second thing is really weird.
> What I get in the callback is sometimes: some other item *and* then the
> selected item itself.
> Sometimes it works fine though.
> 
> like:
> 
> data recv
> file:/home/dannym
> file:/home/dannym/3x3eyes
> 
> ===
> data recv
> file:/home/dannym/Choices
> file:/home/dannym/GAMES
> 
> ===
> 
> Note that I only dragged one file at a time. I did not touch "Choices"
> at all.
> 
> hmm...
> 
> I have "One click drag mode" activated in current cvs head, if that
> makes a difference.
> 

Sounds like the "One click drag mode" is being ignored when the drag
selection is being built. It might be a bug. I'll try to look into it.
If you find any more details related, let me know.

thanks,

Edscott

> 
> cheers,
>    Danny
> 
> 
> 
> 
> ______________________________________________________________________
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://lunar-linux.org/mailman/listinfo/xfce4-dev




More information about the Xfce4-dev mailing list