Bug 2397633 - Deadkey latch function seems to be broken
Summary: Deadkey latch function seems to be broken
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: xkeyboard-config
Version: 43
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Peter Hutterer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-23 14:55 UTC by Boyd
Modified: 2026-11-10 17:53 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Boyd 2025-09-23 14:55:58 UTC
Example Cameroon International keyboard uses latch deadkey function.  Pressing ;, then releasing, and pressing an additional will will insert partiular character.  

Normally pressing and releasing ; followed by e, will insert ;e instead of ə.

Reproducible: Always

Steps to Reproduce:
Reproduce:  Go to Settings Keyboard, Add Input Source.  Select Cameroon Multilingual Qwerty.
Press and release ; folowed by e.



Actual Results:
Actual results:  Press and release ; followed by e inserts ;e
                 Press and hold ; while pressing e inserts ;ə 



Expected Results:
Expected results:  Press and release ; folowed by e inserts ə.


Additional Information:
(At least pressing and holding can produce the desired character, but requires additional finger acrobatics and is not the normal functionality. The latch key character ';' is also inserted. However the level 1 ;(latch key) normally should insert nothing and wait for the next keypress.

Strangely running under both Sway and Hyperland also under wayland, this works fine.  So is this a Gnome specific issue?   Since it also works with Sway I was concluding that it is not an xkeyboard-config issue itself.

Comment 1 Boyd 2025-10-19 09:20:27 UTC
Tried xkeyboard-config-2.46-1 currently in updates-testing and the issue persists.  I wish I could provide more information, but it really seems like gnome problem.  As noted above works in hyprland, sway and cosmic as well.

Comment 2 Boyd 2025-10-19 20:00:19 UTC
With the Cameroon keyboard it is this function that is not working under gnome:

partial modifier_keys
xkb_symbols "exclamation_switch" {
	key <AB10> {[  ISO_Level3_Latch,  U00A7,  exclam,  U00A7  ]};
	modifier_map Mod5	{ ISO_Level3_Latch };
};


As described in the symbols file this should:
// For example, press ";" then "a" and get "ɛ" (small epsilon). ";" then "Shift" + "a" (A) will get an "Ɛ" (capital epsilon).

But as noted above this key combination will produce ";ɛ"  (including the 'latch' key ;)

// == Cameroon QWERTY ==
// Cameroon QWERTY uses the US QWERTY layout, as US keyboards are also widely used here. While this keyboard is designed for
// Cameroonian orthography, it is possible (but not recommended) to type English with minimal discomfort using this keyboard.
// Cameroon QWERTY uses the ";" (semicolon) key as the "Cameroon" key.	Pressing this key before another key allows you to access
// the special letters and diacritics needed in Cameroonian orthography.
// For example, press ";" then "a" and get "ɛ" (small epsilon). ";" then "Shift" + "a" (A) will get an "Ɛ" (capital epsilon).
// Press ";" twice to get a ";", or press Shift + ; (:) twice to get a ":" (colon).
// If you prefer, you can hold the AltGr key to access the same letters, but we have found this to be much more awkward in practice.
// If you really don't like our Cameroon key, simply comment out "include "cm(semicolon_switch)"" and the semicolon key will return
// to normal.
// All Diacritics must be typed (in order of stacking) after the letter.

Comment 3 Pierre Le Marre 2025-10-21 12:10:17 UTC
I cannot reproduce on KDE (without IBus). It sounds a lot like this IBus issue: https://github.com/ibus/ibus/issues/2764

Try deactivating IBus temporary to check it.

> With the Cameroon keyboard it is this function that is not working under gnome:
>
> partial modifier_keys
> xkb_symbols "exclamation_switch" {

Almost: this one is for the Azerty variant. Yours is the Qwerty variant, which uses: 

> xkb_symbols "semicolon_switch"

Note that the Azerty variant probably suffers the same issue.

Comment 4 Boyd 2025-11-01 22:47:49 UTC
Seems to work now with recent updates.  ɔɛɲŋ   All working.  Thanks.  Can be closed.

Comment 5 Aoife Moloney 2026-11-10 17:53:50 UTC
This message is a reminder that Fedora Linux 43 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 43 on 2026-12-02.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '43'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 43 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.


Note You need to log in before you can comment on or make changes to this bug.