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 178192 - [68cat][file][save-as] Save As is disabled when file isn't modified and under Version Control.
Summary: [68cat][file][save-as] Save As is disabled when file isn't modified and under...
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 normal (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-05 21:18 UTC by esmithbss
Modified: 2012-10-26 14:22 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 esmithbss 2009-12-05 21:18:05 UTC
[200912030200]
[jdk1.6.0u17]

When working on a Web application, I was editing a file and realized I needed to save the file in it's current state to a new name and reload the previous version of the file.  Unfortunately, I was unable to do so easily.

I opened up the File menu and all of my save options were disabled.  Save, Save As, and Save All.

The workaround for this is to create a new file, copy/paste the entire contents of the current file into the new file, then close the current file (without saving it), and re-open the file you just closed.

The system should always have Save As enabled if the file is editable.
Comment 1 Peter Pis 2009-12-07 03:04:26 UTC
And what about "Local History" (Select file in e.g. "Projects" view and invoke popup menu "Local Hsitory|Show Local History").
Comment 2 Peter Pis 2009-12-07 03:55:46 UTC
Reassigning.
Comment 3 mslama 2009-12-09 04:59:57 UTC
Is it reproducible? What file type? xml? There was bug #175750 but it should be fixed in 6.8.
Comment 4 mslama 2009-12-09 06:03:34 UTC
I checked with latest dev build 091209-0d4665cb3b30 (my own from core-main) and Save As is always enabled when editor is active. Save As is context aware action so if eg. Project view is active Save As is disabled. You can use Ctrl-Shift-Break so log current focus owner to console before you go to File menu to see what component is focused/activated.
Comment 5 David Strupl 2012-10-25 13:39:34 UTC
Bug prior to 7.0, not touched for the last 2 years --> P4.
Comment 6 David Strupl 2012-10-26 14:22:13 UTC
Most of the actions are not always enabled. Closing as works for me.