Bug 152359 - FORMATING: program responds as if shortcuts were pressed twice on KDE Plasma
Summary: FORMATING: program responds as if shortcuts were pressed twice on KDE Plasma
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shortcuts-Accelerators
  Show dependency treegraph
 
Reported: 2022-12-02 15:40 UTC by Flaviano Matos
Modified: 2023-11-24 22:40 UTC (History)
1 user (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 Flaviano Matos 2022-12-02 15:40:07 UTC
Sometimes, when a use a shortcut on Writer, the program responds a if I had pressed the shortcut twice. Example: using Ctrl-B to make text bold doesn't have any effect, because if first makes the text bold, and then, makes the text not bold.
I've had the same problem with other versions of LibreOffice, other computer and other distributions. Closing the program and opening it again has no effect.

Data on the version I am using:
Version: 7.3.6.2 / LibreOffice Community
Build ID: c28ca90fd6e1a19e189fc16c05f8f8924961e12e
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: pt-BR
Calc: threaded
Comment 1 Dieter 2022-12-05 07:29:01 UTC
Thank you for reporting the bug.

I can't confirm it with

Version: 7.4.3.2 (x64) / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Of course, if it happens only "sometimes" it is very difficult to reproduce it. Could you please test, if problem ist still present in actual version LO 7.4
=> NEEDINFO
Comment 2 Flaviano Matos 2022-12-09 15:15:14 UTC
After a long time using the program, LibreOffice Writer 7.4 behaves in the same way, repeating commands from shortcuts.

Version I am using:

Version: 7.4.3.2 / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: pt-BR
Calc: threaded
Comment 3 Flaviano Matos 2022-12-09 15:38:21 UTC
One more thing: disabling extensions by restarting in safe mode doesn't change anything.
Comment 4 Flaviano Matos 2023-07-03 14:49:28 UTC
Is there a way to activate some kind of highly verbose mode showing every action that happens in the system so that I can make a better report?
Comment 5 Dieter 2023-07-25 14:11:20 UTC
(In reply to Flaviano Matos from comment #0)
> Sometimes, when a use a shortcut on Writer, the program responds a if I had
> pressed the shortcut twice. Example: using Ctrl-B to make text bold doesn't
> have any effect, because if first makes the text bold, and then, makes the
> text not bold.

I can't confirm it with

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 42f0422d19c4d0a2fb09654fb6d1d92e50f6dd5c
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

Regarding to your example with using Ctrl-B it looks, that shortkey doesn't work at all.

You can control shortcut in Tools -> Customize -> Keyboard
Perhaps you can also try in Safe Mode (Help -> Restart in SafeMode)
Comment 6 Flaviano Matos 2023-11-24 22:40:42 UTC
I found the culprit. This is a problem that happens if LibreOffice is running on KDE Plasma and there are some Gnome service running, as per https://bbs.archlinux.org/viewtopic.php?id=260689

I ran the following command line and the problem was solved:
systemctl --user mask at-spi-dbus-bus.service --now #unmask to revert