Bug 134417 - ui: drag-and-drop moves, despite [+] being shown when holding CTRL
Summary: ui: drag-and-drop moves, despite [+] being shown when holding CTRL
Status: RESOLVED FIXED
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-20 21:30 UTC by Daniel Franke
Modified: 2006-09-25 10:49 UTC (History)
0 users

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 Daniel Franke 2006-09-20 21:30:27 UTC
Version:           0.12.17 (using KDE 3.5.4, Gentoo)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.11.11

New Data CD project:
 * create two directories: foodir, bardir
 * drop any file into bardir, say foo
 * open bardir
 * drag foo to bardir, while pressing [CTRL] - a [+] appears underneath the dragging cursor
 * drop foo from bardir on foodir

Expected  result: foo should now be visible in foodir and bardir.

Actual result: bardir is empty, the file foo was moved from bardir to foodir.
Comment 1 Christoph Burger-Scheidlin 2006-09-23 23:09:47 UTC
Just so I get it right, the problem is the [+] and the fix is either to not show the plus or to implement copy for the CTRL+drag&drop, right?
Comment 2 Daniel Franke 2006-09-24 18:14:08 UTC
Right. As a user, I would prefer the latter ;)
Comment 3 Sebastian Trueg 2006-09-25 10:21:00 UTC
SVN commit 588173 by trueg:

Implemented copying of Data item files.
The first usage is drag'n'drop inside a project when holding the CTRL
key.

BUG: 134417


 M  +19 -1     libk3b/projects/datacd/k3bbootitem.cpp  
 M  +3 -0      libk3b/projects/datacd/k3bbootitem.h  
 M  +16 -34    libk3b/projects/datacd/k3bdatadoc.cpp  
 M  +24 -3     libk3b/projects/datacd/k3bdatadoc.h  
 M  +20 -2     libk3b/projects/datacd/k3bdataitem.cpp  
 M  +17 -0     libk3b/projects/datacd/k3bdataitem.h  
 M  +27 -3     libk3b/projects/datacd/k3bdiritem.cpp  
 M  +9 -0      libk3b/projects/datacd/k3bdiritem.h  
 M  +19 -0     libk3b/projects/datacd/k3bfileitem.cpp  
 M  +9 -0      libk3b/projects/datacd/k3bfileitem.h  
 M  +14 -0     libk3b/projects/datacd/k3bsessionimportitem.cpp  
 M  +3 -0      libk3b/projects/datacd/k3bsessionimportitem.h  
 M  +10 -0     libk3b/projects/datacd/k3bspecialdataitem.h  
 M  +7 -4      src/projects/k3bdatadirtreeview.cpp  
 M  +7 -6      src/projects/k3bdatafileview.cpp  
 M  +207 -14   src/projects/k3bdataurladdingdialog.cpp  
 M  +17 -0     src/projects/k3bdataurladdingdialog.h  
Comment 4 Daniel Franke 2006-09-25 10:49:55 UTC
Great. Thanks a lot!