-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Umbrella] Undo/redo issues #2723
Comments
FIXED
|
Yes... This was another gain that we got by removing deltas from Later, we can think about some tricks to maybe somehow skip some transformations or something but this has to be:
|
FIXED
EDIT: This TC is really fragile. You need to be very precise regarding actions. |
As for performance issues. I did a quick check. Here's a general overview of a single undo step: 20 Now, it's very interesting to see what are the widest leafs of this flame chart: Yep, So, it's very likely that one of the most important issues https://github.com/ckeditor/ckeditor5-engine/issues/897. Edit: I did a small check and removed cloning from |
FIXED
The above error was reproduced on branch with a fix for https://github.com/ckeditor/ckeditor5-engine/issues/1001. On the current master first undo works, but the second gives:
|
The above might be one of "cannot fix with how converters work now" bug. There are actually 6 tests in integration of undo with lists that are intentionally skipped because they are failing. These are the cases that cannot be (at least easily) solved with current state of how conversion works. We skipped them to deliver Nested Lists feature faster. If we change conversion to happen on |
FIXEDSteps to reproduce
Current result
GIFError
Other informationOS: Windows 10, MacOS X |
FIXED
|
Selection restoring doesn't work correctly, we know about it and will change it, hopefully soon. |
After I fixed this issue: https://github.com/ckeditor/ckeditor5-undo/issues/65#issuecomment-321190168 I noticed that undo+redo creates different content than it was at the beginning. It's worth to check why it happens. It fails even for fairly non-complicated copy paste. It has to be checked whether there is a bug in: copy/paste, OT or converters and whether this happens only for content with lists or also in other cases. EDIT: Looks like it happens for copy paste whenever pasting is not into an empty element. |
FIXEDSteps to reproduce
Current resultThere is the error in the console. Error
GIF |
FIXED | Type: Redo, selection restoringSteps to reproduce
Current resultBlock quote was applied to the paragraph instead of moving paragraph to the end of the block quote. GIF |
Fix: Undo did no changes instead of merging elements, in a scenario when an element was split and then the "new" element was removed. See https://github.com/ckeditor/ckeditor5-undo/issues/65#issuecomment-323682195.
FIXED | Type: Undo, incorrect data, crashSee https://github.com/ckeditor/ckeditor5-engine/issues/1152 |
Type: Redo, selection restoringSteps to reproduce
GIF |
POSSIBLY FIXEDType: Redo, crashSteps to reproduce
Error
GIFEdit by LukaszGudel: I can not recreate this issue using those steps. It's possible that it is fixed but it would be better if someone confirms this. |
FIXEDType: Undo, incorrect dataSteps to reproduce
Current resultDivided word is missing bottom part. GIFEdit by LukaszGudel: Undoing is correctly restoring both lines. Fixed. |
FIXEDType: undo, incorrect dataSteps to reproduce
Current resultWord has been restored, but characters have incorrect position - the result is GIFEdit by LukaszGudel: word is correctly restored with correct position of characters. |
FixedType: Undo, incorrect dataSteps to reproduce
Current resultDeleted character from the first paragraph has been restored inside the GIFEdit by LukaszGudel: Words are correctly restored. Fixed. |
POSSIBLY FIXEDType: Undo, crashSteps to reproduce
Current resultEditor crashes. GIFEdit by LukaszGudel: I can not recreate this issue using those steps. It's possible that it is fixed but it would be better if someone confirms this. |
POSSIBLY FIXEDType: Undo, crashSteps to reproduce
Current resultEditor crashes GIFError
Edit by LukaszGudel: I can not recreate this issue using those steps. It's possible that it is fixed but it would be better if someone confirms this. |
FixedType: Undo, incorrect dataSteps to reproduce
Current resultFirst character of the word has been moved to the new line. GIFEdit by LukaszGudel: Text in heading is correctly restored. Fixed. |
POSSIBLY FIXEDType: Undo, crashSteps to reproduce
Current resultEditor crashes. GIFError
Edit by LukaszGudel: I can not recreate this issue using those steps. It's possible that it is fixed but it would be better if someone confirms this. |
FIXEDType: Undo, incorrect dataSteps to reproduce
Current resultThe word from the second paragraph has been moved to the third paragraph. GIFEdit by LukaszGudel: paragraphs are correctly restored. |
FIXEDType: Undo, selection restoring, incorrect dataSteps to reproduce
Current resultCharacters deleted in step 3 appeared in the first paragraph. GIFEdit by LukaszGudel: Paragraphs are correctly restored. Fixed |
I have a feeling that many new errors connected with Undo are regressions after a change in |
Could you report this in the engine and check it there? |
FIXEDType: Redo, selection restoringSteps to reproduce
Current resultBlock quotes have been restored in reversed order. GIFEdit by LukaszGudel: Blocks are restored in correct order. |
FixedType: Undo, incorrect dataSteps to reproduce
Current resultWord has been restored incorrectly. GIFEdit by LukaszGudel: Characters in heading are correctly restored. |
FixedType: Undo, incorrect dataSteps to reproduce
Current resultWhole GIFEdit by Lukasz Gudel: Content looks the same as before applying block quote. There is no content lost. Fixed. |
POSSIBLY FIXEDType: Undo, crashSteps to reproduce
Current resultEditor crashes Error
NotesHere is the first bad commit - ckeditor/ckeditor5-image@7a1ab67 GIFEdit by LukaszGudel: I can not recreate this issue using those steps. It's possible that it is fixed but it would be better if someone confirms this. |
FIXEDType: Undo, incorrect dataSteps to reproduce
Current resultThe content is different than at the beginning Expected resultAfter undo the content is same as before deleting the text Edit by LukaszGudel: Content is the same as before deleting the text. Fixed. |
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may be relevant, so if you're interested in the solution, leave a comment or reaction under this issue. |
We've closed your issue due to inactivity over the last year. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it). |
Since we know that there a lot of issues with undo found after the recent refactoring let's report them in one place.
The text was updated successfully, but these errors were encountered: