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 182299 - [regression] undo action on opening IDE + empty file issue
Summary: [regression] undo action on opening IDE + empty file issue
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords: REGRESSION
: 182288 182450 182832 183957 (view as bug list)
Depends on:
Blocks: 182374
  Show dependency tree
 
Reported: 2010-03-18 12:26 UTC by Vladimir Voskresensky
Modified: 2010-04-15 12:47 UTC (History)
7 users (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 Vladimir Voskresensky 2010-03-18 12:26:28 UTC
Todays build regression: 
- open IDE
- create Java Application
- open main file
- uncheck "Show on startup" for Welcome page
- close IDE (main is current and the only file in editor area)
- reopen IDE
=> main file is opened, but:
Undo is active
if perform Undo => content of file is empty

(the same appears for C++ projects/files and C++ have lost of Navigator content and lost semantic HL in C++ files. May be issue with empty document or with empty stream in underlying file object)
Please, evaluate
Comment 1 Michel Graciano 2010-03-19 18:27:53 UTC
Looks duplicate of issue #182288 or at least similar.
Comment 2 David Strupl 2010-03-22 09:52:13 UTC
*** Bug 182288 has been marked as a duplicate of this bug. ***
Comment 3 Vladimir Voskresensky 2010-03-22 11:42:17 UTC
*** Bug 182450 has been marked as a duplicate of this bug. ***
Comment 4 Vitezslav Stejskal 2010-03-22 15:44:23 UTC
This is a regression caused by http://hg.netbeans.org/jet-main/rev/41e2579c1947.
Comment 5 Egor Ushakov 2010-03-23 10:43:54 UTC
see also bug 182374, it worked fine before http://hg.netbeans.org/jet-main/rev/41e2579c1947
Comment 6 Vitezslav Stejskal 2010-03-23 20:36:41 UTC
I'm not sure how issue #182374 is related to this one, but this one should now be fixed by http://hg.netbeans.org/jet-main/rev/8879854faa00
Comment 7 Quality Engineering 2010-03-25 05:55:00 UTC
Integrated into 'main-golden', will be available in build *201003250201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/8879854faa00
User: Vita Stejskal <vstejskal@netbeans.org>
Log: #182299: fixing the regression in undo/redo caused by 41e2579c1947
Comment 8 Jesse Glick 2010-03-26 14:34:27 UTC
*** Bug 182832 has been marked as a duplicate of this bug. ***
Comment 9 Michel Graciano 2010-03-26 14:36:56 UTC
Looks fixed. Build 100326-c0c8da2a52b0
Comment 10 Vitezslav Stejskal 2010-04-15 12:47:03 UTC
*** Bug 183957 has been marked as a duplicate of this bug. ***