Project

General

Profile

Bug #10867

Incorrect event creation for keys with Ctrl modifier

Added by Vladimir Tsichevski 8 months ago. Updated 8 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
16268
version_resolved:
reviewer:
production:
No
env_name:
topics:

History

#1 Updated by Vladimir Tsichevski 8 months ago

When the user presses a key with the Ctrl modifier, an event is triggered. Each event has an integer key and a text label.

There are the following discrepancies in key and label generation between OE and FWD:

  1. Digit keys.
    In OE: The event label is CTRL-X, where X is the digit (e.g., CTRL-5 for 5), and the event key is 2096 plus the digit (e.g., 2096 for 0, 2097 for 1, and 2105 for 9).
    In FWD: The event label is X, where X is the digit (e.g., 5 for 5), and the event key is 48 plus the digit (e.g., 48 for 0, 49 for 1, and 57 for 9). This means the Ctrl modifier is ignored for digits. The exceptions are: # For key 2, the label is CTRL-, and the key is 0. # For key 6, the label is CTRL-^, and the key is 30.
  2. Ctrl-- (Ctrl-minus):
    In OE: CTRL-_, 2237
    In FWD: CTRL-_, 31
  3. Ctrl-=:
    In OE: CTRL-+, 2235
    In FWD: =, 61 (Ctrl ignored)
  4. Ctrl-[:
    In OE: ESC, 27
    In FWD: CTRL-ESC, 2075
  5. Ctrl-}:
    In OE: CTRL-}, 29
    In FWD: CTRL-ESC, 2075
  6. Ctrl-ENTER:
    In OE: CTRL-J, 10
    In FWD: CTRL-ENTER, 2061
  7. Ctrl-':
    In OE: CTRL-', 2270
    In FWD: ', 39 (Ctrl ignored)
  8. Ctrl-/:
    In OE: CTRL-/, 2239
    In FWD: /, 47 (Ctrl ignored)
  9. Ctrl-,:
    In OE: CTRL-,, 2236
    In FWD: ,, 44 (Ctrl ignored)

For numpad keys

  1. Ctrl-NumLock:
    In OE: CTRL-CTRL-S, 2067
    In FWD: No event generated.
  2. Ctrl-/:
    In OE: CTRL-O, 2159
    In FWD: /, 47 (Ctrl ignored)
  3. Ctrl-*:
    In OE: CTRL-J, 2154
    In FWD: *, 42 (Ctrl ignored)
  4. Ctrl--:
    In OE: CTRL-M, 2157
    In FWD: CTRL-_, 31
  5. Ctrl-+:
    In OE: CTRL-K, 2155
    In FWD: +, 43 (Ctrl ignored)
  6. Ctrl-ENTER:
    In OE: CTRL-J, 10
    In FWD: CTRL-ENTER, 2061

Also available in: Atom PDF