Bug 128529 - Some keyboard shortcuts don't work when caps lock is used as ctrl key
Summary: Some keyboard shortcuts don't work when caps lock is used as ctrl key
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-01 10:12 UTC by Jacobo Aragunde Pérez
Modified: 2021-03-03 07:20 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 Jacobo Aragunde Pérez 2019-11-01 10:12:29 UTC
Description:
I'm a GNOME user (Fedora 29, but it's been always failing AFAICR), and I've been using my Caps Lock key as an additional Ctrl key with the switch provided by the desktop. It used to be more easily accessible but now it's hidden inside the GNOME tweak tool.

Two-key shortcuts work, like Ctrl+S (Caps+S), but three-key ones don't, for example, Ctrl+Shift+S (Caps+Shift+S). Using the specific Ctrl key always works.


Steps to Reproduce:
1. Set Caps key as additional Ctrl via: GNOME tweak tool -> Keyboard & Mouse -> Additional layout options -> Caps Lock behavior -> Caps Lock is also a Ctrl.
2. Open LibreOffice
3. Press Caps Lock + Shift + S.

Actual Results:
No results.

Expected Results:
Expected: "Save as" dialog appears.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Workaround: Ctrl+Shift+S still works.

Version: 6.1.6.3
Build ID: 6.1.6.3-7.fc29
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: gtk3; 
Locale: es-ES (en_US.UTF-8); Calc: group threaded
Comment 1 Jacobo Aragunde Pérez 2019-11-18 11:35:13 UTC
Still reproducible on Fedora 31, LibreOffice 6.3.3.2, GNOME 3.34.1.
Comment 2 Xisco Faulí 2020-05-11 08:27:48 UTC
Hello Jacobo,
Is this issue still reproducible in a master build ?
Is it also reproducible with SAL_USE_VCLPLUGIN=gen ?
Comment 3 Jacobo Aragunde Pérez 2020-05-11 15:59:19 UTC
I cannot try on master now, but using SAL_USE_VCLPLUGIN=gen with 6.3.5.2-5.fc31 things work properly.
Comment 4 QA Administrators 2020-05-12 03:52:23 UTC Comment hidden (obsolete)
Comment 5 Buovjaga 2020-08-29 20:35:51 UTC
Works with KDE Plasma at least. Went to KDE keyboard settings, advanced, ticked "Caps lock is Ctrl". Works with gtk3 or kf5 LibO backends. Maybe it's a GNOME bug.

Arch Linux 64-bit
Version: 7.1.0.0.alpha0+
Build ID: d784e711c102f204552c3c816636da01b1085f61
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 29 August 2020
Comment 6 Jacobo Aragunde Pérez 2021-03-03 07:20:28 UTC
I only recently learned there are limitations to the amount of simultaneous key presses, and that they depend on the actual keys. I tried this online key test: http://en.key-test.ru/ and I cannot trigger the caps+shift+s triplet of keys there either.

Oddly, I have tried different keyboards and they all behave the same. It might be not hardware but software related... Even more oddly, it apparently worked for me with a different VCL implementation some time ago, but not now. Anyway, chances are that LibreOffice is not receiving that key combination at all so it's not a bug for us.

Sorry for the noise!