Hello,
I have found a bug in the Track Changes Mode. It also occurs in the latest version (in the demo). To reproduce the bug:
- Enable Track Changes mode.
- Insert some text, e.g., "Lorem Ipsum is simply dummy text of the printing and typesetting industry."
- Wait for a short period (to allow the insertion to occur at different times), approximately 10-15 seconds.
- After inserting a word entire the existing text (like on the screenshot), type a character or word, then immediately try to delete the last character using the backspace key. At this point, the error occurs: backspace does not remove the last character, only on the second attempt.
The error occurs in Telerik WPF 2022.1.222, but in the new version, it still appears, though without throwing exceptions (I checked in the lastest demo, and the last character doesn't delete on the first attempt).
Can you reproduce this issue, or is it a known problem?
Is there a solution available?
I didn't find any solution, so I modified the source code of the Documents_WPF project to prevent the registration of new insertions. This may be helpful for someone. I couldn’t find a better way. Please edit the RevisionInfo.cs file as follows:
public override bool Equals(object obj) { RevisionInfo other = obj as RevisionInfo; if (other == null) { return false; } if(AdditionalSettings.IsTrackChangeComplexModeEnabled) return this.Date == other.Date && this.Author == other.Author; else return true; }
Note: This will prevent new revisions from being registered for the entire existing, which should prevent the issue.
Hello, Martin. Thank you for your reply.
In the "step 3" I`ve wrote "10-15 seconds", but it is in the debug mode. In the release (WPF Demos application) wait for the next minute.
Video was attached.
Thank you.