You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If during this time you change the focus and go to the word processor to paste the image NMRium will still say it is copied but there is a catch error in the console
And the image is not in the clipboard.
If there is an error please do not show the green feedback that it is copied but report a pink feedback with the error message.
I don't think we need to check if window.clipboard exists because currently I think it is always available and if not you may as well report the error in the pink feedback to the user.
Another similar error can also appear when OffscreenCanvas is not available.
ReferenceError: Can't find variable: OffscreenCanvas
at pz (./node_modules/nmrium/src/component/utility/export.ts:220:37)
Please also report the error to the user and do not Report this error.
The text was updated successfully, but these errors were encountered:
When copying large spectra like 2D to the clipboard it may take 1 or 2s
https://dev.nmrium.org/#/SamplesDashboard/dczjpmbs4a5/Viewcytisine2ddatacytisine2dalljson
If during this time you change the focus and go to the word processor to paste the image NMRium will still say it is copied but there is a catch error in the console
And the image is not in the clipboard.
If there is an error please do not show the green feedback that it is copied but report a pink feedback with the error message.
I don't think we need to check if window.clipboard exists because currently I think it is always available and if not you may as well report the error in the pink feedback to the user.
Another similar error can also appear when OffscreenCanvas is not available.
ReferenceError: Can't find variable: OffscreenCanvas
at pz (./node_modules/nmrium/src/component/utility/export.ts:220:37)
Please also report the error to the user and do not Report this error.
The text was updated successfully, but these errors were encountered: