nextcloud / nextcloud/richdocuments

calc - "To paste outside Nextcloud Office, please first click the 'download' button"

Open
#4,049 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
JavaScript
Stars
453
Forks
147
Avg merge
14h 54m
Merged PRs (30d)
83

Description

Describe the bug
When copy-pasting from Nextcloud Office calc, I often get an error message when pasting the content elsewhere (i.e. local text file): To paste outside Nextcloud Office, please first click the 'download' button

  1. the phrase please first click the 'download' button is very misleading in this context - there is no download button! What does this mean in this context? Confusing for the user.

  2. This behaviour is... seems intermittent: on the same internet connection it occurs for some copy-paste tasks, but not all. Given I'm typically copy-pasting text from calc cells, this seems inconsistent and unnecessary?

issue has been persistent for 1 year+

To Reproduce
Steps to reproduce the behavior:

  1. open calc doc w lots of text in cells (i.e. social media-length text, ~280 characters or more)
  2. double-click a cell into edit mode
  3. select all text (ctrl-a)
  4. copy (ctrl-c)
  5. paste into text editor locally

Expected behavior
Paste the text in clipboard (i.e. the text that was copied from the cell)

** Actual behaviour **
text pasted is: To paste outside Nextcloud Office, please first click the 'download' button

Screenshots

Client details:

  • OS: Linux desktop (NixOS 24.11)
  • Browser Chromium 128.0.6613.119
  • Device: desktop

Server details

Operating system:
Ubuntu 22.04.4 LTS

Web server:

Database:

PHP version:

Nextcloud version:
30.0.0

Version of the richdocuments app

Version of Collabora Online
24.04.5.4

Configuration of the richdocuments app

Insert the output of `./occ config:list richdocuments` (or equivalent adapted for your runtime environment)
Logs
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the copy-paste steps in a Calc document with longer cell text, using the reported Nextcloud, Chromium, and Collabora versions. Inspect the browser and Nextcloud logs, which are not provided, to determine whether the message originates in the integration or Collabora Online. Done means the copied cell text pastes locally reliably and the misleading message no longer appears.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.