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 247975 - Project window source file icons not getting updated correctly when switching between multiple configurations.
Summary: Project window source file icons not getting updated correctly when switching...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-16 10:13 UTC by rameye
Modified: 2014-11-07 03:51 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 rameye 2014-10-16 10:13:00 UTC
Product Version = NetBeans IDE 8.0.1 (Build 201408251540)
Operating System = Linux version 3.2.0-4-amd64 running on amd64
Java; VM; Vendor = 1.8.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.20-b23

Load the Pi sample project from the C/C++ samples. Pi has five project configurations, and five C source files. Now switch to another of the five configurations in the Set Project Configuration drop down list. In the Projects window only one of the five source files should be iconified as targeted to build, and the other four should be iconified as excluded from the build. But what I am seeing is when switching between the project configurations, two source files end up being iconified as build targets (with the colored "C" on the icon). The build targeted source file from the previous selected configuration is not getting it's icon updated when it is excluded from the build by the next selected configuration. As far as I can see this is just an icon updating issue, checking the property of the source file shows it as properly excluded from the build, even though it's Projects window icon reflects otherwise.
Comment 1 Alexander Simon 2014-10-22 10:25:35 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/535dcb7b1b73
Comment 2 Quality Engineering 2014-11-07 03:51:12 UTC
Integrated into 'main-silver', will be available in build *201411070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/535dcb7b1b73
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #247975 Project window source file icons not getting updated correctly when switching between multiple configurations.