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 238303

Summary: [Undo/Redo dialog] Should be attached to selected window
Product: java Reporter: ssazonov
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: img 01
img 02

Description ssazonov 2013-11-13 10:59:31 UTC
1. Create any java project

2. Add any java class

3. Open any class in separated window and drag it in front of the IDE window (as shown on imag_01)

4. Make any refactor in class which is in separated window (e.g. Introduce Parameter)

5. Press Ctrl+Z for undo

>> Undo invokes "Confirm undo" dialog and whenevr it occurs current window is hiden (see img_02)

Product Version: NetBeans IDE Dev (Build 201311120002)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 ssazonov 2013-11-13 10:59:48 UTC
Created attachment 142121 [details]
img 01
Comment 2 ssazonov 2013-11-13 11:00:13 UTC
Created attachment 142122 [details]
img 02
Comment 3 Stanislav Aubrecht 2013-11-18 13:35:39 UTC
Refactoring 'undo' doesn't use standard NetBeans API to display the confirmation dialog, please evaluate, thanks. (or reassign if the Undo is implemented elsewhere)
Comment 4 Ralph Ruijs 2015-07-13 12:24:53 UTC
changeset:   960abc6f9030
user:        Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date:        Mon Jul 13 14:21:55 2015 +0200
summary:     #238303 - [Undo/Redo dialog] Should be attached to selected window
Comment 5 Quality Engineering 2015-07-14 01:17:08 UTC
Integrated into 'main-silver', will be available in build *201507140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/960abc6f9030
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #238303 - [Undo/Redo dialog] Should be attached to selected window