Package: libx11-6
Version: 2:1.8.10-2
Severity: important
File: libx11
Tags: l10n
X-Debbugs-Cc: a...@alex.com

Dear Maintainer,

There seems to be parsing issues occurring in Trixie. I installed using the
alpha installer (debian-trixie-DI-alpha1-amd64-netinst.iso) and subsequently
added my custom keyboard to the system, as well as my XCompose file to my user
folder (~/.XCompose). These are the exact same keyboard and XCompose files
which I use regularly on Bookworm (and the in the past with Bullseye, etc.) and
which have presented no issues on older systems. The keyboard itself has a key
in a custom location which acts as a combining diacritic alone, and a dead key
when modified with SHIFT. I define the dead key in the keyboard itself in the
following way (/usr/share/X11/xkb/symbols/custom_keyboard):

    key <AC11> { [      U0301,  UFE63   ]       };

The dead key in question is thus UFE63, which I reference in the XCompose file.

The XCompose file itself has numerous definitions (and does not reference the
default Compose file for the locale). Definitions contain the following:

...
<UFE63> <g> : "ç"
<UFE63> <f>     : "æ"
...

While debugging, I tried modifying the result side, attempting to use STRING,
keysym, and STRING keysym, which did affect the final result, but none provided
a working solution (as had been the case on previous releases of Debian).
Importantly, if I empty the file and provide only a single compose definition,
such as:

<UFE63> <g> : "ç"

Then the result is that the XCompose file is successfully parsed and the
compose sequency correctly runs everywhere. The compose sequence chosen can be
any from my original XCompose file, but when two or more definitions are
present as in the extract above, then none of the definitions work.


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.19-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), 
LANGUAGE=es_ES:es
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libx11-6:amd64 depends on:
ii  libc6        2.41-6
ii  libx11-data  2:1.8.10-2
ii  libxcb1      1.17.0-2+b1

libx11-6:amd64 recommends no packages.

libx11-6:amd64 suggests no packages.

-- no debconf information

default  partial alphanumeric_keys
xkb_symbols "custom_sample" {

    name[Group1]= "custom_sample";

    key <AE01> { [          1,  section                 ]       };
    key <AE02> { [          2,  at              ]       };
    key <AE03> { [          3,  numbersign      ]       };
    key <AE04> { [          4,  dollar          ]       };
    key <AE05> { [          5,  percent         ]       };
    key <AE06> { [          6,  asciicircum ]   };
    key <AE07> { [          7,  ampersand       ]       };
    key <AE08> { [          8,  asterisk        ]       };
    key <AE09> { [          9,  braceleft]      };
    key <AE10> { [          0,  braceright      ]       };

    key <AD04> { [          p,  P               ]       };
    key <AD05> { [          y,  Y               ]       };
    key <AD06> { [          f,  F               ]       };
    key <AD07> { [          g,  G               ]       };
    key <AD08> { [          c,  C               ]       };
    key <AD09> { [          r,  R               ]       };
    key <AD10> { [          l,  L               ]       };


    key <AC01> { [          a,  A               ]       };
    key <AC02> { [          o,  O               ]       };
    key <AC03> { [          e,  E               ]       };
    key <AC04> { [          u,  U               ]       };
    key <AC05> { [          i,  I               ]       };
    key <AC06> { [          d,  D               ]       };
    key <AC07> { [          h,  H               ]       };
    key <AC08> { [          t,  T               ]       };
    key <AC09> { [          n,  N               ]       };
    key <AC10> { [          s,  S               ]       };
    key <AC11> { [      U0301,  UFE63   ]       };

};

# include "%L"   # Commented out and ignored

# Sample. Works on Bookworm, does not work on Trixie. Removing either of the 
two definitions allows it to work on Trixie

<UFE63> <g> : "ç"
<UFE63> <f>     : "æ"

Reply via email to