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 220656 - "View|Code Folds" main menu item is enabled, but "Code Folding" is switched off
Summary: "View|Code Folds" main menu item is enabled, but "Code Folding" is switched off
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 7.3
Hardware: PC Solaris
: P2 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-23 11:25 UTC by soldatov
Modified: 2012-10-31 10:55 UTC (History)
1 user (show)

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-10-23 11:25:16 UTC
Automatic gui test fails on such scenario:
- Open file in IDE
- Push Tools|Options main menu
- Press on Editor icon
- Switch off "Use Code Folding" checkbox
- Press OK button
- Check "View|Code Folds" main menu item
==> menu item is enabled (should be disabled)
Comment 1 Vladimir Voskresensky 2012-10-23 11:30:21 UTC
Probably related to recent Mila's work with actions?
Comment 2 Svata Dedic 2012-10-29 11:35:48 UTC
Just to be sure, Milo pls. review the fix afterwards.
Comment 3 Svata Dedic 2012-10-29 11:36:53 UTC
Changeset: b4d1695ceef0
Author:    Svata Dedic <sdedic@netbeans.org>
Date:      2012-10-29 12:36
Message:   Disabled code folding actions iff the CF is disabled for the given MIME type
Comment 4 Quality Engineering 2012-10-31 02:54:57 UTC
Integrated into 'main-golden', will be available in build *201210310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b4d1695ceef0
User: Svata Dedic <sdedic@netbeans.org>
Log: Issue #220656 - "View|Code Folds" main menu item is enabled, but "Code Folding" is switched off: fixed
Disabled code folding actions iff the CF is disabled for the given MIME type
Comment 5 Miloslav Metelka 2012-10-31 10:55:31 UTC
Svato, thanks for the fix.