I can confirm and append this issue. This is still true for Ubuntu 24.04.1 LTS and this issue (double effect) covers Latvian apostrophe (`) and single quote (') accented characters. Right Alt works fine, instead.
There is no difference, if you use "Latvian", "Latvian (F)", "Latvian (Modern Latin)", "Latvian (adopted)", "Latvian (apostrophe)" or "Latvian (tilde)" if layout offers apostrophe (`) or single quote (') option, it has double effect Right Alt works fine on any layout, where it is available. Moreover I have lately upgraded from Ubuntu 22.04 LTS. it does have similar issue - single quote (') works unstable. On rapid āāāāāāāāāāāā... typing in any text field, I have received āāāaāāāāaāāā... (some "ā" typed as "a"). By describing this, I suppose, this issue evolving, since then. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/2040450 Title: Ubuntu 23.10 Latvian keyboard layout (apostrophe) broken Status in gnome-shell package in Ubuntu: Confirmed Bug description: When using keyboard layout Latvian (apostrophe), when writing accented characters like "š", second character is outputed accented, too. When writing, for example, 'so, šō is outputted (should be šo) When testing keyboard during Ubuntu 23.10 installation and choosing Latvian (apostrophe) layout, the behaviour was correct. affects ubuntu/mantic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2040450/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp