Bug 135981 - Wrong formatting when typing (like track & changes involved)
Summary: Wrong formatting when typing (like track & changes involved)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Track-Changes
  Show dependency treegraph
 
Reported: 2020-08-21 09:34 UTC by Telesto
Modified: 2024-02-09 03:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of the example file with changes visible (90.44 KB, image/png)
2021-06-24 11:06 UTC, NISZ LibreOffice Team
Details
Simplified example file without change tracking (21.58 KB, application/vnd.oasis.opendocument.text)
2021-06-24 12:16 UTC, NISZ LibreOffice Team
Details
The change tracking free document before deleting from B. to A. (106.77 KB, image/png)
2021-06-24 12:17 UTC, NISZ LibreOffice Team
Details
The change tracking free document after deleting from B. to A. and typing a bit (72.70 KB, image/png)
2021-06-24 12:19 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-08-21 09:34:36 UTC
Description:
Wrong formatting when typing (like track & changes involved)

Steps to Reproduce:
1. Open attachment 164521 [details]
2. Edit -> Track changes -> Accept all changes (but only to show it's even present after Accept all; only in that sessions) File reload and issue goes away
2. Start typing (don't move the cursor first) -> Green


Actual Results:
Green font

Expected Results:
Black font


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: <buildversion>
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

not in
Version: 6.4.0.0.beta1+ (x64)
Build ID: 20be5cd0bdc57d812bf34a2debfe48caa51de881
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: GL; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 1 Kevin Suo 2020-11-07 03:42:16 UTC
Telesto:
The test document has track-changes enabled, so we you type in the document it is in track-changed mode. This is expected. Am I missing something?

Set to NEEDINFO. Please set back to UNCONFIRMED after you have provided clarification.
Comment 2 Aron Budea 2020-12-26 07:24:30 UTC
(In reply to Kevin Suo from comment #1)
> Telesto:
> The test document has track-changes enabled, so we you type in the document
> it is in track-changed mode. This is expected. Am I missing something?
Yes, the changes are tracked, but they aren't shown, that setting is turned off. Plus shown tracked edit is shown in yellow color.

What I see is that the font at that point is set to Lime color, however for me that difference persist back until 6.0, and it's black in 5.4. Telesto, are you sure the color is black as you would've expected in 6.1-6.4?
Comment 3 Aron Budea 2020-12-27 09:01:55 UTC
I skipped step 2, since as I understand that isn't necessary. The bug started with the following commit, bibisected to its 6.0 backport using repo bibisect-linux-64-6.0. Adding CC: to Michael Stahl.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=1c8efde4daea648204e3ba19f8edc01ef3e548bd
author		Michael Stahl <mstahl@redhat.com>	2018-02-14 12:57:49 +0100
committer	Michael Stahl <mstahl@redhat.com>	2018-02-15 09:56:55 +0100

tdf#83260 sw: call CompressRedlines() in ODF import
Comment 4 NISZ LibreOffice Team 2021-06-24 11:06:43 UTC
Created attachment 173157 [details]
Screenshot of the example file with changes visible

What happened here is that the text was deleted from the lower "Les algorithmes" paragraph backwards to the upped "Les Algorithmes" paragraph, which has the green color direct formatting.

This makes the bullet of the "Les Algorithmes" paragraph retain its direct formatting, so if you start typing after it, you get the green color of the bullet.
Comment 5 NISZ LibreOffice Team 2021-06-24 12:16:59 UTC
Created attachment 173163 [details]
Simplified example file without change tracking

This file shows that the behavior documented here is not specific to change tracking.

To test: highlight the text from the paragraph marked with B. to the beginning of A. (which is green) then press Delete. Start typing: the text is now green too.

In fact this behavior was ever present way back to 3.5. 
Since 6.0 the change tracking scenario follows this, before it did not follow.

We can argue whether this behavior is desirable (Word for example would let to delete the first bullet and apply all the formatting of the second), but I don't think there is a change tracking regression.
Comment 6 NISZ LibreOffice Team 2021-06-24 12:17:43 UTC
Created attachment 173164 [details]
The change tracking free document before deleting from B. to A.
Comment 7 NISZ LibreOffice Team 2021-06-24 12:19:30 UTC
Created attachment 173165 [details]
The change tracking free document after deleting from B. to A. and typing a bit
Comment 8 QA Administrators 2024-02-09 03:13:33 UTC
Dear Telesto,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug