Bug 154878

Summary: I added my own autocorrection and it requires an extra button press to change it
Product: LibreOffice Reporter: Sanna <lilypheria>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INVALID    
Severity: enhancement CC: dgp-mail, libreoffice-ux-advise
Priority: medium Keywords: needsUXEval
Version: 7.4.6.2 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=140445
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103341    

Description Sanna 2023-04-18 07:34:40 UTC
Description:
I made my own autocorrection for -- to change to — (the em dash). It always requires space bar or enter to change. Would it be possible to make it change immediately after typing --? It would make writing flow a lot more better.

Actual Results:
Typing -- requires space or enter to change into — (em dash)

Expected Results:
Typing -- would INSTANTLY change into — (em dash)


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.4.6.2 (x64) / LibreOffice Community
Build ID: 5b1f5509c2decdade7fda905e3e1429a67acd63d
CPU threads: 4; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (fi_FI); UI: en-US
Calc: threaded
Comment 1 Dieter 2023-04-27 18:50:08 UTC
Let's ask design-team, but personally I don't see the need for such a feature, because as far as I know em-dash is always followed by a space.

cc: Design-Team
Comment 2 Heiko Tietze 2023-04-28 07:29:52 UTC
You can add it to the replacement table (mind the language above; it applied only in this context) but all replacement text need a finishing space (for gtk3 see bug 140445), tab, or enter. Otherwise you cannot get the arrow (--> = →), for instance.

What you want to achieve is implemented per autocorrect > options > replace dashes, see https://help.libreoffice.org/latest/en-US/text/shared/01/06040100.html.

Side note: In case of just a question you might get better and faster replies at https://ask.libreoffice.org/.