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 209302 - Keyboard shortcuts actions are performed multiple times
Summary: Keyboard shortcuts actions are performed multiple times
Status: VERIFIED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.1.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
URL: http://bugs.sun.com/bugdatabase/view_...
Keywords: JDK_SPECIFIC
: 210081 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-08 10:17 UTC by Vladimir Riha
Modified: 2012-07-17 15:53 UTC (History)
4 users (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 Vladimir Riha 2012-03-08 10:17:55 UTC
Maybe related to bug #208651.


Steps to reproduce:
- create PHP project and edit php file
- press Cmd+W to close
=> not always but very often the dialog asking to save/discard changes is opened twice

Another scenario:
- try to toggle bookmark in editor (php file) using Shift+Cmd+M
=> the bookmark icon next sometimes hides and displays but sometimes nothing happens (like if the keyboard shortcut was pressed twice very fast)



 Product Version         = NetBeans IDE 7.1.1 (Build 201203012225)
(#a903faa1d680)
  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
Comment 1 Vladimir Riha 2012-03-08 10:27:26 UTC
fyi the same with Refactor Rename dialog
Comment 2 Tomas Danek 2012-03-14 15:02:09 UTC
 Product Version         = NetBeans IDE Dev (Build 201203090400) (#9a710a8e3e80)
  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

I am able to reproduce (e.g. with cmd+shift+m  shortcut to toggle bookmark.)
Comment 3 Antonin Nebuzelsky 2012-03-16 14:51:20 UTC
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7154512
Comment 4 Marian Mirilovic 2012-03-21 14:19:05 UTC
The JDK bug was partially fixed as fix for issue 208651, the another part is targeted for JDK7u4 b18 - http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7154072

The pending part :
---------------
Steps to reproduce:
- create PHP project and edit php file
- press Cmd+W to close
=> not always but very often the dialog asking to save/discard changes is
opened twice
---------------

is not reproducible by JDK team, neither on our side any more. 

So verify in b18 and close please.
Comment 5 Tomas Danek 2012-04-03 13:58:43 UTC
unable to reproduce, cmd+shift+m does not expose problem now -> verified

  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
Comment 6 Tomas Danek 2012-04-03 14:03:34 UTC
*** Bug 210081 has been marked as a duplicate of this bug. ***