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
User Profile Reset: No
Version: 220.127.116.11.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
Version: 18.104.22.168.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
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.
(In reply to Kevin Suo from comment #1)
> 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?
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.
author Michael Stahl <email@example.com> 2018-02-14 12:57:49 +0100
committer Michael Stahl <firstname.lastname@example.org> 2018-02-15 09:56:55 +0100
tdf#83260 sw: call CompressRedlines() in ODF import
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.
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.
Created attachment 173164 [details]
The change tracking free document before deleting from B. to A.
Created attachment 173165 [details]
The change tracking free document after deleting from B. to A. and typing a bit