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 205570 - File disappears from Project tree when subfolder moved to where subfolder of same name exists.
Summary: File disappears from Project tree when subfolder moved to where subfolder of ...
Status: REOPENED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.1
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-25 23:06 UTC by MackSix
Modified: 2016-07-19 06:58 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot after action. (115.29 KB, image/png)
2011-11-25 23:07 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2011-11-25 23:06:58 UTC
1.) Create a new Java project with default name.
2.) Project window context menu >> "View java packages as" >> Tree.
3.) Create 2 packages (folders) with default name.
4.) Create a subfolder in each of the 2 new packages with the same name (i.e. "aa").
5.) Create new Java class file in one of the "aa" folders.
6.) Drag and drop "aa" folder with class file into parent folder of other "aa" folder.

Notice the file does not appear in Project windows any more although it exists.

See screenshot.

Product Version: NetBeans IDE 7.1 RC1 (Build 201111171527)
Java: 1.7.0_01; Java HotSpot(TM) Client VM 21.1-b02
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 1 MackSix 2011-11-25 23:07:52 UTC
Created attachment 113538 [details]
Screenshot after action.
Comment 2 Jiri Prox 2011-11-28 10:26:43 UTC
reproducible

switching to the list view and back helps
Comment 3 Jan Becicka 2011-11-28 10:35:14 UTC
looks like issue of projects view...
Or maybe some FileEvents was not fired..?
Comment 4 Tomas Danek 2012-10-29 10:45:56 UTC
reproducible in 7.3 dev build
Comment 5 Martin Balin 2016-07-07 07:17:28 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 6 MackSix 2016-07-19 06:58:40 UTC
Still Valid in:

Product Version: NetBeans IDE Dev (Build 201607140002)
Java: 1.8.0_92; Java HotSpot(TM) 64-Bit Server VM 25.92-b14
Runtime: Java(TM) SE Runtime Environment 1.8.0_92-b14
System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb)


Workaround: Close project and reopen it and class file will show in Projects Window.