Skip to content

Undo broken in collaborative editing session #4601

Closed

Description

@mejo-

Describe the bug

In collaborative editing sessions with more than one client, undo doesn't work anymore. Undoing your own changes only works as long as no remote changes got applied to your document state.

In cases where undo doesn't work, instead the cursor jumps to the end of the document.

To Reproduce
Steps to reproduce the behavior:

  1. Open a document with two sessions (can be same user)
  2. Do a change in one session, use undo function, see it doing its thing
  3. Do a change in one session, do a second change in second session, try undo in first session
  4. Undo doesn't work as expected

Activity

  1. moved this to 🧭 Planning evaluation (don't pick) in 📝 Productivity teamon Jul 28, 2023
  2. moved this from 🧭 Planning evaluation (don't pick) to 📄 To do (~10 entries) in 📝 Productivity teamon Jul 28, 2023
  3. mejo- commented on Aug 2, 2023

    @mejo-
    MemberAuthor

    This commit broke undo: 2da1f89

    Probably we have to make sure to always either load extension-collaboration or extension-history.

  4. added a commit that references this issue on Aug 2, 2023
    b9eab5b
  5. moved this from 📄 To do (~10 entries) to ☑️ Done in 📝 Productivity teamon Aug 2, 2023
  6. added 2 commits that reference this issue on Aug 2, 2023
    a446127
    2fbfd30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions