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 133466 - Undo to last saved state does not clear the modified flag.
Summary: Undo to last saved state does not clear the modified flag.
Status: RESOLVED DUPLICATE of bug 132590
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-21 14:14 UTC by matthies
Modified: 2008-04-22 07:36 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 matthies 2008-04-21 14:14:18 UTC
Example:
1) Open a file.
2) Optionally: Make some edits and save it.
3) Do some editing so that the "*" marker appears in the editor window title.
4) Undo the edits up to the last saved state.
-> The "*" marker is still there, and attempting to close the window triggers a "Save it?" dialog.

I believe this is a regression.

One situation where this behavior is relevant is in the context of version control, where saving would mark the file as 
modified for version control. Having to "Discard" the non-changes is rather unfortunate as well.

Product Version: NetBeans IDE 6.1 RC1 (Build 200804100130)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: C:\Documents and Settings\nm\.netbeans\6.1rc1
Comment 1 Jiri Prox 2008-04-22 07:36:59 UTC
Duplicate of issue 132590. Thanks for your report anyway.

*** This issue has been marked as a duplicate of 132590 ***