Bug 136824 - AutoCorrect > Apply does not work in bulleted or numbered lists.
Summary: AutoCorrect > Apply does not work in bulleted or numbered lists.
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoCorrect-Complete
  Show dependency treegraph
 
Reported: 2020-09-17 00:30 UTC by lomacar
Modified: 2023-10-13 01:57 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
sample of list for autocorrect (11.69 KB, application/vnd.oasis.opendocument.text)
2023-10-13 01:57 UTC, Kira Tubo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lomacar 2020-09-17 00:30:34 UTC
Description:
If you try to apply AutoCorrect manually, either to text that was pasted in or because AutoCorrect "While Typing" is turned off, it works for normal paragraphs but not lists.

Steps to Reproduce:
1. Turn off AutoCorrect > While Typing
2. Start a bulleted or numbered list
3. Type something in the list that should be auto-corrected, such as quotation marks, dashes, URLs or spaces at the end of the line.
4. Tools > AutoCorrect > Apply

Actual Results:
List text does not change.

Expected Results:
Auto-correct should be applied to text in the list.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.3 (x64)
Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: en-AU (en_CA); UI: en-US
Calc: threaded
Comment 1 Dieter 2020-09-18 14:35:49 UTC
I confirm ith with

Version: 7.0.1.2 (x64)
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: threaded

I tried it with replacement of :Apfel:
Comment 2 sdc.blanco 2021-01-25 23:38:40 UTC
Repro with 7.2.0.0.alpha0+

0. Activate "URL Recognition" in both [M] and [T] in AutoCorrect Options
1. Turn off AutoCorrect while Typing
2. Start a numbered list  ( Format > Lists > Numbered List )
3. Add entries to List, make sure they are "Default Paragraph Style"
4. Add a URL to one of the list items
5. Tools > AutoCorrect > Apply

Actual Result:  No change to URL
Expected Result:  URL configured as Hyperlink

Just to be sure:  turn on AutoCorrect while Typing.  Add URL to list entry.  Recognized as URL as expected.
Comment 3 QA Administrators 2023-01-26 03:23:54 UTC Comment hidden (obsolete)
Comment 4 sdc.blanco 2023-01-27 15:35:07 UTC
repro with:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d466df5bc220eb80b8a51ff64507de881b938ed3
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: da-DK (da_DK); UI: en-US
Calc: CL threaded

That is, URLs included in list paragraphs are not recognized by manual AutoCorrect.  All other variations seem to work as expected.
Comment 5 Kira Tubo 2023-10-13 01:57:39 UTC
Created attachment 190180 [details]
sample of list for autocorrect

Seems to be fixed in master build, so closing ticket as WORKSFORME. Attached is a sample list for testing. If there is a variation that should have been included, and the issue still occurs, feel free to reopen ticket. 

Steps: 
1. Open attachment
2. Tools > Autocorrect > Apply

Results: autocorrect occurs for quotes, dashes and URLS. 

---------------

Not reproduced in: 

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1ec2e39cf4d5fe0a592bc783fd8bcdc4345c8cbd
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Reproduced in:

Version: 7.0.3.1 (x64)
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL