Closed
Description
Description
The share modal for Diagram and Whiteboard files doesn't display a 'Copy link' button after generating a link for viewing and self-destruction of document.
Steps to reproduce
- Create a Whiteboard/Diagram file
- Using the share modal, select option for sharing a 'View once and self-destruct' link to file
- The link is generated correctly, however unlike in other documents, the 'Copy link' button isn't displayed after generation (although the link can be copied from its textbox manually and works as expected)
Relevant logs
Uncaught Error: code length overflow. (1604>1056)
createData https://test-suite.dev.cryptpad.net/lib/qrcode.min.js?ver=2025.3.0-1745483477740:1
makeImpl https://test-suite.dev.cryptpad.net/lib/qrcode.min.js?ver=2025.3.0-1745483477740:1
getBestMaskPattern https://test-suite.dev.cryptpad.net/lib/qrcode.min.js?ver=2025.3.0-1745483477740:1
make https://test-suite.dev.cryptpad.net/lib/qrcode.min.js?ver=2025.3.0-1745483477740:1
makeCode https://test-suite.dev.cryptpad.net/lib/qrcode.min.js?ver=2025.3.0-1745483477740:1
QRCode https://test-suite.dev.cryptpad.net/lib/qrcode.min.js?ver=2025.3.0-1745483477740:1
getQRCode https://test-suite.dev.cryptpad.net/common/inner/share.js?ver=2025.3.0-1745483477740:510
getRightsHeader https://test-suite.dev.cryptpad.net/common/inner/share.js?ver=2025.3.0-1745483477740:753
jQuery 7
onClick https://test-suite.dev.cryptpad.net/common/inner/share.js?ver=2025.3.0-1745483477740:481
makeBurnAfterReadingUrl https://test-suite.dev.cryptpad.net/common/inner/share.js?ver=2025.3.0-1745483477740:301
waitFor https://test-suite.dev.cryptpad.net/components/nthen/index.js?ver=2025.3.0-1745483477740:25
txid https://test-suite.dev.cryptpad.net/common/outer/worker-channel.js?ver=2025.3.0-1745483477740:70
create https://test-suite.dev.cryptpad.net/common/outer/worker-channel.js?ver=2025.3.0-1745483477740:209
fire https://test-suite.dev.cryptpad.net/common/common-util.js?ver=2025.3.0-1745483477740:111
fire https://test-suite.dev.cryptpad.net/common/common-util.js?ver=2025.3.0-1745483477740:111
create https://test-suite.dev.cryptpad.net/common/sframe-common.js?ver=2025.3.0-1745483477740:805
qrcode.min.js:1:5199
Expected behavior
The 'Copy link' button should appear after link generation, as is the case with other file types
Which operating system are you using?
Apple macOS
What browsers are you seeing the problem on?
Mozilla Firefox, Other
Extensions
n/a
Version
2025.3.0