Bug 564909 - Toggle Split Editor (Vertical) shortcut (Ctrl + {) not accessible with German keyboard
Summary: Toggle Split Editor (Vertical) shortcut (Ctrl + {) not accessible with German...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.17   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-03 10:43 EDT by Peter Wichers CLA
Modified: 2020-07-09 12:27 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Wichers CLA 2020-07-03 10:43:20 EDT
On a German keyboard, the open curly brackets are written with (Alt Gr + 7) or (Ctrl + Alt + 7). 
However, pressing Ctrl + Alt Gr + 7 does not apply the "Toggle Split Editor (Vertical)". 
A "{" is written into the editor instead.

Toggle Split Editor (Horizontal) is accessible.
Comment 1 Rolf Theunissen CLA 2020-07-06 02:24:50 EDT
Both AltGR is translated to Ctrl+Alt by windows. Therefore the keypress as observed by Eclipse is always Ctrl+Alt+{, which is not equal to the defined shortcut Ctrl+{. See also Bug 280580.

It seems that autohotkey can observer the difference, maybe somebody can investigate if it is possible to do similar detection in Eclipse.

https://superuser.com/questions/592970/can-i-make-ctrlalt-not-act-like-altgr-on-windows
Comment 2 Rolf Theunissen CLA 2020-07-09 12:27:02 EDT
For anybody trying to get this fixed, here is an extended blog post on all the Windows API to figure out key-presses and the problems in it. The good news is that there seems to be a solution.
https://blog.molecular-matters.com/2011/09/05/properly-handling-keyboard-input/