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 239205

Summary: In-place rename unusable
Product: editor Reporter: Jesse Glick <jglick>
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED FIXED    
Severity: normal CC: markiewb, vv159170
Priority: P3 Keywords: REGRESSION, UI, USABILITY
Version: 8.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2013-12-06 15:43:43 UTC
Product Version = NetBeans IDE Dev (Build 20131206-3422eed6fdbf)
Operating System = Linux version 3.8.0-34-generic running on i386
Java; VM; Vendor = 1.7.0_45
Runtime = Java HotSpot(TM) Client VM 24.45-b08

Sometime recently in dev builds, the in-place rename UI was changed, IMHO much for the worse. It used to be that after pressing Ctrl-R on an identifier used only within the source file, you could edit the name as you like, then press ESC to finish.

Now ESC undoes the rename, with no warning. In a recent dev build ENTER seemed to make it be accepted (after spending an annoying second or two checking something—it used to be immediate), but in this one it seems that ENTER _also_ undoes the edit. In fact I cannot figure out how to make it work at all, except by pressing Ctrl-R again to open the full dialog, which sort of defeats the purpose of having in-place rename at all.
Comment 1 Vladimir Voskresensky 2013-12-06 17:18:49 UTC
Completely agree. 
additionally: 
+ it was very comfortable to have per character undo on ctrl+z and now it asks with modal dialog about "Really Undo Rename" for full undo.

+ how to uncheck "Apply Rename on Comment" without mouse?
Comment 2 Ralph Ruijs 2013-12-12 14:00:47 UTC
http://hg.netbeans.org/jet-main/rev/d733d86ae410

The instant rename popup has been disabled in 8.0 (bug 215138, comment 7)

Marking as fixed, the problems mentioned have been submitted separately except:
+ how to uncheck "Apply Rename on Comment" without mouse?
which I will add to 215138.