Bug 200066 - Project view does not support drag and drop
Summary: Project view does not support drag and drop
Status: RESOLVED FIXED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: project (show other bugs)
Version: unspecified
Platform: Ubuntu Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-13 18:50 UTC by Milian Wolff
Modified: 2011-08-07 14:36 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milian Wolff 2009-07-13 18:50:53 UTC
Version:            (using KDE 4.2.96)
Installed from:    Ubuntu Packages

I just tried the following (and failed) and thought it would be a nice feature to add:

Implement drag and drop (esp. the latter) for the project manager. That way one could add files to the project by simple drag'n'drop from a file manager. Or, what I would find even better (dunno if that is possible): Support drag'n'drop from firefox. Esp. web-projects often use javascript frameworks which consist of a single .js file which you currently have to download -> save as. Drag'n'Drop would be nicer :)
Comment 1 Andreas Pakulat 2009-07-13 22:19:33 UTC
I'm not sure yet wether we'll implement it. We don't want to provide a lot of GUI for the buildsystems because that usually ends up in a totally unusable/cluttered Ui. CMake is just too complex.

What could be done here is allowing the drag of files into a target item and eventually onto a folder item. However this will need an additional dialog then, to ask:

- to which target to add (except in the drop-on-target case)
- copy/move/link/reference the file (where reference just means putting the relative path into the cmake file
- allowing post-editing by the user in case he wants the file in a variable
Comment 2 Aleix Pol 2009-07-14 02:07:55 UTC
Most of this UI is already there. points 1 and 3 are done.
Comment 3 Milian Wolff 2009-07-14 02:41:37 UTC
Yeah, I know cmake is the main focus, but also think of other, easier project managers. I.e. for generic manager this would be of great use. And even in cmake projects there might be files which do not get added to cmake, no? Like documentation or something like that...
Comment 4 Niko Sams 2009-07-15 20:55:44 UTC
Moving/Copying files in the project view seems to me more important than copying external files into the project.
And: it should be done VCS aware. (esp. moving files is a pain with svn)
Comment 5 Ramón Zarazúa 2009-11-20 11:58:36 UTC
It is notable though, that simply drag and drop a file to open it in the editor does not work. When dragging a file over, even the plus graphic on the cursor will appear, but the file does not open for edition.
Comment 6 Aleix Pol 2011-08-07 14:36:59 UTC
It is working now, AFAIK.