8000 Cannot copy 'View once and self-destruct' link for Diagram/Whiteboard · Issue #1878 · cryptpad/cryptpad · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cannot copy 'View once and self-destruct' link for Diagram/Whiteboard #1878

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

Closed
zuzanna-maria opened this issue Apr 24, 2025 · 0 comments
Closed
Labels
Diagram Related to the Diagram app Discovered in testing Whiteboard Related to the Whiteboard app

Comments

@zuzanna-maria
Copy link
Contributor

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

  1. Create a Whiteboard/Diagram file
  2. Using the share modal, select option for sharing a 'View once and self-destruct' link to file
  3. 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

@zuzanna-maria zuzanna-maria added Diagram Related to the Diagram app Whiteboard Related to the Whiteboard app Discovered in testing labels Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Diagram Related to the Diagram app Discovered in testing Whiteboard Related to the Whiteboard app
Projects
None yet
Development

No branches or pull requests

1 participant
0