Keys assigned to Hungarian diacriticals misbehaving in LibreOffice Writer

Linux Mint 1.26, Dell XPS 13 9305
Wise and worldly Forum members, I used to be a long-time and satisfied user of LibreOffice Writer until something like 6-7 weeks ago, when my Hungarian diacritical letters (á, é, ő, ú, ó, ű) went haywire. The problem is intermittent, and I can’t find a pattern as to when it happens but it does quite regularly. It creates a huge nuisance and reduces word file editing functionalities to zero. I switch between two keyboard layouts, Hungarian and Romanian.

  • When typing in Writer, the keys assigned to these Hungarian letters sometimes act as Ctrl + v, pasting the content of the clipboard. When this happens, they still work normally in other applications or other Writer files.
  • They sometimes act as Backspace.
  • They sometimes set random chunks of text in the same paragraph in bold and remove some spaces between words.
  • The Win key, which I used in combination with Space for switching between layouts, consistently takes on the function of the Insert key, switching to overwrite mode. But this is the least of my issues.

The issue is specific to LibreOffice, typing works smoothly in other applications. The language set for the text has some effect but does not stop it. When it first appeared, I still had POP!_OS on this laptop, and both OSs have reported that the drivers are up to date (maybe updating the kernel in Linux Mint would help).

What is your desktop manager? GNOME, MATE, KDE Plasma, Xfce, LxQt, …? Have you changed something in your keyboard configuration? Depending on desktop manager, you can configure different behaviours for different applications. Is your keyboard “correctly” listed by command lsusb? Is it directly attached to the bus or being an integrated hub?
Also LO version?

Very strange effects are sometimes caused by a corrupted user profile.

The behaviour is similar under Cinnamon and Mint, plus I also experienced something very similar under POP!_OS’s own COSMIC desktop environment (I can’t replicate it there since I clean-installed Linux Mint). LO 24.8.4.2. However, lsusb does not list the keyboard anywhere:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 003 Device 003: ID 0c45:6723 Microdia Integrated_Webcam_HD
Bus 003 Device 004: ID 27c6:5335 Shenzhen Goodix Technology Co.,Ltd. Goodix Fingerprint Device
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

What can I do to fix this?

Could it be your keyboard is PS/2 interface? Laptop brand and model? Age?

Dell XPS 13 9305, bought it new in 2022.

Can you see the keyboard in the Control Center (GNOME, MATE and the like) or System Settings (KDE, …)?

Yes.


(In the Keyboard GPU, the keyboard model used to figure as a Standard 105-key. I messed up this configuration today when troubleshooting this issue and set generic Dell. As it happens, “Reset Defaults” only removes my second layout but does not reset the keyboard model.)

My software manager installs a bunch of language packages in a batch. Also, Linux Mint comes with an outdated Debian package of LO which I replaced with a newer Flatpak version, but the same effects persisted in both versions.