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 48058

Summary: Unclear meaning of Paste->Move on package node
Product: java Reporter: psuk <psuk>
Component: ProjectAssignee: Petr Hrebejk <phrebejk>
Status: RESOLVED FIXED    
Severity: blocker CC: dpavlica, jrojcek, phrebejk, tzezula
Priority: P3 Keywords: UI
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41535    

Description psuk 2004-08-27 12:16:24 UTC
[dev from cvs, 040827]
1. Create simple Java project with one class
org.bubu.Main in Source Packages
2. In package view, rightclick on Package org.bubu
-> Cut
3. Rightclick on Test Packages
4. There is 
Paste->Paste Package
       Move
5. I clicked on Move

Expected behavior:
- Paste Package and Move should be the same, as I
cut package org.bubu, so I expect that "Move" will
move the package into new folder. 
It probably means that there is no need to have an
action Move there.

Real behavior:
- the package "org.bubu" was moved as "bubu", so
I've lost 'org' prefix
- NPE (looks similar to Issue 47586, so I'll
continue there w/ NPE)
Comment 1 Jesse Glick 2004-08-27 21:40:17 UTC
Jano please specify desired behavior.
Comment 2 Petr Hrebejk 2004-08-30 16:31:53 UTC
Hele, this is a very very strange thing t have those two paste actions
in the popup. I relly did not know what the difference should be. I
dont expect our users will. Could we remove one of the actions? CCing
Tomas who seems to know what the difference could be :-)
Comment 3 jrojcek 2004-09-08 13:00:20 UTC
I don't know of any reason why the Move submenu appears there. Dusan, please correct 
me if I am wrong. So, please get rid of the Move submenu.
Comment 4 Petr Hrebejk 2004-09-09 17:02:35 UTC
Already fixed.