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.
In some cases (e.g. running applications) progress bar appearance (an empty bar or no information displayed) confuses the user and does not reflect what is happening. Contemporary state is a result of bugfix 63586.
Created attachment 38343 [details] progress bar displaying info about a running application in NB6 Dev
The specification is available (link) but has not gone through UI review yet.
how is your special case spec related to the general one that was done by Jindra and which the current ui implements? http://ui.netbeans.org/docs/ui/progress_indication/progress_indication_spec.html how can implementing a enhancement result in P2 bug?
I asked Ondra to file the P2 bug. The main reason is the misleading indication with "empty" progress bar when application is already running. The user runs a project with "Run Main Project" menu items, which starts showing the progress bar because it's being built. Then the project starts up and the progress bar becomes empty. The empty progress is really confusing because it doesn't really indicate the application is already running. It looks like it failed or it started again. So this is really a usability bug.
if I recall correctly the progress bar shall display something like "Running" or "debugging". I've checked and it doesn't. that's probably a bug.
Exactly. This spec. intends to fix the bug plus proposes some enhancements.
The spec. has passed the UI review and is ready for implementation.
Created attachment 39868 [details] close process button
Created attachment 39869 [details] show list button
Created attachment 39870 [details] hide list button
> if I recall correctly the progress bar shall display something like "Running" or > "debugging". I've checked and it doesn't. that's probably a bug. This part is a bug and I agree it should be fixed in 6.0. The rest is an enhancement. Milosi, change this issue to enhancement and set the TM to future after you fix the part with "Running" text in the not-moving progress bar.
Please note that also, due to NetBeans rebranding, the old icons should be replaced by the new ones attached here.
I think if the progress bar displays the "running" label for running apps as described in Ondrej's spec, then it's okay to lower the priority to P3. The usability problem with empty progress is still there, but I hope users can eventually figure out what's going on. After 6.0 it should be fixed properly according to Ondrej's spec.
it seems the ant build isn't calling the ProgressHandle.suspend(String) method when the build starts executing the user program. I have only found the NbBuildLogger.checkForStop() method that will call suspend() if there is no ant build output for 5 seconds. once there is some additional output, it switches back to indeterminate progress bar. The ant support shall call suspend("Running") or suspend("Debugging") when the appropriate section of the build is encountered. And it shall switch back to determinate/indeterminate mode only when the user's program is finished.
I think issue #87801, not issue #63586, is being referred to. At popular request, no animation is shown if there is no recent activity from an Ant process. I don't know what is wanted of the Ant module here. What exactly should be displayed in the progress bar under which conditions? The UI spec doesn't seem to mention anything of the sort. Also please bear in mind that there is no straightforward way to tell why an Ant process is paused with no output - an application might be being run in plain mode, or be being debugged, or the script might be compiling an especially large source tree, or (in the case of custom build scripts) downloading a large file, waiting for a server to restart, etc. etc. I can't think of any single label which would be meaningful for these different situations.
AFAIK http://ui.netbeans.org/docs/ui/progress_indication_running/ says the there should be the word "running" (without a progress bar) when a user program is running. The spec is somewhat vague in respect to what are the cases when "running" is to be shown. Is it always for any an build execution? In my understanding it's only when the user program is being executed/debugged. I've argued that for 6.0 I can't get rid of the progress bar, but instead write "running" in the progress bar temporarily.
Ah, I was supposed to look at .../progress_indication_running/, not .../progress_indication_spec.html. So I added "running..." when Ant goes into sleep mode during a <java> or <exec> task. Seems to work for both j2seproject's and NBM projects. Checking in Bundle.properties; /shared/data/ccvs/repository/ant/src-bridge/org/apache/tools/ant/module/bridge/impl/Bundle.properties,v <-- Bundle.properties new revision: 1.10; previous revision: 1.9 done Checking in NbBuildLogger.java; /shared/data/ccvs/repository/ant/src-bridge/org/apache/tools/ant/module/bridge/impl/NbBuildLogger.java,v <-- NbBuildLogger.java new revision: 1.32; previous revision: 1.31 done