Bug 149161 - Keyboard not responding in Calc, Writer and LibreOffice
Summary: Keyboard not responding in Calc, Writer and LibreOffice
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-18 20:28 UTC by MarkusBg
Modified: 2023-10-22 03:18 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 MarkusBg 2022-05-18 20:28:46 UTC
Hello,

Stemming from this discussion
https://ask.libreoffice.org/t/keyboard-not-working-in-calc/73114

There is an issue experienced in LibreOffice Calc that the keyboard stops responding except for keys like NumLock, Windows-key, alt+tab etc. But no function keys, no numeric keyboard, no arrows, no characters/numbers/spacebar works. Mouse-operations still works though. 

It happens when I open a pw protected file. Typing the correct password opens the document but keyboard is dead. If document is close to return to LibreOffice "start" screen, the keyboard is still dead. It is not possible to tab between options or use the alt-key to make selections from the menu. 
Using the mouse, it it possible to create a new Writer document but keyboard remains dead.
Actually, same thing may happen if typing an incorrect password. After first try, the keyboard is lost and I cannot retry with a new password. However this behavior is not entierly consistent; if a blank Calc was opened first. 

If LibreOffice is closed and restart, keyboard works again. It is possible to open an blank Calc document and type in text for instance. 
 

Similar items
- Bug 146481 may be a similar issue
- https://ask.libreoffice.org/t/calc-stops-responding-to-keyboard-only-mouse/61175


It might be worth noting that all reporters in above thread are using the same  Debian release. 

My version info

Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: x11
Locale: sv-SE (sv_SE.utf8); UI: en-US
Debian package version: 1:7.0.4-4+deb11u1
Calc: threaded
Comment 1 m_a_riosv 2022-05-18 21:19:58 UTC
Please test with a clean profile, Menu/Help/Restart in Safe Mode
Comment 2 MarkusBg 2022-06-01 19:57:03 UTC
Restart in Safe Mode makes no difference.

Adding another case to to the list of similar issues
Bug 146936 - Libreoffice loosing all keyboard inputs after certein tooltip conditions
Comment 3 Michi 2022-10-20 10:14:21 UTC
(In reply to MarkusBg from comment #0)
> Version: 7.0.4.2
> Build ID: 00(Build:2)
> CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: x11
> Locale: sv-SE (sv_SE.utf8); UI: en-US
> Debian package version: 1:7.0.4-4+deb11u1
> Calc: threaded

Try switching to VCL plugin gtk3 by installing the Debian package libreoffice-gtk3.
Comment 4 Martin Monperrus 2023-01-25 21:50:07 UTC
I confirm that installing libreoffice-gtk3 is a valid workaround. Thanks @Michi.
Comment 5 MarkusBg 2023-02-06 22:30:16 UTC
Yes, installing libreoffice-gtk3 appears to solve the problem!
Comment 6 Buovjaga 2023-03-24 14:35:01 UTC
I tested both with the latest master and 7.0 with the 'gen' UI and there is no such problem for me with a password protected file.

Do you see this in a newer version than 7.0, if you launch with

SAL_USE_VCLPLUGIN=gen libreoffice

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: fba19e93cca9a7cdfa1e4ac92291cd0b7f06d715
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: x11
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 24 March 2023
Comment 7 QA Administrators 2023-09-21 03:16:02 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2023-10-22 03:18:01 UTC
Dear MarkusBg,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp