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 172071 - Can't undo after typing in Properties win
Summary: Can't undo after typing in Properties win
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: issues@guibuilder
Depends on:
Reported: 2009-09-12 00:10 UTC by vbeffa
Modified: 2011-10-13 15:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

Properties window before edit (43.94 KB, image/png)
2009-09-14 15:47 UTC, vbeffa
Property (background color) being modified (57.80 KB, image/png)
2009-09-14 15:48 UTC, vbeffa
Properties window after edit (48.76 KB, image/png)
2009-09-14 15:49 UTC, vbeffa

Note You need to log in before you can comment on or make changes to this bug.
Description vbeffa 2009-09-12 00:10:16 UTC
If you edit a property in the Properties window, then hit enter, then Cmd-Z (Mac), the edit isn't undone. NetBeans just beeps. You have to click somewhere 
else first, and in so doing you lose the view of whatever property you were editing and trying to undo. You have to click back on the component and scroll 
down - very frustrating.
Comment 1 Peter Pis 2009-09-13 20:30:38 UTC
Comment 2 Jiri Rechtacek 2009-09-14 12:46:17 UTC
The reporter, do you mean a property sheet, or any particular property? Thanks
Comment 3 vbeffa 2009-09-14 15:47:10 UTC
Created attachment 87621 [details]
Properties window before edit
Comment 4 vbeffa 2009-09-14 15:48:09 UTC
Created attachment 87622 [details]
Property (background color) being modified
Comment 5 vbeffa 2009-09-14 15:49:12 UTC
Created attachment 87623 [details]
Properties window after edit
Comment 6 vbeffa 2009-09-14 15:50:19 UTC
Added screenshots of Properties window before, during, and after. With IDE in after state (property still highlighted) Cmd-Z doesn't work. This is also true for 
text properties, etc.
Comment 7 Ivan Sidorkin 2009-09-21 12:53:58 UTC
I can confirm that Undo doesn't work in Properties Window (it just disabled)
but it works if you switch to editor

Product Version: NetBeans IDE Dev (Build 200909210201)
Java: 1.5.0_20; Java HotSpot(TM) Client VM 1.5.0_20-141
System: Mac OS X version 10.5.8 running on i386; MacRoman; en_US (nb) 
Comment 8 Jaroslav Tulach 2010-04-02 16:19:58 UTC
I don't think there is any undo support in PropertySheet, PropertySheetView, etc. What it could be? The undo redo is associated with a top component and there is none.

Moving to guibuilder guys as they very likely have the TopComponent under control and could implement undo redo, couldn't they?
Comment 9 Tomas Pavek 2010-08-20 16:25:32 UTC
We should finally get rid of using the global Properties window in GUI builder. It is a relic otherwise not used at all, GUI builder could instead have its own dedicated properties window that would do undo/redo in the selected form just like Inspector does.

Another benefit would be that when clicking somewhere else, e.g. in Projects explorer, the properties window would not switch to different node and require refocusing on the GUI designer.