Bug 513571

Summary: Dead keys leaking in Latvian (Apostrophe) keyboard layouts
Product: [Plasma] kwin Reporter: Jānis Locāns <j.locans>
Component: inputAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dev, duha.bugs, j.locans, nate
Priority: NOR    
Version First Reported In: 6.5.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Keyboard settings

Description Jānis Locāns 2025-12-19 10:01:52 UTC
Created attachment 187789 [details]
Keyboard settings

SUMMARY
When typing FAST - dead keys in Latvian (Apostrophe) keyboard layouts leak or in other words - the diacritics are applied to more than just the letter after the dead key (apostrophe) press.

STEPS TO REPRODUCE
1. Press `'´ (apostrophe)
2. Press `a`
3. Press `c`
4. Repeat this several times as this can be a bit flaky.

Or any other combination with 2 letters which have the diacritic option following each other (āēīōūžčņļķš)

OBSERVED RESULT
`āč` can be seen

EXPECTED RESULT
`āc` only seen

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.17.11-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 12th Gen Intel® Core™ i5-12600K
Memory: 32 GiB of RAM (31.1 GiB usable)
Graphics Processor 1: NVIDIA GeForce RTX 4080 SUPER
Graphics Processor 2: Intel® UHD Graphics 770

ADDITIONAL INFORMATION
First I want to say that this creates a lot of grammar errors which should not be there and so the typing becomes very infuriating having to always re-read everything and fix the issues.

I have ruled out hardware issue with other keyboard and OS.
There are two Latvian kb layouts which use apostrophe - 1. Latvian (apostrophe) and 2. Latvian (apostrophe, dead quotes). Both have the same issue. There is no alternative apostrophe layout.
I could not reproduce this on some other language layouts that use dead keys e.g. German.
Reproduced on both Wayland and X11.
Comment 1 Jānis Locāns 2025-12-19 12:50:02 UTC
Found "the same" bug being reported in GNOME two years ago https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7236 which apparently got fixed. It looks almost the same, but it appears that typing fast was not a requirement in that case.
Comment 2 Nate Graham 2025-12-19 16:36:18 UTC
From that bug report, it looks like IBus was implicated? Are you using IBus?
Comment 3 Jānis Locāns 2025-12-19 16:45:21 UTC
(In reply to Nate Graham from comment #2)
> From that bug report, it looks like IBus was implicated? Are you using IBus?

No.