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

When switching from brat to PDF brat document data will be sent to PDF editor #4727

Open
reckart opened this issue Apr 15, 2024 · 0 comments
Labels
🐛Bug Something isn't working Module: Annotation

Comments

@reckart
Copy link
Member

reckart commented Apr 15, 2024

Describe the bug
When using the automatic editor selection and switching from a document that renders in brat to a document that renders using the PDF editor, it can happen that a PushAnnotationsCommand ends up being sent to the PDF editor.

To Reproduce
Steps to reproduce the behavior:

  1. Open the JS developer console
  2. Open a document that auto-uses the brat editor
  3. Switch to a document that uses the PDF editor

Expected behavior
The PDF editor should only receive data it can understand, so if there was a PushAnnotationsCommand still scheduled, it should probably be cancelled somehow.

Screenshots
Screenshot 2024-04-15 at 15 25 14

Please complete the following information:

  • Version and build ID: 32.0-beta-1
@reckart reckart added 🐛Bug Something isn't working Module: Annotation labels Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug Something isn't working Module: Annotation
Projects
None yet
Development

No branches or pull requests

1 participant