Ticket #511 (closed usability: behaves correctly)

Opened 3 years ago

Last modified 2 years ago

Again, keyboard mapping is broken by NX

Reported by: lamuguo@… Owned by: jeremyhu@…
Priority: Important Milestone:
Component: xserver Version: 2.6.3 (xserver-1.10.3)
Keywords: keyboard mapping Cc: lamuguo@…, kimmo.sundqvist@…

Description

Previous bug thread: http://xquartz.macosforge.org/trac/ticket/471

I've exactly the same behavior, and below is result asked by jeremyhu@ before:

1) Run xterm
2) Type in the xterm ... is it broken?
No, it works, result is attached.
3) Run NX
4) Type in NX ... assuming broken...
It is broken.
5) Go back to your xterm
6) Type in xterm ... is it broken?
Result is the same as step (2)

Below is result of "xmodmap -pke" for step (2) and (6):

keycode   8 = a A aring Aring
keycode   9 = s S ssharp Iacute
keycode  10 = d D partialderivative Icircumflex
keycode  11 = f F function Idiaeresis
keycode  12 = h H abovedot Oacute
keycode  13 = g G copyright doubleacute
keycode  14 = z Z Greek_OMEGA cedilla
keycode  15 = x X approxeq ogonek
keycode  16 = c C ccedilla Ccedilla
keycode  17 = v V radical U25CA
keycode  18 = section plusminus section plusminus
keycode  19 = b B integral idotless
keycode  20 = q Q oe OE
keycode  21 = w W U2211 doublelowquotemark
keycode  22 = e E dead_acute acute
keycode  23 = r R registered U2030
keycode  24 = y Y yen Aacute
keycode  25 = t T dagger caron
keycode  26 = 1 exclam exclamdown U2044
keycode  27 = 2 at trademark EuroSign
keycode  28 = 3 numbersign sterling U2039
keycode  29 = 4 dollar cent U203A
keycode  30 = 6 asciicircum section UFB02
keycode  31 = 5 percent infinity UFB01
keycode  32 = equal plus notequal plusminus
keycode  33 = 9 parenleft ordfeminine periodcentered
keycode  34 = 7 ampersand paragraph doubledagger
keycode  35 = minus underscore endash emdash
keycode  36 = 8 asterisk enfilledcircbullet degree
keycode  37 = 0 parenright masculine singlelowquotemark
keycode  38 = bracketright braceright leftsinglequotemark rightsinglequotemark
keycode  39 = o O oslash Oslash
keycode  40 = u U dead_diaeresis diaeresis
keycode  41 = bracketleft braceleft leftdoublequotemark rightdoublequotemark
keycode  42 = i I dead_circumflex U02C6
keycode  43 = p P Greek_pi U220F
keycode  44 = Return NoSymbol Return
keycode  45 = l L notsign Ograve
keycode  46 = j J U2206 Ocircumflex
keycode  47 = apostrophe quotedbl ae AE
keycode  48 = k K U02DA UF8FF
keycode  49 = semicolon colon ellipsis Uacute
keycode  50 = backslash bar guillemotleft guillemotright
keycode  51 = comma less lessthanequal macron
keycode  52 = slash question division questiondown
keycode  53 = n N dead_tilde U02DC
keycode  54 = m M mu Acircumflex
keycode  55 = period greater greaterthanequal breve
keycode  56 = Tab NoSymbol Tab
keycode  57 = space NoSymbol nobreakspace
keycode  58 = grave asciitilde dead_grave grave
keycode  59 = BackSpace NoSymbol BackSpace
keycode  60 = 0x1000003 NoSymbol 0x1000003
keycode  61 = Escape NoSymbol Escape
keycode  62 =
keycode  63 = Meta_L NoSymbol Meta_L
keycode  64 = Shift_L NoSymbol Shift_L
keycode  65 = Caps_Lock NoSymbol Caps_Lock
keycode  66 = Alt_L NoSymbol Alt_L
keycode  67 = Control_L NoSymbol Control_L
keycode  68 = Shift_R NoSymbol Shift_R
keycode  69 = Alt_R NoSymbol Alt_R
keycode  70 = Control_R NoSymbol Control_R
keycode  71 = Meta_R NoSymbol Meta_R
keycode  72 =
keycode  73 = KP_Decimal NoSymbol KP_Decimal
keycode  74 =
keycode  75 = KP_Multiply NoSymbol KP_Multiply
keycode  76 =
keycode  77 = KP_Add NoSymbol KP_Add
keycode  78 =
keycode  79 = Escape NoSymbol Escape
keycode  80 =
keycode  81 =
keycode  82 =
keycode  83 = KP_Divide NoSymbol KP_Divide
keycode  84 = KP_Enter NoSymbol KP_Enter
keycode  85 =
keycode  86 = KP_Subtract NoSymbol KP_Subtract
keycode  87 =
keycode  88 =
keycode  89 = KP_Equal NoSymbol KP_Equal
keycode  90 = KP_0 NoSymbol KP_0
keycode  91 = KP_1 NoSymbol KP_1
keycode  92 = KP_2 NoSymbol KP_2
keycode  93 = KP_3 NoSymbol KP_3
keycode  94 = KP_4 NoSymbol KP_4
keycode  95 = KP_5 NoSymbol KP_5
keycode  96 = KP_6 NoSymbol KP_6
keycode  97 = KP_7 NoSymbol KP_7
keycode  98 =
keycode  99 = KP_8 NoSymbol KP_8
keycode 100 = KP_9 NoSymbol KP_9
keycode 101 =
keycode 102 =
keycode 103 =
keycode 104 = F5 NoSymbol F5
keycode 105 = F6 NoSymbol F6
keycode 106 = F7 NoSymbol F7
keycode 107 = F3 NoSymbol F3
keycode 108 = F8 NoSymbol F8
keycode 109 = F9 NoSymbol F9
keycode 110 =
keycode 111 = F11 NoSymbol F11
keycode 112 =
keycode 113 = F13 NoSymbol F13
keycode 114 =
keycode 115 = F14 NoSymbol F14
keycode 116 =
keycode 117 = F10 NoSymbol F10
keycode 118 =
keycode 119 = F12 NoSymbol F12
keycode 120 =
keycode 121 = F15 NoSymbol F15
keycode 122 = Help NoSymbol Help
keycode 123 = Home NoSymbol Home
keycode 124 = Prior NoSymbol Prior
keycode 125 = Delete NoSymbol Delete
keycode 126 = F4 NoSymbol F4
keycode 127 = End NoSymbol End
keycode 128 = F2 NoSymbol F2
keycode 129 = Next NoSymbol Next
keycode 130 = F1 NoSymbol F1
keycode 131 = Left NoSymbol Left
keycode 132 = Right NoSymbol Right
keycode 133 = Down NoSymbol Down
keycode 134 = Up NoSymbol Up
keycode 135 =
keycode 136 =
keycode 137 =
keycode 138 =
keycode 139 =
keycode 140 =
keycode 141 =
keycode 142 =
keycode 143 =
keycode 144 =
keycode 145 =
keycode 146 =
keycode 147 =
keycode 148 =
keycode 149 =
keycode 150 =
keycode 151 =
keycode 152 =
keycode 153 =
keycode 154 =
keycode 155 =
keycode 156 =
keycode 157 =
keycode 158 =
keycode 159 =
keycode 160 =
keycode 161 =
keycode 162 =
keycode 163 =
keycode 164 =
keycode 165 =
keycode 166 =
keycode 167 =
keycode 168 =
keycode 169 =
keycode 170 =
keycode 171 =
keycode 172 =
keycode 173 =
keycode 174 =
keycode 175 =
keycode 176 =
keycode 177 =
keycode 178 =
keycode 179 =
keycode 180 =
keycode 181 =
keycode 182 =
keycode 183 =
keycode 184 =
keycode 185 =
keycode 186 =
keycode 187 =
keycode 188 =
keycode 189 =
keycode 190 =
keycode 191 =
keycode 192 =
keycode 193 =
keycode 194 =
keycode 195 =
keycode 196 =
keycode 197 =
keycode 198 =
keycode 199 =
keycode 200 =
keycode 201 =
keycode 202 =
keycode 203 =
keycode 204 =
keycode 205 =
keycode 206 =
keycode 207 =
keycode 208 =
keycode 209 =
keycode 210 =
keycode 211 =
keycode 212 =
keycode 213 =
keycode 214 =
keycode 215 =
keycode 216 =
keycode 217 =
keycode 218 =
keycode 219 =
keycode 220 =
keycode 221 =
keycode 222 =
keycode 223 =
keycode 224 =
keycode 225 =
keycode 226 =
keycode 227 =
keycode 228 =
keycode 229 =
keycode 230 =
keycode 231 =
keycode 232 =
keycode 233 =
keycode 234 =
keycode 235 =
keycode 236 =
keycode 237 =
keycode 238 =
keycode 239 =
keycode 240 =
keycode 241 =
keycode 242 =
keycode 243 =
keycode 244 =
keycode 245 =
keycode 246 =
keycode 247 =
keycode 248 =
keycode 249 =
keycode 250 =
keycode 251 =
keycode 252 =
keycode 253 =
keycode 254 =
keycode 255 =

Change History

comment:1 Changed 3 years ago by lamuguo@…

  • Cc lamuguo@… added

Cc Me!

comment:2 Changed 3 years ago by jeremyhu@…

  • Status changed from new to closed
  • Resolution set to behaves correctly
  • Type changed from crash to usability

Thanks.

Based on the information given, this sounds like a bug in NX. Other applications are printing the correct characters, which means that NX is getting the correct keycodes and keysyms. They're just doing something different with them. Please report this to the NX developers. I am more than happy to work with them to resolve the issue, but since other applications work and NX is 3rd party, I can't do anything at this point.

comment:3 Changed 2 years ago by kimmo.sundqvist@…

Based on the information given, the X11 provided by Apple (2.3.6) and the XQuartz downloadable from Macosforge (2.6.3) do something differently, because I see correct behavior with 2.3.6 but not 2.6.3 and I see the X server as the only variable here. I volunteer to provide more information if someone points me to the right direction.

comment:4 Changed 2 years ago by kimmo.sundqvist@…

  • Cc kimmo.sundqvist@… added

Cc Me!

comment:5 Changed 2 years ago by lamuguo@…

So, you mean I need to downgrade my xserver? Would you share me a link to download?

At the same time, I am thinking about file a bug to NX, but can't find the entry on doing this... Anyone can help?

comment:6 Changed 2 years ago by kimmo.sundqvist@…

See http://xquartz.macosforge.org/trac/ticket/515

I simply returned to using the X11 server provided by Apple with 10.6.8 Snow Leopard.

comment:7 Changed 2 years ago by kimmo.sundqvist@…

With Nomachine I think I'd start from here: http://www.nomachine.com/tr/index.php

But assuming that the problem is in their protocol design, I see it quite much trouble for them to start fixing the issue. I'd simply assume that they will recommend using the X11 server provided by Apple. But at least you can try giving them your 2 cents.

Note: See TracTickets for help on using tickets.