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.
Create a new XML schema file, then add a new component in the Schema view. Notice that the title bar indicates the document is modified (* appears in the title) and the Save item in the File menu is enabled. Now invoke Undo from the Edit menu -- the document is clean and Save is disabled (good so far). Now add another component -- document is _not_ modified, and _not_ saveable. This seems wrong.
*** Issue 80638 has been marked as a duplicate of this issue. ***
Fixed in release55 branch by leaving the document as modified when undoing changes back to the last save point. Due to issue 81023, this is the best solution we have at the moment. Several hacks were attempted, all of which failed. /cvs/xml/schema/core/src/org/netbeans/modules/xml/schema/core/multiview/SchemaColumnViewMultiViewElement.java new revision: 1.1.2.23; previous revision: 1.1.2.22
Meant to mark this verified, not closed.
Going through the paces...
Verified