Bug 160357 - FORMATTING: Paragraph style is lost during cut and paste
Summary: FORMATTING: Paragraph style is lost during cut and paste
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paste
  Show dependency treegraph
 
Reported: 2024-03-25 17:49 UTC by Phil Mayes
Modified: 2024-03-25 20:12 UTC (History)
2 users (show)

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 Phil Mayes 2024-03-25 17:49:43 UTC
Description:
Cutting and pasting a partial paragraph in a document where all the paragraphs are styled can lose the paragraph style.

Steps to Reproduce:
1. Make a document where all paragraphs have "Body Text" style.

2. Copy a partial paragraph thus:
Leave this. Cut from here to para. end INCLUDING para end.ΒΆ

3. Go to any empty paragraph. (Its style is "Body Text").

4. Paste.


Actual Results:
The empty paragraph remains, but the new preceding paragraph with the pasted text has the style "Default Paragraph Style".


Expected Results:
Pasted text should have "Body Text" paragraph style.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
If the entire paragraph starting at "Leave this..." is copied, the paragraph style is maintained.

If Paste Special: Unformatted text is used, the paragraph style is maintained.

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 1 BogdanB 2024-03-25 18:10:16 UTC
Confirmed with
Version: 24.2.1.1 (X86_64) / LibreOffice Community
Build ID: 359ef544e625d2ffbfced462ab37bd593ca85fa7
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded