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 118931 - Undo/Redo disabled in Design View for Elements
Summary: Undo/Redo disabled in Design View for Elements
Status: VERIFIED DUPLICATE of bug 99870
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-15 19:33 UTC by tonybeckham
Modified: 2007-10-22 19:53 UTC (History)
1 user (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 tonybeckham 2007-10-15 19:33:19 UTC
Product Version: NetBeans IDE Dev (Build 200710151100)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb)

Problem:
Undo and Redo are disabled in the edit menu of design view and shortcut keys do not work only for elements.

Steps:
1. Create a new schema
2. Switch to Design View and drag and drop an element
3. press return to deselect from editing the name
4. Double click and rename the element then press return
5. Undo and redo are disabled in the edit menu and ctrl+Z does not work.

You can add a complex type and the functionality works but if there are no complex types then the functionality goes away.
Comment 1 tonybeckham 2007-10-15 21:19:31 UTC
There seems to be a lot of overlap in refactoring and undo/redo, like when is NB undo/redo enabled and when is
refactoring  enabled and when are both.  This functional area is vague.
Comment 2 Sonali Kochar 2007-10-15 21:55:31 UTC
The refactoring undo/redo are currently not linked with Edit menu undo/redo options. To undo refactoring options, please
use Refactor -> Undo

There is an RFE filed for this. Please see issue:99870
http://www.netbeans.org/issues/show_bug.cgi?id=99870



*** This issue has been marked as a duplicate of 99870 ***
Comment 3 Mikhail Matveev 2007-10-22 19:53:55 UTC
Verified duplicate