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 223587 - 'Source Files' folder is selected after 'Add Existing Item...' action
Summary: 'Source Files' folder is selected after 'Add Existing Item...' action
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.3
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Andrew Krasny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-10 11:21 UTC by soldatov
Modified: 2012-12-12 02:43 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 soldatov 2012-12-10 11:21:25 UTC
Scenario:
- Create Arguments sample
- Call context menu on 'Source Files' folder and select 'Add Existing Item...'
- Select any external file and press Select button
==>
expected (previous builds):
New source file is selected in Projects tab. Navigator displays items from new file. I can open new file via ENTER key.
now:
'Source Files' folder is selected.
Comment 1 Andrew Krasny 2012-12-10 14:58:14 UTC
This is a race condition on Nodes.

BPS: MakeLogicalViewProvider.java:397 and BaseMakeViewChildren.java:78

This is a regression after a cnd-main:384a95c51930 change (to reduce unneded CPU utilization => reduce amount of nodes updates x100 times. Use rescheduled task instead of reaction on each stateChanged event)
Comment 2 Andrew Krasny 2012-12-10 16:51:26 UTC
http://hg.netbeans.org/cnd-main/rev/785b579d178b
Comment 3 Quality Engineering 2012-12-12 02:43:17 UTC
Integrated into 'main-golden', will be available in build *201212120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/785b579d178b
User: Andrew Krasny <akrasny@netbeans.org>
Log: Bug #223587 - 'Source Files' folder is selected after 'Add Existing Item...' action