Bug 145049 - copy / paste of numbered style numbers everything
Summary: copy / paste of numbered style numbers everything
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.1.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Bullet-Number-Outline-Lists
  Show dependency treegraph
 
Reported: 2021-10-10 22:55 UTC by goodguy00@zoho.com
Modified: 2022-12-27 22:33 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
test document (8.95 KB, application/vnd.oasis.opendocument.text)
2021-10-21 21:52 UTC, goodguy00@zoho.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description goodguy00@zoho.com 2021-10-10 22:55:34 UTC
Description:
having a para style with a list style (like a heading) propagates the level setting to all pasted paragraphs.

Steps to Reproduce:
1. new document. write some lines of text in default style
2. create a new heading style (eg. H1) from default heading
3. on outline&list tab in H1 give it a list style (eg "numbering 123" which is there by default)
4. apply H1 style to first line of text
5. ctrl-a, ctrl-x, ctrl-v (cut all text, paste)

Actual Results:
all lines of text are numbered (on level 1)

Expected Results:
only the H1 line should be numbered, none other


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.2.2.2 / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 4; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-CH (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Nii 2021-10-21 15:45:36 UTC
Thank you for reporting the bug. I can not reproduce the bug in

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ec76fff198323122bedc63ffdfd896c2543102c6
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: fi-FI
Calc: CL

or

Version: 7.2.2.2 (x64) / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: fi-FI
Calc: CL
Comment 2 goodguy00@zoho.com 2021-10-21 21:52:52 UTC
Created attachment 175868 [details]
test document

this is an new, empty document, where i added 4 lines. header has a standard list behind it.
1. crtl-a, ctrl-x
2. ctrl-v
-> i see all lines being numbered after the paste.
Comment 3 Nii 2021-10-26 05:43:41 UTC
Interesting, I tested it again with the test document and now I can reproduce it. I don't know what I did differently this time but yes, I can confirm that the bug is present in both

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ec76fff198323122bedc63ffdfd896c2543102c6
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: fi-FI
Calc: CL

and

Version: 7.2.2.2 (x64) / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: fi-FI
Calc: CL

Changed the status to NEW.
Comment 4 BogdanB 2022-12-27 22:33:56 UTC
Also in
Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: a09c5c69e3b5fbf448cae1d6c476f39067e40023
CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded