Skip to content

[Bug] script react-dom.js stops responding on a pdf with many annotations #1533

@kiv57

Description

@kiv57

Is there an existing issue for this?

  • I have searched the existing issues

Are you using the latest Zotero and the latest plugin?

  • I have confirmed I'm using the latest Zotero and the latest plugin

Environment

  • OS: Win 11 25H2
  • Zotero Version: 8.0.3
  • Plugin Version: 2.5.13

Describe the bug

The message appears when :

  • I open a pdf that I extensively annotated (hundreds of annotations, mostly highlights on text and images),
  • with the left annotations panel open,
  • with Better Notes activated.

Before Zotero 7->8 upgrade, the loading took a few (dozen of) seconds, without error message.

Since upgrade the loading has increased to a few minutes, with a repeated error message :

A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.

Script: resource://zotero/react-dom.js:165

Is there any way to improve this, appart from hiding the left panel or refrain from creating annotations ?

Debug Output

Debug output :


1771331315776	addons.xpi	WARN	Force scan SCOPE_APPLICATION (app-builtin-addons location missing from XPIStates)

[JavaScript Error: "Error: Failed to load resource://services-settings/remote-settings.sys.mjs"]

While creating services from category 'profile-after-change', could not create service for entry 'RemotePermissionService', contract ID '@mozilla.org/remote-permission-service;1'

[JavaScript Error: "Error: Failed to load resource://services-settings/remote-settings.sys.mjs" {file: "resource://gre/modules/EssentialDomainsRemoteSettings.sys.mjs" line: 41}]

[JavaScript Error: "Error: Failed to load resource://services-settings/remote-settings.sys.mjs" {file: "resource://gre/modules/SimpleURIUnknownSchemesRemoteObserver.sys.mjs" line: 45}]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "Timeout for getLinkTargetByAnnotation in relationWorkerMain"]

[JavaScript Error: "TypeError: this.ownerGlobal.gBrowser.getTabForBrowser is not a function" {file: "chrome://global/content/elements/browser-custom-element.mjs" line: 932}]
getTabBrowser@chrome://global/content/elements/browser-custom-element.mjs:932:54
onPageHide@chrome://global/content/elements/browser-custom-element.mjs:958:27


appName => Zotero, version => 8.0.3 (x64), os => Windows 11 26200, locale => fr-FR, extensions => Better Notes for Zotero (3.0.2, extension), Zotero OCR (0.9.4, extension, disabled), MarkDB-Connect (0.1.8, extension, disabled), Add-on Market for Zotero (8.0.6, extension, disabled), Actions and Tags for Zotero (2.4.0, extension, disabled), Translate for Zotero (2.4.2, extension, disabled), Better BibTex for Zotero (8.0.14, extension, disabled)

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions