Skip to content
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

getTrackedChanges causes Word to freeze (pinwheel cursor on Mac) #5216

Open
JDuligall opened this issue Dec 21, 2024 · 2 comments
Open

getTrackedChanges causes Word to freeze (pinwheel cursor on Mac) #5216

JDuligall opened this issue Dec 21, 2024 · 2 comments
Assignees
Labels
Area: Word Issue related to Word add-ins Status: in backlog Issue is being tracked in the backlog but timeline for resolution is unknown

Comments

@JDuligall
Copy link

Once context.sync() is called after getTrackedChanges are called with getItems on the body of this document, Word freezes with a pinwheel cursor on Mac.

This seems to be related to the Not Highlight track changes, as when they are removed Word does not freeze.
image

Your Environment

  • Platform: Mac
  • Host: Word
  • Office version number: 16.92
  • Operating System: 15.1 (24B83)

Expected behavior

Calling getTrackedChanges and getItems gets the track changed items from the body.

Current behavior

Word freezes with the Mac pinwheel cursor.

Steps to reproduce

  1. Open this file: getTrackedChanges_breaking.docx
  2. Run the following:
await Word.run(async (context) => {
    const body = context.document.body;
    const trackedChanges = body.getTrackedChanges();
    trackedChanges.load("items");
    await context.sync();
  });
@microsoft-github-policy-service microsoft-github-policy-service bot added the Area: Word Issue related to Word add-ins label Dec 21, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: attention 👋 Waiting on Microsoft to provide feedback label Dec 21, 2024
Copy link
Contributor

Thank you for letting us know about this issue. We will take a look shortly. Thanks.

@RuizhiSunMS
Copy link

Hi @JDuligall, thx for reaching out here. Mark it as #9642634 into our backlog. I will involve our experts to investigate. Will reply here if any update.

@RuizhiSunMS RuizhiSunMS added Status: in backlog Issue is being tracked in the backlog but timeline for resolution is unknown and removed Needs: attention 👋 Waiting on Microsoft to provide feedback labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Word Issue related to Word add-ins Status: in backlog Issue is being tracked in the backlog but timeline for resolution is unknown
Projects
None yet
Development

No branches or pull requests

2 participants