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 255424 - "Add Existing Item..." default folder reference is wrong after rename or copy of project
Summary: "Add Existing Item..." default folder reference is wrong after rename or copy...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-19 19:25 UTC by MackSix
Modified: 2015-09-19 19:33 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 MackSix 2015-09-19 19:25:36 UTC
1. Open a C++ project and compile and run it.
2. Invoke Project context menu and invoke "Rename...". 
3. Rename the project and check "Also Rename Project Folder".
4. Invoke "Add Existing Item..." from one of the logical folder.

Results: The default folder name shown in the Open File dialog is the old project folder name that no longer exists. 

Workaround: Navigate to the real renamed folder or restart NetBeans.

1. Restart NetBeans.
2. Copy the C++ Project.
3. Invoke "Add Existing Item..." from one of the logical folder.

Results: The old folder name shows as default in the Open File dialog and could cause the user to add items from the wrong folder.

Workaround: Same as above. 

Product Version: NetBeans IDE Dev (Build 201509180002)
Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)