gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keyboard input broken for certain extended characters


From: Riccardo Mottola
Subject: Re: keyboard input broken for certain extended characters
Date: Mon, 22 Jul 2024 22:13:06 +0000
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 SeaMonkey/2.53.18.1

Hi,

on suggestion of Fred, I tried to debug things a little more.

First, I can put in a £ sign using the character mapping of the font
panel and it works.
Second, if the character is in the file, it gets displayed correctly
Third, if I export display and type in from elsewhere, it works

Unicode for pound sing would be U+00A3
Unicode for A circumflex is U+00C2
Unicode for A tilde is U+00C3

x82 is "no break here"

I don't fully understand why we add c2 when having the "working" pound
sign, but in the other case, we add a full c282 when typing.

The pound sign is written c2a3 The extra sign seen is in hex c382

On my keyboard to type the pound sign I need to type Shift-3.

Riccardo Mottola wrote:
> Pound sign: £

This is my attempt at debug event:


2024-07-22 23:43:43.650 Ink[37089:100686] 12582955 KeyPress
2024-07-22 23:43:43.650 Ink[37089:100686] Send NSEvent type: NSEvent:
eventType = flagsChanged, point = { 292.000000, 544.000000 }, modifiers
= 131072, time = 16204.004000, window = 6, dpsContext = 0x85f3a89c8,
repeat = NO, keys = (null), ukeys = (null), keyCode = 0x32 to <NSWindow:
0x867d5e008>Number: 6 Title: Senza-Titolo-1
2024-07-22 23:43:43.917 Ink[37089:100686] 12582955 KeyPress
2024-07-22 23:43:43.917 Ink[37089:100686] send key down event
2024-07-22 23:43:44.041 Ink[37089:100686] 12582955 KeyRelease
2024-07-22 23:43:44.041 Ink[37089:100686] Send NSEvent type: NSEvent:
eventType = appKitDefined, point = { -1.000000, -1.000000 }, modifiers =
0, time = 0.000000, window = 6, dpsContext = 0x85f3a89c8,  subtype = -1,
data1 = 0, data2 = 0 to <NSWindow: 0x867d5e008>Number: 6 Title:
Senza-Titolo-1
2024-07-22 23:43:44.048 Ink[37089:100686] Send NSEvent type: NSEvent:
eventType = cursorUpdate, point = { 292.000000, 544.000000 }, modifiers
= 0, time = 0.000000, window = 6, dpsContext = 0x85f3a89c8,  subtype =
0, data1 = 1, data2 = 8726a4138 to <NSWindow: 0x867d5e008>Number: 6
Title: Senza-Titolo-1
2024-07-22 23:43:44.048 Ink[37089:100686] Send NSEvent type: NSEvent:
eventType = cursorUpdate, point = { 292.000000, 544.000000 }, modifiers
= 0, time = 0.000000, window = 6, dpsContext = 0x85f3a89c8,  subtype =
0, data1 = 1, data2 = 8726a5c18 to <NSWindow: 0x867d5e008>Number: 6
Title: Senza-Titolo-1
2024-07-22 23:43:44.048 Ink[37089:100686] send key up event
2024-07-22 23:43:44.166 Ink[37089:100686] 12582955 KeyRelease
2024-07-22 23:43:44.166 Ink[37089:100686] Send NSEvent type: NSEvent:
eventType = flagsChanged, point = { 292.000000, 544.000000 }, modifiers
= 0, time = 16204.520000, window = 6, dpsContext = 0x85f3a89c8,  repeat
= NO, keys = (null), ukeys = (null), keyCode = 0x32 to <NSWindow:
0x867d5e008>Number: 6 Title: Senza-Titolo-1
2024-07-22 23:43:46.476 Ink[37089:100686] Send NSEvent type: NSEvent:
eventType = cursorUpdate, point = { 405.000000, 560.000000 }, modifiers
= 0, time = 0.000000, window = 6, dpsContext = 0x85f3a89c8,  subtype =
0, data1 = 0, data2 = 8726a5c18 to <NSWindow: 0x867d5e008>Number: 6
Title: Senza-Titolo-1
2024-07-22 23:43:46.478 Ink[37089:100686] Send NSEvent type: NSEvent:
eventType = cursorUpdate, point = { 405.000000, 560.000000 }, modifiers
= 0, time = 0.000000, window = 6, dpsContext = 0x85f3a89c8,  subtype =
0, data1 = 0, data2 = 8726a4138 to <NSWindow: 0x867d5e008>Number: 6
Title: Senza-Titolo-1

I'm unable to read that. The KeyCode is not always preset and 0x32 is 2.
However, I should see the keys for "shift" and "3"

Riccardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]