Bug 129543 - UI: strikethrough command has keyboard equivalent but what?
Summary: UI: strikethrough command has keyboard equivalent but what?
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-21 20:00 UTC by Nick Levinson
Modified: 2020-01-04 20:55 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 Nick Levinson 2019-12-21 20:00:08 UTC
Description:
Accidentally, my fingers slipped on my keyboard (I don't know how) and caused a string to get the strikethrough effect. So there's a keyboard equivalent to a dialog option that works even when the dialog is closed. If it's unsupported, please disable it so we don't litter our output with it. Otherwise, please tell us what it is.

Steps to Reproduce:
Type some text. There is another step, probably some key combination, but I don't know what it is.

Actual Results:
Accidental strikethrough.

Expected Results:
No strikethrough unless intended.


Reproducible: Didn't try


User Profile Reset: No



Additional Info:
I did not reset the UserProfile since I don't know how to check whether it makes a difference, since I don't know what keystroke to test.

I didn't find a setting for OpenGL.

From the About LibreOffice dialog:
Version: 6.3.3.2.0+
Build ID: 6.3.3.2-7.fc31
CPU threads: 2; OS: Linux 5.3; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 Julien Nabet 2019-12-21 22:11:05 UTC
I don't find any shortcut which may work to strikethrough in officecfg/registry/data/org/openoffice/Office/Accelerators.xcu (see https://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu?r=ef5133e4).
But perhaps I missed something.
Comment 2 Xisco Faulí 2019-12-26 15:43:57 UTC
I don't see any shortcut assigned to strikethrough by default.
Did you set, by any chance, the shortcut to strikethrough in the Customize dialog ?
Comment 3 Nick Levinson 2019-12-28 20:03:08 UTC
I wish I had saved the file or taken a screenshot.

Tools menu > Customize dialog > Keyboard tab > Shortcut Keys lists, for LibreOffice or Writer, Strikethrough but without a Shortcut Key. I don't customize and hadn't turned it off lately.

The list from the link in comment 1 is of accelerators, thus perhaps not of shortcuts, but maybe I don't know how to read that file. Or could it be embedded in the code for Format menu > Character dialog > Font Effects > Strikethrough or in the code for Format menu > Text submenu > Strikethrough? Perhaps it's in the submenu item's code but an error suppresses showing the shortcut. But I don't know much about how LO is written and I'm speculating.

When it happened, I was typing a few random characters from the qwerty row and the numerals row of a U.S. keyboard layouot and the strikethrough was a single line which both began and ended in midtext, meaning I had the accident twice. But I don't remember it happening any other time, although I also don't usually slip or type randomly (I write in Writer fairly often). I tested function keys (without Dell's blue Fn function modifier key) but without the effect.
Comment 4 Julien Nabet 2019-12-28 20:11:39 UTC
Without knowing how to reproduce this, I don't know what can be done here.
Can't help here=>uncc myself.
Comment 5 Dieter 2019-12-29 09:18:50 UTC
Nick, I confirm, that there is no keyboard shortcut connected with strikethrough command by default. But I think, it is hardly possible to reproduce the bug for somebody else, if you don't know, what keyboard combination produced the strikethrough. So I set status to NEEDINFO.
Comment 6 Nick Levinson 2020-01-04 19:24:09 UTC
Because it's virtually irreproducible and in my experience rare and comments say it hasn't been found in the places where it should be, I'm closing this as an unsolvable mystery. Thanks anyway.
Comment 7 Maxim Monastirsky 2020-01-04 20:26:06 UTC
Maybe it happened because of AutoCorrect? In which case you can disable it via Tools > AutoCorrect > AutoCorrect Options... > Options tab > Automatic *bold*, /italic/, -strikeout- and _underline_.
Comment 8 Nick Levinson 2020-01-04 20:55:32 UTC
Yes, that's it. Since I was typing randomly including in the numerals keyboard row, I probably typed two separate hyphens then didn't expect to see them in the output (and didn't see them) and so they got swallowed up by AutoCorrect and strikethrough appeared. I don't usually type randomly but I changed AutoCorrect settings anyway. I'll change the status again. Thank you very much.