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 130883

Summary: Ctrl-Z/Y (Undo/Redo) stops working
Product: editor Reporter: dustin_mccartney <dustin_mccartney>
Component: Key bindingsAssignee: issues@editor <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description dustin_mccartney 2008-03-23 23:09:05 UTC
Build: Seen in 6.1 beta 1 and each of the subsequent nightly builds I have tried, up to and including 200803221203.

Description:

  Frequently while editing code (both Java and C/C++ files), Ctrl-Z to "Undo" and Ctrl-Y to "Redo" stops working.  Other
Ctrl-<key> combinations seem to continue functioning correctly (such as: Ctrl-S to Save, Ctrl-A to Select All, Ctrl-C to
Copy, etc.)  Also, selecting "Edit->Undo" and "Edit->Redo" from the main menu also continues to work even though Ctrl-Z
and Ctrl-Y do NOT.

Summarized Observations/Notes:

 1) When Ctrl-Z and Ctrl-Y stops working varies...  Sometimes they stop working after a couple of minutes after
launching Netbeans 6.1b1 (+nightlies), sometimes after a while, and occassionaly (rarely) they continue to work the
entire time Netbeans is running.

 2) When Ctrl-Z and Ctrl-Y stops working, the Edit menu items Undo and Redo are still in their "Enabled" state and
continue to function as normally (when selected from the menu).

 3) Other Ctrl-<key> bindings appear to work fine.

 4) I leave the default key bindings as Netbeans has them set up on install.  (ie: I have never manually changed
keybindings).

 5) I have noticed this problem with Netbeans 6.1 beta 1 and every nightly I have tried since 6.1 beta 1 became
available.  I am currently on 200803221203.

Expected Behavior:

  Ctrl-Z should "Undo" and Ctrl-Y should "Redo" edit changes.
Comment 1 Jiri Prox 2008-03-25 08:54:19 UTC
Thanks for very detailed description, this problem is reported as issue 118038

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