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 214891 - Switching between project groups does nothing while the "Opening Project" process still runs
Summary: Switching between project groups does nothing while the "Opening Project" pro...
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-28 07:58 UTC by mienamoo
Modified: 2012-09-14 13:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mienamoo 2012-06-28 07:58:36 UTC
NetBeans build 201206250002
JDK 7u5 32-bit

I have a project group with a fair number of projects. That project group was opening at IDE start-up, but in this case I didn't want to work on that group and I switched to another while the "Opening Project" task was still running. But this had almost no effect. The IDE continued opening the original project group, and the name of the group in the Projects window was still the original one. The only sign of anything happening was when I right-clicked on the projects window, the newly selected group was marked as selected under "Project Group". Only after clicking on it again (after the opening process completed), did the rest of the changes happen.

I would suggest that there should at least be some kind of feedback to the user.
Comment 1 Milos Kleint 2012-09-10 12:58:48 UTC
http://hg.netbeans.org/core-main/rev/1c78fa313329

fixed by disabling the group submenu while the initial project loading is running. No easy way really to intercept it and cancel.
Comment 2 mienamoo 2012-09-11 11:47:56 UTC
(In reply to comment #1)

> fixed by disabling the group submenu while the initial project loading is
> running. No easy way really to intercept it and cancel.

That sounds good. It will avoid the weird inconsistent state, so I am happy to wait for loading to finish. :)
Comment 3 Quality Engineering 2012-09-12 02:10:26 UTC
Integrated into 'main-golden', will be available in build *201209120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/1c78fa313329
User: Milos Kleint <mkleint@netbeans.org>
Log: #214891 only show the groups when we have finished opening the initial set of projects upon startup
Comment 4 mienamoo 2012-09-14 13:45:13 UTC
Verified with build 201209140001.