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 13426 - Problems when cut & paste
Summary: Problems when cut & paste
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on: 13418
Blocks: 12160
  Show dependency tree
 
Reported: 2001-07-09 15:23 UTC by Jan Zajicek
Modified: 2008-12-23 11:37 UTC (History)
1 user (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 15:23:30 UTC
Assume following directory structure:

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

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

-Dir3
  |->Dir2
  |->File

This is similar to the issue #13418, but in this case is this 100% wrong behaviour.

Moreover when playing wit this structrure (cut and pasting it into Dir3 and
back) it happens that the Dir2 cannot be pasted.
Comment 1 Vitezslav Stejskal 2001-09-12 12:16:11 UTC
Reassigning to Jesse. Jesse, I see two options here, either we can disable the paste operation or we 
can filter all pasted DOs and proceed with opeartion for those not having parent among pasted DOs. In the 
case described here it means to proceed paste on Dir2 only and filter out File. This probably will need 
correction in paste types created in DataFolder (see inner class Paste).
Comment 2 Jesse Glick 2001-09-19 09:59:58 UTC
Fixed in ExplorerActions.java 1.37. I cannot reproduce any additional
problems moving around Dir2.
Comment 3 Marian Mirilovic 2002-01-29 15:22:49 UTC
verified in [nb-3.3.1](rc3-20020129)
Comment 4 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 5 Quality Engineering 2003-07-01 16:12:01 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.