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 222891 - Cannot clear shortcut textfield in keymap panel
Summary: Cannot clear shortcut textfield in keymap panel
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Key bindings (show other bugs)
Version: 7.2
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-28 12:30 UTC by Jiri Prox
Modified: 2012-12-13 12:28 UTC (History)
0 users

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-11-28 12:30:56 UTC
The 'Search in Shortcuts' text field cannot be cleared on default macbook keyboard, instead of deleting shortcut it only adds 'UNDEFINED' into the textfield when pressing Delete key

Steps to reproduce:
1) open Options, Keymap panel
2) put cursor into the search in shortcuts textfield
3) press 'Delete'

-> UNDEFINED is typed instead of deleting the text or adding 'Delete'


Product Version: NetBeans IDE Dev (Build 201211280002)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b17
System: Mac OS X version 10.8.2 running on x86_64; US-ASCII; en_US (nb)
User directory: /Users/tester/Library/Application Support/NetBeans/dev
Cache directory: /Users/tester/Library/Caches/NetBeans/dev
Comment 1 Jiri Prox 2012-11-28 12:40:31 UTC
It looks like the problem is more serious, currently I'm to able to set or search for shortcut with modifier key, it keeps enter strings like ctrl+Undefined whenever ctrl is pressed
Comment 2 Svata Dedic 2012-11-28 13:15:13 UTC
Changeset: f7d480ba57a1
Author:    Svata Dedic <sdedic@netbeans.org>
Date:      2012-11-28 14:15
Message:   fall back to keyCode (required for MacOS X)
Comment 3 Quality Engineering 2012-12-04 03:15:39 UTC
Integrated into 'main-golden', will be available in build *201212040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f7d480ba57a1
User: Svata Dedic <sdedic@netbeans.org>
Log: Issue #222891 - Cannot clear shortcut textfield in keymap panel: fixed
fall back to keyCode (required for MacOS X)
Comment 4 Jiri Prox 2012-12-13 12:28:59 UTC
verified