Bug 161248 - "Document Bullets" list duplicates items when applying a pre-existing bullet type
Summary: "Document Bullets" list duplicates items when applying a pre-existing bullet ...
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha1+
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Samuel Mehrbrodt (allotropia)
URL:
Whiteboard: target:24.8.0
Keywords: implementationError
Depends on:
Blocks: Bullet-Number-Outline-Lists
  Show dependency treegraph
 
Reported: 2024-05-24 05:27 UTC by Stéphane Guillou (stragu)
Modified: 2024-06-07 12:34 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
screenshot of issue (41.27 KB, image/png)
2024-05-24 05:27 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Guillou (stragu) 2024-05-24 05:27:10 UTC
Created attachment 194322 [details]
screenshot of issue

In the new Document Bullets feature for bug 161056, applying such a saved bullet type results in the widget filling up with the same preview.

Steps:
1. Open Writer
2. Type some text, make it a unordered list
3. Right click > List > Bullets and Numbering > Customize tab: select a new Character > OK > OK
4. Insert a new, non-list paragraph underneath, with some text
5. Open the Unordered List dropdown from the toolbar, apply the only "Document bullet" listed
6. Open the widget again

Result: The preview is duplicated to fill up the whole Document Bullets section.

Tested with own trunk build from today:

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 322b158c5c517cb0242e95240928949ab41d95a0
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3

Same with gen VCL plugin.

Samuel, can you please have a look?
Comment 1 Commit Notification 2024-06-03 12:33:25 UTC
Samuel Mehrbrodt committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/00c92662a688e04c0dcec0db6c253689d662faeb

tdf#161248 Don't duplicate bullets used in document

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 2 Stéphane Guillou (stragu) 2024-06-07 12:34:42 UTC
Thanks Samuel, verified in own build:

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 6d39b1a6068bbbd5ca4947f668f989dbfb73342d
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded