Bug 168007 - A level of bulleted list turns into numbered after copy + RTF paste
Summary: A level of bulleted list turns into numbered after copy + RTF paste
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Bullet-Number-Outline-Lists HTML-Paste RTF-Paste
  Show dependency treegraph
 
Reported: 2025-08-19 02:56 UTC by Aron Budea
Modified: 2025-08-19 11:44 UTC (History)
0 users

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 Aron Budea 2025-08-19 02:56:21 UTC
In a new Writer document:
- enter a word,
- toggle bulleted list,
- select the whole line, and press Ctrl+C to copy to clipboard,
- create a new document,
- paste the text into the new document via paste special (Ctrl+Shift+V), selecting "Rich Text formatting (RTF)",
- increase indent 9 times (can press Tab 9 times at the beginning of the word as well).

=> Bulleted entry turns into numbered.

When opening Select Outline Format toolbar entry, and then Customize..., on the Customize tab one can see levels 1-9 have their Number setting set to Bullet, while level 10 is set to 1, 2, 3, ...
Checking the same in the original document shows all levels have Bullet set.

Occurs in LO 26.2.0.0.alpha0+ (b87eae151aa7a9dbeca6b8f09ffd366f367ba0bc) and latest of bibisect-43max repo / Ubuntu.
Fine in latest of bibisect-42max.

Regression started with the following commit, bibisected using repo bibisect-43max, it was ported from AOO (one can also notice the indent doesn't move when increasing/decreasing it at this point, this issue has been resolved since): 
https://git.libreoffice.org/core/commit/76c549eb01dcb7b5bf28a271ce00e386f3d388ba
https://cgit.freedesktop.org/libreoffice/core/commit/?id=76c549eb01dcb7b5bf28a271ce00e386f3d388ba
author		Steve Yin <steve_y@apache.org>	Fri Nov 29 13:03:27 2013 +0000
committer	Caolán McNamara <caolanm@redhat.com>	Mon Dec 02 10:25:33 2013 +0000

"Integrate branch of IAccessible2"

Bug 85666 also originated from this commit.
Comment 1 Aron Budea 2025-08-19 11:44:02 UTC
Another similar issue that started from the same commit, with HTML paste this time:
- copy bulleted list content from a website, eg. from Wikipedia's "In the news" section (make sure it's more than entry, since a single line won't be copied as a list),
- paste it into Writer (will be HTML paste),
- increase the indent of one of the list entries.

=> Bulleted entry turns into numbered.