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 253593 - [81cat] Some default key bindings doesn't work on non English keyboard
Summary: [81cat] Some default key bindings doesn't work on non English keyboard
Status: RESOLVED DUPLICATE of bug 227247
Alias: None
Product: editor
Classification: Unclassified
Component: Key bindings (show other bugs)
Version: 8.1
Hardware: PC Other
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-20 21:36 UTC by cezariusz
Modified: 2015-08-03 14:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
An effect of pressing Ctrl+Alt+Shift+E (19.40 KB, image/png)
2015-07-20 21:41 UTC, cezariusz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cezariusz 2015-07-20 21:36:56 UTC
Product Version: NetBeans IDE Dev (Build 201507040001)
Updates: Updates available
Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b15
System: Windows 8 version 6.2 running on amd64; UTF-8; pl_PL (nb)

Some default shortcuts are unusable with non-English keyboard layout (in my case it's a Polish one). For example:
* Extract Superclass (Ctrl+Alt+Shift+S) - inserts "Ś"
* Move Inner to Outer Level (Ctrl+Alt+Shift+L) - inserts "Ł"
* Convert Anonymous to Member (Ctrl+Alt+Shift+A) - inserts "Ą"
* Encapsulate Fields (Ctrl+Alt+Shift+E) - inserts "Ę"

Pressing any of the above key combinations first insert a Polish character, and then call an action, so the identifier at the cursor position is no longer valid.

I can see two possible solutions:
1. Don't use any Ctrl+Alt shortcuts
2. Differentiate left and right Alt

Right Alt is called AltGr and it simulates Alt+Ctrl. Windows doesn't make a difference between AltGr (right Alt) and Left Alt+Ctrl, but I'm not aware of anyone using Left Alt + Ctrl to insert national characters.
Comment 1 cezariusz 2015-07-20 21:41:57 UTC
Created attachment 154745 [details]
An effect of pressing Ctrl+Alt+Shift+E
Comment 2 Svata Dedic 2015-08-03 14:04:52 UTC

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