Summary: | Indentation when creating a list fails on c) and d) | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Real Ice Cube <theicecube> |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | normal | CC: | buzea.bogdan |
Priority: | medium | ||
Version: | Inherited From OOo | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 103369 | ||
Attachments: | icons for working with lists - unreliable |
Description
Real Ice Cube
2022-09-02 02:40:01 UTC
Repro using Version: 7.4.1.1 (x64) / LibreOffice Community Build ID: 0a046a10cbf1679eea5538bd3ab63156caa3a036 CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: en-US (ru_RU); UI: en-US Calc: CL Jumbo. If you enable "Bulleted and numbered lists" under AutoCorrect Options (Options tab), it would change a bit: for a and b, it would work the same, but for c, it turns the line into a *numbered list*, using *roman numerals* (so after pressing Enter, the next line is automatically numbered "ci"). Disabling "Delete spaces and tabs at end and start of line" has no effect on this. But disabling autocorrect while typing as a whole fixes this. Using OOo 3.2.0, the picture is the same. It looks that the problem is somehow related to the automatic recognition of Roman numerals. It works erratically, though: it should not affect the text when the "Bulleted and numbered lists" is disabled (the default now). By the way, the same problem happens when you type "<tab>1. blah", which confirms the list detection theory. (In reply to Mike Kaganski from comment #1) > Disabling "Delete spaces and tabs at end and start of line" has no effect on > this. But disabling "Delete spaces and tabs at beginning and end of paragraph" avoids the problem. So it looks like the "Delete spaces and tabs at beginning and end of paragraph" only works in conjunction with other matching rules (even disabled, like numbering) - so looks like a bug in "Delete spaces and tabs at beginning and end of paragraph". It likely should work regardless of the other matching rules. A possible code pointer: SwAutoFormat::DeleteLeadingTrailingBlanks in sw/source/core/edit/autofmt.cxx. It seems relevant to add here that there inconsistencies between text and associated functionality between Menu Items (like Format > Spacing > "Increase indent") and Tools > Customize > Keyboard commands (like "Indent") Specifically related to this existing report, I tried to set "CTRL + >" and "CTRL + <" to Increase and Decrease list indent, respectively. 1 - you can't find that Keyboard command searching for "indent", yet there are 3 distinct "Increase" options - confusing 2 - the "Increase indent" functionality, through this function .uno:IncreaseIndent does something quite different and unreliable in the doc, compared with the menu option to "Increase indent" noted above It would be nice to have really consistent and reliable nested-list functionality, to easily achieve nested (un-)ordered lists, whether from the menu or keyboard shortcuts. Lists like 1. one 2. two • two-detail • two-detail a. two-detail-a i. two-detail-a-i Right now in this version, such nested lists are really difficult to achieve Created attachment 188658 [details]
icons for working with lists - unreliable
Perhaps I'm off a bit with prior comment about increase/decrease indent, and I should use Promote and Demote outline level for this purpose - menus and keyboard commands. Nonetheless, I find the promote/demote outline level equally unreliable and inconsistent. I think an overhaul for paragraph indentation, outline level promotion/demotion, with or without subpoints would greatly improve this basic functionality. |