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 43554 - Chaotic behaviour of <default package> node - hidding/appearing
Summary: Chaotic behaviour of <default package> node - hidding/appearing
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords: UI
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-05-19 14:05 UTC by Lukas Hasik
Modified: 2006-03-24 10:23 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
5 examples mentioned in text (17.25 KB, image/png)
2004-05-19 14:07 UTC, Lukas Hasik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2004-05-19 14:05:54 UTC
[200405182245], jdk1.4.2_04

the behaviour of <default package> node is *chaotic* :

1, it isn't presented/visible in new project
created with main class in some package

2, it is visible in new project created without
main class

3, it disappears when last class/file is deleted
from <default package>

4, it doesn't disapear when a new package in
project is created (and <default package> is empty)

5, it doesn't appear when last package is deleted
in project (and <default package> wasn't visible
before). You see only empty [Source Packages] node

see attached picture

priority P2 'cause I think that it needs to be
specified/fixed.
Comment 1 Lukas Hasik 2004-05-19 14:07:55 UTC
Created attachment 14997 [details]
5 examples mentioned in text
Comment 2 Petr Hrebejk 2004-05-24 11:24:18 UTC
Please leave it assigne to me.
Comment 3 Petr Hrebejk 2004-05-24 11:41:48 UTC
Notice: The final UI decision (Jano) is: The default package should be
visible if and only if it contains something or there are no other
packages under the packages root.
Comment 4 Petr Hrebejk 2004-05-24 13:39:44 UTC
Comments to the behavior.
1) Is OK
2) Is OK
3) Is OK if there are other packages than default
4) Is WRONG and has to be fixed
5) Is WRONG and has to be fixed
Comment 5 Petr Hrebejk 2004-05-24 14:43:15 UTC
So now it should work as specified. (May still be a bit chaotic :-)
Comment 6 Lukas Hasik 2004-06-15 08:04:29 UTC
[200406131800]
3, ok, if there's only <default package> then <default package> stays
visible. if there is another package then <default package> disappears

4, ok

5, ok

->verified