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 77672

Summary: "Reading project" progress task confusing
Product: contrib Reporter: Jesse Glick <jglick>
Component: JackpotAssignee: _ tball <tball>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2006-06-10 00:30:37 UTC
When you start a Jackpot query, you get a progress task "Reading project..." in
the status bar with progress percentage. OK but when you click on it to look at
it, you see *two* tasks:

1. "Reading project..." with no detail information and an indeterminate bar.

2. "Reading project..." with "detail" info always "Locating Java files..."
(useless) and a determinate progress bar.

I would expect to see a single task, preferably with a determinate (%) progress
bar, with meaningful progress messages such as "Locating Java files in project
X" or "Parsing package org.netbeans.modules.x".
Comment 1 _ tball 2006-06-10 01:03:22 UTC
Yes, I agree.  Having two tasks is a bug (probably neglecting to close the first
monitor after the first task completes).  The locating java files message is
harder to let go of, as once I have a specific file count from all the projects
(which involves searching all the source directory trees) I can provide a very
accurate determine progress bar.  

Perhaps it would be better to have a courser scale, however, something like:
locating files, parsing, symbols, types, query1 [query2, etc.], commit.  For
large projects, though, there wouldn't be any movement during these phases.  I
talk with our UI designer about our options.
Comment 2 Jesse Glick 2010-04-27 18:41:15 UTC
The old Jackpot module is no longer maintained. There is a rewrite in progress at: http://bitbucket.org/jlahoda/jackpot30/wiki/Home