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.
Summary: | Gizmo options don't work before the first Project Run | ||
---|---|---|---|
Product: | cnd | Reporter: | Thomas Preisler <thp> |
Component: | Profile | Assignee: | Maria Tishkova <mromashova> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | sustaining |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Thomas Preisler
2009-06-09 23:07:42 UTC
Do you mean they don't work in trunk? Thomas, please be more specific, for me it works in both trunk and release67 branch. Which version do you use? On which platform? False alarm: I did a full clean and a complete build and everything seems to work just fine. Will close again.... working.... The problem is still there: Open project properties Click on Profile Uncheck any of the Indicators Click OK Open the properties again and the unchecked iIndicators are now checked again Close/open project and Indicators are still checked. Problem: state of the three checkboxes are not saved. Thomas, 1) please attach log to understand the version of NB 2) cat nbproject/configuration.xml 3) cat nbproject/private/configuration.xml I didn't change the code which saves the changes ... The more detailed description is the following: "Gizmo options don't work before the first Project Run" As it works right after the very first Run I think it is a P3 but should be mentioned in Release Nots The fix fix is not entirely correct. It is better not to store the value of a property if it is the default value. If there in the future are changes in what the default indicators are, then it won't work with older projects because it now stores all property values. Look at the other properties. Only properties different from default values are stored. Integrated into 'main-golden', will be available in build *200906180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ea526521cbe3 User: Maria Tishkova <mromashova@netbeans.org> Log: fixed IZ#166818 Gizmo options don't work before the first Project Run Thomas, I have fixed the issue you have pointed me out. Please review the fix, if you think it is still incorrect I need your advise as I do not understand well how MakeConfiguration and Project Properties work. See rev http://hg.netbeans.org/cnd-main/rev/5f260c514b1a Integrated into 'main-golden', will be available in build *200906190201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/5f260c514b1a User: Maria Tishkova <mromashova@netbeans.org> Log: add fix IZ#166818 Gizmo options don't work before the first Project Run store onlt values for the tools with the values different from the default Fix should be added into patch1 also, because some programs work slowly under profiler with default options. Platform: OpenSolaris 2009.06 (Solaris 10 also) Data Provider: Sun Studio 12 update 1 (Sun Studio 12 also) Scenario: - Create Freeway project - Run project ==> Project is started for ~1 minute - Switch off Memory and Thread indicators - Run project ==> Project is started for 1 second - Restart IDE ==> Project is started for ~1 minute (Memory and Thread indicators are switched on) close it as fixed again as from what I understand it should be in FIXED state to be migrated to 67patch1 Verified in trunk (Build 200907010200) The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/f6372f176973 verified in IDE 6.7.1 RC (Build 200907150227) |