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: | ALL: "Delete" action is enabled on read-only files. | ||
---|---|---|---|
Product: | platform | Reporter: | Jiri Kovalsky <jkovalsky> |
Component: | Text | Assignee: | David Konecny <dkonecny> |
Status: | VERIFIED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jiri Kovalsky
2003-08-06 13:58:12 UTC
When the popup menu is expanded, someone asks ~10x for whether the file is read-only or not. But the Delete action is probably not among them. The filesystem returns the state correctly. The action is not updated. When a different file is selected and then back the original file, the Delete action is updated. I guess it belongs to editor support machinery. Delete action is callback, it doesn't manage its state on its own. This is known issue which cannot be properly solved till the enhancement issue 25762 is solved. There is nothing what would reflect readonly state of editor. The simplified testcase is: - open readonly file and Delete (or Paste, etc.) action is enabled. I'm closing as duplicate of issue 25762. This issue does not causes any problems. It is UI defect which should be solved as part of the 25762 issue. *** This issue has been marked as a duplicate of 25762 *** Okay, I won't argue here. Verifying as a dup of #25762. |