Bug 160993 - Deleted text in the 'record changes' mode changes color to that of inserted text when the text is in parentheses.
Summary: Deleted text in the 'record changes' mode changes color to that of inserted t...
Status: RESOLVED DUPLICATE of bug 149388
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-08 16:38 UTC by spinth
Modified: 2024-05-24 02:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshots showing color change when the last character is deleted (28.91 KB, application/pdf)
2024-05-08 16:41 UTC, spinth
Details
sample ODT (13.30 KB, application/vnd.oasis.opendocument.text)
2024-05-24 01:33 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description spinth 2024-05-08 16:38:01 UTC
Description:
When deleting parenthesized text in 'Track Changes>Record' mode, the color of the text changes abruptly when the last character inside the parentheses is deleted. The color changes from that for deletion to that for insertion 

Steps to Reproduce:
1. Once the document is opened, go to edit>track changes>record
2. From the Tools menu select options and select custom colors for insertion and deletion
3. To replace parenthesized text, insert new text and delete old one.

Actual Results:
When deleting the parenthesized text a character at a time, the deleted text color changes to that for insertion when the last character (close to the parenthesis) is reached. 

Expected Results:
The deleted text should remain the same color (for deletion) no matter it is parenthesized or not.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.3.7.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-IN (en_IN.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.7-0ubuntu0.22.04.4
Calc: threaded
Comment 1 spinth 2024-05-08 16:41:31 UTC
Created attachment 194029 [details]
Screenshots showing color change when the last character is deleted

Not sure if this bug was already reported and fixed. Apologies if it already was.
Comment 2 Stéphane Guillou (stragu) 2024-05-24 01:32:58 UTC
I can reproduce in:

Version: 7.3.7.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.7-0ubuntu0.22.04.4
Calc: threaded

Deletion becomes green, single underlines/strikethough become double, shade of green gets darker.

However, not reproduced anymore in:

Version: 7.6.7.2 (X86_64) / LibreOffice Community
Build ID: dd47e4b30cb7dab30588d6c79c651f218165e3c5
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

As 7.3 won't see further fixes, can you please install a version that is currently maintained (24.2 preferably), and confirm that it is resolved? https://www.libreoffice.org/download/download-libreoffice/

Likely related to bug 151824.
Comment 3 Stéphane Guillou (stragu) 2024-05-24 01:33:22 UTC
Created attachment 194318 [details]
sample ODT
Comment 4 Stéphane Guillou (stragu) 2024-05-24 02:13:54 UTC
Dark green with double-strikethrough is supposed to be moved text, which was implemented for LO 7.3. See bug 145233.

In the example you gave, and in my attachment, deleting some text in one part and inserting it elsewhere is recognised as the same thing as moving it.

This issue was resolved by cca71aa4c5b79302a4f30c5ab5582da2b9d378e8 for bug 149388.

*** This bug has been marked as a duplicate of bug 149388 ***