Bug 151795

Summary: Exporting selection to PDF adds bullets to paragraphs without numbering/bullets
Product: LibreOffice Reporter: Mike Kaganski <mikekaganski>
Component: Printing and PDF exportAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, dgp-mail, stephane.guillou
Priority: medium Keywords: filter:pdf
Version: Inherited From OOo   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=161059
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103378    

Description Mike Kaganski 2022-10-27 21:03:40 UTC
1. Create a new text document
2. Press Enter twice, so you have two empty paragraphs before the current
3. Type something, e.g. simply character "B", apply bulleted list uding toolbar, and press Enter
4. Now select the first two empty paragraphs and the character "B" on the third bulleted paragraph, but not the fourth paragraph
5. File->Export As->Export as PDF
6. Make sure that "Selection" is checked, and export to a PDF file
7. Check the exported PDF

=> Not only the third line has the bullet, but also the first two lines.

Tested with Version: 7.4.2.3 (x64) / LibreOffice Community
Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf
CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL

Also reported to affect 6.1.5.2 (x64).
Comment 1 Mike Kaganski 2022-10-28 04:40:26 UTC
Also repro using OOo 3.2.0.
Comment 2 Dieter 2022-11-09 15:48:53 UTC
I confirm it with

Version: 7.4.3.1 (x64) / LibreOffice Community
Build ID: 3793858a34d8fef5b92f8fee233f97766f05e281
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL
Comment 3 Stéphane Guillou (stragu) 2024-05-13 11:34:51 UTC
Same in:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ad1f0bdeac30fca1dc56a08803ef23f2aca4db05
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

Same issue with Print > General > Range and Copies > Selection.