Bug 501509 - StyledText enters characters that are none
Summary: StyledText enters characters that are none
Status: REOPENED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.7   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-15 11:17 EDT by Thomas Singer CLA
Modified: 2020-05-26 06:00 EDT (History)
2 users (show)

See Also:


Attachments
Sample code to reproduce (1.83 KB, text/plain)
2016-09-15 11:18 EDT, Thomas Singer CLA
no flags Details
screenshot (maybe not very helpful) (1.53 KB, image/png)
2016-09-15 11:18 EDT, Thomas Singer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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
.