Bug 501509

Summary: StyledText enters characters that are none
Product: [Eclipse Project] Platform Reporter: Thomas Singer <eclipse>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: REOPENED --- QA Contact:
Severity: normal    
Priority: P3 CC: paul-eclipse, ts-swt
Version: 4.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows NT   
Whiteboard:
Attachments:
Description Flags
Sample code to reproduce
none
screenshot (maybe not very helpful) none

Description Thomas Singer CLA 2016-09-15 11:17:30 EDT
I'm using a German keyboard. A couple of keys are available by the "Alt Gr" key only (that seems to translate to Ctrl+Alt).

Attached you'll find a small snippet with a multiline Text control and a multiline StyledText control.

When pressing Ctrl+Alt+8 in the Text or StyledText control, "[" is entered - fine. The debug output is:

event.character = 5b
event.keyCode   = 38
event.stateMask = Ctrl Alt

When I press Ctrl+Alt+1 in the Text control, nothing is printed (it does not map to a certain character on the German keyboard), but in the StyledText "1" is entered. The debug output is:

event.character = 31
event.keyCode   = 31
event.stateMask = Ctrl Alt
Comment 1 Thomas Singer CLA 2016-09-15 11:18:00 EDT
Created attachment 264175 [details]
Sample code to reproduce
Comment 2 Thomas Singer CLA 2016-09-15 11:18:32 EDT
Created attachment 264176 [details]
screenshot (maybe not very helpful)
Comment 3 Eclipse Genie CLA 2020-05-18 16:46:24 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Eclipse Genie CLA 2020-05-18 16:46:24 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 5 Thomas Singer CLA 2020-05-25 02:59:21 EDT
This bug still is present. Please reopen.
Comment 6 Paul Pazderski CLA 2020-05-26 06:00:03 EDT
.