** Description changed:

  Binary package hint: scim
  
  After upgrade from Intrepid to Jaunty, I cannot input accented letters with 
AltGr. Before upgrading, everything worked fine.
  On the logon screen, when SCIM is not running, accented letters work.
  In gedit, when choosing XIM from pop-up menu, they don't.
  
  SCIM version: 1.4.7-3ubuntu12
  Keyboad layout set in Gnome: Polish (default)
  
  xev output when pressing AltGr:
  
  KeyPress event, serial 30, synthetic NO, window 0x400001,
      root 0xab, subw 0x0, time 27047318, (46,83), root:(50,154),
      state 0x0, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
      XKeysymToKeycode returns keycode: 92
      XLookupString gives 0 bytes: 
      XmbLookupString gives 0 bytes: 
      XFilterEvent returns: False
  
  KeyRelease event, serial 33, synthetic NO, window 0x400001,
      root 0xab, subw 0x0, time 27047460, (46,83), root:(50,154),
      state 0x88, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen 
YES,
      XKeysymToKeycode returns keycode: 92
      XLookupString gives 0 bytes: 
      XFilterEvent returns: False
  
  some other stuff:
  
  $ xprop -root | grep XKB
  _XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "pc105", "pl", "", 
"lv3:ralt_switch,grp:shifts_toggle,kpdl:dotoss,compose:lwin"
  _XKB_RULES_NAMES(STRING) = "evdev", "pc101", "pl,ru,gr", ",phonetic,", 
"grp:shifts_toggle,kpdl:dotoss,lv3:ralt_switch,compose:lwin"
  
  $ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
   layouts = [pl,ru     phonetic,gr]
   options = [grp       grp:shifts_toggle,kpdl  kpdl:dotoss,lv3 
lv3:ralt_switch,Compose key     compose:lwin]
   model = pc101
  
  I noticed that if I don't set "nodeadkeys" during "sudo dpkg-reconfigure 
xserver-xorg", I can use AltGr to produce dead keys
  (example: AltGr+; a -> á, while LWin+; a -> ą) Although "pl" keyboard layout 
defines many dead keys, I can get only those from punctuation marks.
  
  I ran cat in gnome-terminal and typed: AltGr+QWERTYUIOP Enter AltGr+ASDFGHJKL 
Enter AltGr+ZXCVBNM
  I got:
  ^...@^[ł^[ę^[¶^[ŧ^[←^[↓^[→^[ó^[þ
  ^[ą^[ś^[ð^[đ^[ŋ^[ħ^[j^[ĸ^[ł
  ^[ż^[ź^[ć^[“^[”^[ń^[µ
  
  These are correct symbols, although each of them is as if they were typed 
with LAlt down. I cat'ed the same thing to a file and opened it with hexedit:
  00000000   1B 40 1B C5  82 1B C4 99  1B C2 B6 1B  C5 A7 1B E2  
....@..............
  00000010   86 90 1B E2  86 93 1B E2  86 92 1B C3  B3 1B C3 BE  
................
  etc.
  
  I also tested xev with AltGr+letter (in the following example, AltGr+L):
  
  KeyPress event, serial 33, synthetic NO, window 0x600001,
      root 0xab, subw 0x0, time 40608841, (408,231), root:(412,302),
      state 0x0, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
      XKeysymToKeycode returns keycode: 92
      XLookupString gives 0 bytes: 
      XmbLookupString gives 0 bytes: 
      XFilterEvent returns: False
  
  KeyPress event, serial 33, synthetic NO, window 0x600001,
      root 0xab, subw 0x0, time 40609012, (408,231), root:(412,302),
      state 0x88, keycode 46 (keysym 0x1b3, lstroke), same_screen YES,
      XKeysymToKeycode returns keycode: 25
      XLookupString gives 2 bytes: (c5 82) "ł"
      XmbLookupString gives 2 bytes: (c5 82) "ł"
      XFilterEvent returns: False
  
  KeyRelease event, serial 33, synthetic NO, window 0x600001,
      root 0xab, subw 0x0, time 40609136, (408,231), root:(412,302),
      state 0x88, keycode 46 (keysym 0x1b3, lstroke), same_screen YES,
      XKeysymToKeycode returns keycode: 25
      XLookupString gives 2 bytes: (c5 82) "ł"
      XFilterEvent returns: False
  
  KeyRelease event, serial 33, synthetic NO, window 0x600001,
      root 0xab, subw 0x0, time 40609376, (408,231), root:(412,302),
      state 0x88, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen 
YES,
      XKeysymToKeycode returns keycode: 92
      XLookupString gives 0 bytes: 
      XFilterEvent returns: False
  
  Lookupstrings above are correct.
+ 
+ I retried was I did with gnome-terminal with xterm and I got:
+ 
+ Àłę¶ŧ←↓→óþ
+ ąśðđŋħêĸł
+ żźć“”ńµ
+ 
+ AltGr+Q and AltGr+J do no seem to be correct, but the rest is perfect. I
+ cat'ed it to file and got a text file with all the above. It doesn't
+ contain 0x1B bytes, so I think xterm does not interpret accented letters
+ as if they were typed with Alt.

-- 
SCIM causes AltGr stop working after upg to jaunty
https://bugs.launchpad.net/bugs/377987
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to