Bug 164852 - Keyboard shortcuts do not work when the layout differs from the English one.
Summary: Keyboard shortcuts do not work when the layout differs from the English one.
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.8.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-25 16:26 UTC by Dima
Modified: 2025-01-26 05:47 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dima 2025-01-25 16:26:55 UTC
Description:
Keyboard shortcuts do not work when the layout differs from the English one.

Changing the order of the layouts does not change the situation.
Ignoring the OS input language in the LO settings does not change the situation.

Steps to Reproduce:
1.Switch to any language other than English.
2.Select the text in writer and press ctrl+B
3.You can see that the text has not become bold. Similarly, with copying and pasting text using hot keys - it doesn't work.

Actual Results:
Hotkeys only work with the English keyboard layout.

Expected Results:
Hot keys work correctly with any keyboard layout.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.8.4.2 (X86_64) / LibreOffice Community
Build ID: 480(Build:2)
CPU threads: 8; OS: Linux 6.12; UI render: default; VCL: gtk4
Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU
24.8.4-2
Calc: threaded
Comment 1 Dima 2025-01-25 16:31:35 UTC
Forgot to clarify. The described behavior is observed when running with the parameter: SAL_USE_VCLPLUGIN=gtk4 libreoffice

The specified launch parameter is necessary due to the strong inertia when moving through text or cells.
Comment 2 BogdanB 2025-01-25 18:43:38 UTC
Dima, please wait for someone else to confirm that this is a bug. After that will be marked as New. Thanks for understanding.
Comment 3 Van 2025-01-25 19:32:15 UTC
I confirm the bug.

$ libreoffice --calc 
# Everything is ok, Ctrl+C, Ctrl+X, Ctrl+V, Ctrl+Z work as expected
# regardless of the current keyboard layout.

$ SAL_USE_VCLPLUGIN=gtk4 libreoffice --calc
# Ctrl+C, Ctrl+X, Ctrl+V, Ctrl+Z work if English (US) keyboard layout is 
# active. If Russian keyboard layout is active, then Ctrl+C, Ctrl+X, 
# Ctrl+V, Ctrl+Z have no effect.

Fedora 38 @ x86_64, Gnome 44.10 (session type is x11), LibreOffice 
7.5.9.2 50 (Build:2). (My setup is outdated a bit, I'll update it soon.)
Comment 4 BogdanB 2025-01-25 20:00:09 UTC
(In reply to Van from comment #3)
> I confirm the bug.
> 
> 7.5.9.2 50 (Build:2). (My setup is outdated a bit, I'll update it soon.)

Ok, try 24.8 or 25.2.
Comment 5 m_a_riosv 2025-01-25 21:10:21 UTC
If I'm not wrong, shortcuts are localized.

Maybe this https://ask.libreoffice.org/t/how-to-put-short-keys-in-english-in-a-spanish-libreoffice/8687 can help.
Comment 6 Dima 2025-01-26 05:47:41 UTC
I changed the interface language to English completely in the tab: Tools -> Options -> Lauguages and Locales -> General.
This change did not produce the expected result. 
Hot keys still work on the English layout. 
Hot keys do not work on the Russian layout.