Bug 163340 - Pasting text with lists should overwrite on paste
Summary: Pasting text with lists should overwrite on paste
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Oliver Specht (CIB)
URL:
Whiteboard: target:25.2.0 target:25.8.0
Keywords:
Depends on:
Blocks: Paste
  Show dependency treegraph
 
Reported: 2024-10-07 13:12 UTC by Oliver Specht (CIB)
Modified: 2025-01-28 17:15 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Document with paragraph with several lists (19.68 KB, application/vnd.oasis.opendocument.text)
2024-10-07 13:12 UTC, Oliver Specht (CIB)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Specht (CIB) 2024-10-07 13:12:06 UTC
Created attachment 196949 [details]
Document with paragraph with several lists

In the attached document there are paragraphs with different lists applied:
- numbered list directly applied
- bullet list directly applied
- numbered list that is set at the applied paragraph style

Copy-pasting one paragraph into a completely selected other paragraph applies the paragraph attributes of the source paragraph but does not change the list.

Pasting should also apply the list from to the source paragraph to the target.
Comment 1 m_a_riosv 2024-10-07 20:30:20 UTC
Maybe in relation with
tdf#49076
Comment 2 Commit Notification 2024-10-09 23:20:15 UTC
Oliver Specht committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/2321626477d4ff930d8bc392efa6ea84e8825171

tdf#163340 replace list on paste

It will be available in 25.2.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 3 Gabor Kelemen (allotropia) 2024-10-14 14:41:45 UTC
Should be fixed with the patch
Comment 4 Commit Notification 2024-11-19 00:16:21 UTC
Oliver Specht committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/3e9658a201f60dee95bd1bd8421b18bf8905c308

tdf#163340 pasting paragraphs with lists changed again

It will be available in 25.2.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 5 Commit Notification 2025-01-28 17:15:54 UTC
Oliver Specht committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/875bb514b9d50bae02c2999f3be071e654c0d10d

tdf#163340 fixes regression

It will be available in 25.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.