Bug 156102 - Ctrl+brackets (ctrl+[ and ctrl+]) does not work on Windows with different keyboard layouts
Summary: Ctrl+brackets (ctrl+[ and ctrl+]) does not work on Windows with different key...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shortcuts-Locale
  Show dependency treegraph
 
Reported: 2023-06-30 11:55 UTC by Hossein
Modified: 2024-01-26 10:33 UTC (History)
3 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 Hossein 2023-06-30 11:55:52 UTC
Description:
I am using Persian keyboard layout, and I want to use ctrl+brackets (ctrl+[ and ctrl+]) to increase and decrease the size of some selected text. It works with English keyboard layout, but not with other keyboard layouts like Persian. This problem happens on Windows, but not on Linux, as it works as expected on Linux.

Steps to Reproduce:
1. Open LibreOffice Writer
2. Type something, and select the written text
3. Switch keyboard layout to Persian
3. Press ctrl+[ or ctr+] (referring to physical keys in an English keyboard) on your keyboard

Actual Results:
Nothing happens

Expected Results:
It should increase the size of the selected text, just like when the English keyboard layout is used


Reproducible: Always


User Profile Reset: No

Additional Info:
The problem is reproducible on Windows:
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ff8ec4cfe5df1e15c3e9f6adc843dfe31358e097
CPU threads: 20; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_DE); UI: en-US
Calc: CL threaded

But it is not reproducible on Linux, as it works as expected:
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 97c67afac1ec9351d0a64011a7ddfb7dfa876484
CPU threads: 10; OS: Linux 5.19; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: CL threaded
Comment 1 m_a_riosv 2023-06-30 12:58:25 UTC
Maybe in Persian layout it is a shift key.

It happens with Spanish layout for some keys combination, when the key is a shift key.
https://bugs.documentfoundation.org/buglist.cgi?quicksearch=shift%20%3B&list_id=1619230
Comment 2 Stéphane Guillou (stragu) 2023-07-01 15:24:33 UTC
Hossein, does Ctrl + Shift + [ or ] work?
Does this match your layout? https://i.stack.imgur.com/rTueJ.png
Comment 3 Hossein 2023-07-02 00:50:23 UTC
(In reply to Stéphane Guillou (stragu) from comment #2)
> Hossein, does Ctrl + Shift + [ or ] work?
> Does this match your layout? https://i.stack.imgur.com/rTueJ.png
The above picture of the Persian keyboard layout is correct. But, Ctrl + Shift + [ or ] also do not work for me.
Comment 4 QA Administrators 2023-07-02 03:13:12 UTC Comment hidden (obsolete)
Comment 5 Heiko Tietze 2023-07-03 07:23:02 UTC
IIUC there is no such thing as ctrl+shift+<bracket>. You type without ctrl - and that's not possible with the way LibreOffice implemented the shortcut handling.
Comment 6 MilesMorales 2024-01-26 10:33:38 UTC Comment hidden (spam)