[PATCH] KDesktop drag & drop (BR26456)

Waldo Bastian bastian at kde.org
Tue May 6 23:22:49 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi David,

First concept patch for fixing the drag&drop positions in kdesktop.

It still needs a little work, e.g. when the rename dialog gets triggered and 
the user selects a different filename it should re-emit this aboutToCreate 
signal witht the new name choosen by the user.

Dragging links and dragging text-fragments to the desktop works ok now.

Still todo: 
* slotPaste used to store a position as well. That's commented out at the 
moment, not sure if it is still needed actually since the RMB menu doesn't 
seem to contain paste to start with.
* Not sure if the API is optimal, e.g. at some point we might wish to maintain 
the relative locations if a drag contains multiple items
* When dropping multiple items it should probably space the items a little bit 
more intelligent around.

Totally unrelated: I noticed that the "Create New" menu has entries for 
Harddisk/DVD player/Floppy. Shouldn't those be removed? We now have automatic 
device detection and if you really want to keep a way to create such links, 
the control center might be a better place. It's also a bit misleading, it 
doesn't create a new harddisk at all, the best it can do is creating a link 
to an already existing harddisk ;-)

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+uDW5N4pvrENfboIRAvCOAJ9JInernh5caoDQ5Cnc/zNA7QOn0QCgjVZG
07WesjmOMmFh4MZuwESVcMs=
=4Rk7
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: desktop_dnd.tgz
Type: application/x-tgz
Size: 5308 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20030507/8ad8f74b/attachment.bin>


More information about the kfm-devel mailing list