This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 13418 - Problem with copy/pasted
Summary: Problem with copy/pasted
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 13426
  Show dependency tree
 
Reported: 2001-07-09 11:52 UTC by Jan Zajicek
Modified: 2008-12-23 11:34 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Zajicek 2001-07-09 11:52:20 UTC
This issue was transfered from bugtrag because is against openide.

Assume following directory structure:

-Dir1
  |->Dir2
      |->File
-Dir3

Now select Dir2 and File, copy it and paste into Dir3. You will see following
result (in Dir3):

-Dir3
  |->Dir2
  |   |->File
  |->File

The File is copied twice, once into root of Dir3.


The reporter marked this as issue, but I don't think so. The selection contained
two objects, one was folder and one separated file, so after pasting there was
pasted whole folder and the second object too. I think this is as designed and
not an issue. Others?
Comment 1 Vitezslav Stejskal 2001-07-09 14:15:50 UTC
I have no problem with such behavior, but i think we have to ask on nbui, what's expected behavior. 
Technically it's possible to check pasted objects and filter out those, which are children of another 
pasted objects. 
Comment 2 Vitezslav Stejskal 2001-07-11 21:38:08 UTC
reassigning to correct address
Comment 3 Vitezslav Stejskal 2001-09-12 12:19:41 UTC
Reassigning to Jesse. This is similar to #13426. Jesse, implement what's easier, disabling paste will be 
probably the easiest.
Comment 4 Jesse Glick 2001-09-19 10:00:30 UTC
Fixed in ExplorerActions.java 1.37. Just disabling copy, if it will
not work intuitively then just don't permit it.
Comment 5 Marian Mirilovic 2002-01-29 15:23:24 UTC
verified in [nb-3.3.1](rc3-20020129)
Comment 6 Marian Mirilovic 2002-01-29 16:18:58 UTC
verified in [FFJ3.0]+[JP3.2] with [jdk1.4](91) on [Solaris-CDE](5.8) && [Win2K]
Comment 7 Quality Engineering 2003-07-01 16:11:25 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.