Control: reassign -1 libxm4 2.3.4-10
Control: retitle -1 libxm4 (motif): keysyms associated with F1 and Shift-F8 are 
ignored in text input fields

On 2016-05-19 12:59:21 +0200, Vincent Lefevre wrote:
> In text input fields, such as in the Find and Save As dialog boxes,
> some keysyms are ignored. This is at least the case of:
>   * 0xe9 eacute (é)
>   * 0xdb Ucircumflex (Û)
> 
> However this is no such problem with: èêëâîôûàùïç ÉÈÊËÂÎÔÀÙÏÇ
> 
> Note: The problem is at the keysym level, as if I change my keyboard
> configuration to use other keysyms for the same physical keys, the
> characters appear as expected. Moreover, I can enter these characters
> é and Û with dead keys (dead_acute + e and dead_circumflex + U).

Well, after doing more tests, this is actually more complex.
The problem is that keysyms that correspond to F1 and Shift-F8
*when xpdf is started* do not work.

If I remap the keyboard with xkbcomp while xpdf is running, then the
new mapping is taken into account, except that the keysyms mentioned
above still do not work. For instance, if I swap the F1 & F2 settings
and the F7 & F8 settings while xpdf is running, then this is F2 and
Shift-F7 that do not work.

I reassign this bug to libxm4 since the bug probably occurs at the
Motif level. I notice that libmotif-common provides bindings files
(/usr/share/X11/bindings directory), where one can see settings for
F1 and Shift-F8, but also F10 and Shift-F10. However:
  * I don't have any problem with F10 and Shift-F10.
  * No such bindings files are read when running xpdf, as shown
    by strace -f.

I suspect that Motif may have default bindings for F1 and Shift-F8
(the string "_MOTIF_DEFAULT_BINDINGS" appears in strace output).

It is wrong to override the user's keyboard mapping.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to