https://bugs.documentfoundation.org/show_bug.cgi?id=151869

--- Comment #6 from Jim Raykowski <[email protected]> ---
Hi All,

This is a difficult one to bisect due to a bug during a period in 7.2 when
outline folding is on that causes a crash when delete is pressed. I turning off
outline folding to bisect, Menu > Tools > Options... > LibreOffice Writer >
View > uncheck 'Show outline-folding buttons'. I never got a hang on delete in
7.2 but did run into an X being placed across image94 on the third bisect and
later in the bisect process no X but also no delete. 

My bisect effort came up with this in 7.2:

commit d6322bcedc197a654abc7d64bfea8cf570f123bf
Author: László Németh <[email protected]>
Date:   Mon Apr 26 09:33:45 2021 +0200

    tdf#59463 track changes: record deletion of images   

and in 7.3

commit b50d386dfa70f7c1d4eb1a49091ec9dd782b767b
Author: László Németh <[email protected]>
Date:   Sun Jul 11 13:04:54 2021 +0200

    tdf#142701 track changes: fix layout regression of image deletion


I stepped through the code and saw that the hang occurs here: 

SwWrtShell::DelRight 

Insert( OUStringChar(CH_TXT_TRACKED_DUMMY_CHAR) +                           
OUStringChar(CH_TXT_TRACKED_DUMMY_CHAR) );

https://opengrok.libreoffice.org/xref/core/sw/source/uibase/wrtsh/delete.cxx?r=70973680#475
 

I always get expected results, image deleted, no hang, when Track Changes is
turned off, Menu > Edit > Track Changes > Record unticked.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to