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 210081 - Rename dialog opened twice
Summary: Rename dialog opened twice
Status: CLOSED DUPLICATE of bug 209302
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 7.2
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2012-03-26 09:35 UTC by Jiri Prox
Modified: 2012-06-07 12:39 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 Jiri Prox 2012-03-26 09:35:29 UTC
Rename dialog is opened twice when using ctrl-R shortcut.

Steps to reproduce:
1) create new class Test
2) put cursor on the class name 
3) press ctrl-R
-> rename dialog is opened
4) perform rename
-> rename dialog is opened again, pre filled is original class name

I manage to reproduce it only on mac

Product Version         = NetBeans IDE Dev (Build 201203250401) (#f5fcf52d9346)
  Operating System        = Mac OS X version 10.7.3 running on amd64
  Java; VM; Vendor        = 1.7.0_04-ea; Java HotSpot(TM) 64-Bit Server VM 23.0-b16; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_04-ea-b15
  Java Home               = /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre
  System Locale; Encoding = en_US (nb); UTF-8
  Home Directory          = /Users/tester
  Current Directory       = /Applications/NetBeans/NetBeans Dev 201203250401.app/Contents/MacOS
  User Directory          = /Users/tester/Library/Application Support/NetBeans/dev
  Cache Directory         = /Users/tester/Library/Caches/NetBeans/dev
Comment 1 Jiri Prox 2012-03-26 09:57:13 UTC
It happen for all refactorings invoked by shortcut
Comment 2 Jiri Prox 2012-03-26 11:38:30 UTC
It is reproducible with all shortcuts in editor
Comment 3 Tomas Danek 2012-04-03 14:03:34 UTC
I cannot reproduce in

  Product Version         = NetBeans IDE 7.1.2 (Build 201203312205) (#1cd789733390)
  Operating System        = Mac OS X version 10.7.3 running on amd64
  Java; VM; Vendor        = 1.7.0_04-ea; Java HotSpot(TM) 64-Bit Server VM 23.0-b19; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_04-ea-b18

and steps are likely in issue 209302. This has been fixed in JDK7 u4 b18.

*** This bug has been marked as a duplicate of bug 209302 ***