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.
It should not be modal dialog. I suggest to use regular TopComponent with explorer tree showing whole filenames (including extension). This should also initialize quickly if it will be unexpanded. This action was identified as a possible performance bottleneck during pilsen release. Actually it takes 879 ms to open this dialog for packaged examples from tomcat 4.0.4 distro (180kB, 205 entries). The number is OK but doesn't scale.
Let me know what HIE support you need for this. Some things I've noted informally: I agree with the non modal decision, would recommend that the title of the dialog should include an indicator of what web module or WAR it is coming from. I'm not clear on the proposal with the explorer tree - would it show the physical hierarchy of directories? And what do you mean by "unexpanded" I think at least the first level of the WAR should be expanded to be of use without user having to click more like i.e. -WAR Contents (?? don't know if this exists) - index.html + META-INF + WEB-INF instead of just +WAR Contents
Created attachment 8749 [details] draft of patch with explorer
Implemented minimal change - dialog is opened immediately and the label that content is computed is shown until it is ready to be displayed. IN=11320 http://web.netbeans.org/source/browse/web/core/manifest.mf.diff?r1=1.22&r2=1.23 http://web.netbeans.org/source/browse/web/core/src/org/netbeans/modules/web/war/actions/Bundle.properties.diff?r1=1.2&r2=1.3 http://web.netbeans.org/source/browse/web/core/src/org/netbeans/modules/web/war/actions/ViewContentWarAction.java.diff?r1=1.4&r2=1.5 http://web.netbeans.org/source/browse/web/core/src/org/netbeans/modules/web/war/ui/Bundle.properties.diff?r1=1.1&r2=1.2 http://web.netbeans.org/source/browse/web/core/src/org/netbeans/modules/web/war/ui/WarViewerTable.java.diff?r1=1.3&r2=1.4 http://web.netbeans.org/source/browse/web/core/src/org/netbeans/modules/web/war/ui/WarViewerPanel.java?rev=1.1&content-type=text/x-cvsweb-markup
This dialog is still modal. Bug is not fixed. If you think that it must be modal, then please close this bug as WONTFIX or by some other way. However new messages "Comuting WAR Contents..." and "WAR content could not be computed" are very usefull. Checked with NetBeans dev. build 200302190100
OK, there is one step missing in this bug report. We've decided not to do large changes and keep the UI almost untouched and only improve perceived performance. This goal is acheived so it is OK from perfromance point of view to makr it as fixed.
OK. Verified. NetBeans dev. build 200302190100