Bug 161617 - Undoing search and replace at some point removes formatting of contents of a cell.
Summary: Undoing search and replace at some point removes formatting of contents of a ...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.4.2 release
Hardware: ARM macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-17 13:48 UTC by Daniele
Modified: 2024-07-02 03:13 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
File on which to perform the test to reproduce (40.69 KB, application/vnd.oasis.opendocument.text)
2024-06-17 13:49 UTC, Daniele
Details
Video showing the bug (formatting disappears) (2.35 MB, video/mp4)
2024-06-17 13:51 UTC, Daniele
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniele 2024-06-17 13:48:31 UTC
Description:
When doing a search and replace (of italics in my case) in a cell, if one undoes the changes, reapplies them and undoes them again, the whole formatting of the cell disappears. 

Steps to Reproduce:
1.Apply search and replace (3 times for ex.) in a cell where italics (for ex.) are present (file provided below)
2. Undo the replacements
3. Redo the replacements
4. Undo them 

Actual Results:
At this point the formatting of the cell disappears.

Expected Results:
Everything should remain the same except what is concerned by the search and replace undo and redo.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.4.2 (AARCH64) / LibreOffice Community
Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
CPU threads: 8; OS: macOS 14.5; UI render: Skia/Metal; VCL: osx
Locale: en-US (en.UTF-8); UI: en-US
Calc: threaded
Comment 1 Daniele 2024-06-17 13:49:21 UTC
Created attachment 194779 [details]
File on which to perform the test to reproduce
Comment 2 Daniele 2024-06-17 13:51:28 UTC
Created attachment 194780 [details]
Video showing the bug (formatting disappears)