Bug 150682 - bad shortcut in french langage
Summary: bad shortcut in french langage
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.5.0 target:7.4.3
Keywords:
Depends on:
Blocks: Shortcuts-AltGR
  Show dependency treegraph
 
Reported: 2022-08-30 07:35 UTC by Regis Perdreau
Modified: 2022-10-16 23:57 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot of the shortcut menu (13.57 KB, image/png)
2022-08-30 07:38 UTC, Regis Perdreau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regis Perdreau 2022-08-30 07:35:09 UTC
Description:
In French keyboard, the shortcut CTRL+ALT+"=" is not available.

Steps to Reproduce:
1.Open menu "Insertion","Objet formule" then look at the first option "Objet formule"
2.See screenshot


Actual Results:
the shortcut requested would be CTRL+ALT+"="... But "}" is displayed in every french standard keyboard instead.

Expected Results:
I think another shortcut must be provided.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.4.0.1 (x64) / LibreOffice Community
Build ID: 43e5fcfbbadd18fccee5a6f42ddd533e40151bcf
CPU threads: 8; OS: Windows 10.0 Build 7600; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded
Comment 1 Regis Perdreau 2022-08-30 07:38:17 UTC
Created attachment 182086 [details]
screenshot of the shortcut menu
Comment 2 Aron Budea 2022-09-02 05:09:39 UTC
Confirmed. Ctrl+Alt-based shortcuts have difficulties in Windows, as some lead to special characters, which the OS already replaces the key press with. The options here are either replacing the affected shortcut only in French, or language-independently.
Comment 3 Aron Budea 2022-09-06 07:16:15 UTC
Rafael, Heiko, what would be your suggestion to the problem?
One option would be to use different accelerators for affected languages based on their specific keyboard layouts (which, considering the number of languages/layouts can be a lot of work), or simply replace Ctrl+Alt with a different combination of modifiers.
Comment 4 Heiko Tietze 2022-09-06 07:33:29 UTC
(In reply to Aron Budea from comment #3)
> Rafael, Heiko, what would be your suggestion to the problem?

There are many similar tickets such as bug 146226 (see also bug 98259). I suggest first of all to merge them to raise the importance. Ultimately we should rework the shortcut workflow, allow non-ASCII letters, make it easier to customize, and allow to share different setups. 

Bug 115052 - Allow other keys than from US keyboard as shortcut keys
Bug 115527 - Redesign of the keyboard tab of the Customization dialog
Bug 123768 - Make shortcuts extensionizable
(Adding Thorsten as he showed interest in this topic.)

It will always remain an effort for the local communities. Some other shortcut that works for French will break on German keyboard layouts, for example (this particular issue is also relevant here as the equal sign comes at Shift+0).
Comment 5 Commit Notification 2022-09-06 16:11:03 UTC
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/d156e891db34e88991a6c18fd3cff6feddfc61c8

tdf#150682 - bad shortcut in french langage

It will be available in 7.5.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Aron Budea 2022-09-09 14:25:58 UTC
Unfortunately this fix doesn't work for me, I tested with French keyboard layout, and am still getting curly bracket.

I wonder if LO actually gets the modifiers in this case, or only the character (haven't checked).
Comment 7 Regis Perdreau 2022-09-13 08:52:06 UTC
So what can we do ?
Comment 8 Aron Budea 2022-10-12 00:37:59 UTC
The only idea I can think of that can be implemented quickly is to switch to a different combination: Alt+Shift+E.
https://gerrit.libreoffice.org/c/core/+/141227
Comment 9 Commit Notification 2022-10-14 10:29:38 UTC
Aron Budea committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/77fb3ffdb6a8077cd3931985de923fbd1396d424

tdf#150682 Change shortcut of inserting Math objects to Alt+Shift+E

It will be available in 7.5.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 10 Commit Notification 2022-10-15 08:21:14 UTC
Aron Budea committed a patch related to this issue.
It has been pushed to "libreoffice-7-4":

https://git.libreoffice.org/core/commit/954bee89d4943656f10c3574b33578861bf539e7

tdf#150682 Change shortcut of inserting Math objects to Alt+Shift+E

It will be available in 7.4.3.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.