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 185680 - Superfluous expansion marker in New File wizard
Summary: Superfluous expansion marker in New File wizard
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2010-05-07 09:52 UTC by Petr Jiricka
Modified: 2011-03-30 08:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (139.37 KB, image/png)
2010-05-07 09:52 UTC, Petr Jiricka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2010-05-07 09:52:29 UTC
Created attachment 98611 [details]
Screenshot

1. Create a Java EE 6 web application
2. Select New File

You will see that Java Server Faces and Java EE categories have expansion markers on the left, although there are no subcategories and expanding does nothing. Attaching a screenshot.
Comment 1 Alexey Butenko 2010-05-25 10:17:22 UTC
not a stopper
Comment 2 Erno Mononen 2010-10-13 11:21:23 UTC
Taking over Alexey's JSF and Spring issues.
Comment 3 Martin Fousek 2011-03-28 15:28:19 UTC
It's due to templates subcategories which aren't shown in New File wizard. 

<folder name="JSF_From_Entity_Snippets_hidden">
    <attr name="templateCategory" stringvalue="<anything>"/>
...
Hide whole folder but also for templates where has to be visible. But then the expansion marker disappear from New File wizard.

<folder name="JSF_From_Entity_Snippets">
    <attr name="templateCategory" stringvalue="always-hidden"/>
...
Hide all files under from "JSF_From_Entity_Snippets" folder including the folder, but the expansion marker is still visible.

So I suppose that by "always-hidden" should be also hidden the expansion marker in the New File wizard.
Comment 4 Jesse Glick 2011-03-29 19:28:43 UTC
core-main #ff0a7e9ea808
Comment 5 Quality Engineering 2011-03-30 08:42:45 UTC
Integrated into 'main-golden', will be available in build *201103300400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ff0a7e9ea808
User: Jesse Glick <jglick@netbeans.org>
Log: #185680: Superfluous expansion marker in New File wizard