Bug 158459 - Crash copying a range with tracked changes to clipboard
Summary: Crash copying a range with tracked changes to clipboard
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.0.2 rc
Hardware: All All
: medium normal
Assignee: Mike Kaganski
URL:
Whiteboard: target:24.2.0 target:7.6.5
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Track-Changes Cut-Copy
  Show dependency treegraph
 
Reported: 2023-11-30 11:57 UTC by Mike Kaganski
Modified: 2023-12-01 10:07 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Tracked changes including joining two paragraphs (1.65 KB, application/vnd.oasis.opendocument.text)
2023-11-30 11:57 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2023-11-30 11:57:11 UTC
Created attachment 191140 [details]
Tracked changes including joining two paragraphs

Since commit 8e05bdd26f21fc304978ff3b454cf355841ec75f,

selection the text in the attached file, starting from character "a" till "d" (i.e., everything starting from the beginning of the second paragraph), and copying to clipboard (Ctrl+C) crashes Writer.
Comment 1 Mike Kaganski 2023-11-30 15:09:32 UTC
https://gerrit.libreoffice.org/c/core/+/160158
Comment 2 Commit Notification 2023-11-30 16:36:02 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/9c22a72a2fc92146d24c6b673d9c07b1e6ff83f2

tdf#158459: call DeleteAndJoin in strict reverse order

It will be available in 24.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 Commit Notification 2023-12-01 10:07:32 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/af64ee2f4a7120ccb8f22eab5dfcd626266fde4e

tdf#158459: call DeleteAndJoin in strict reverse order

It will be available in 7.6.5.

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.