Copy-pasting from editor disabled
-
Since a few days ago, copy-pasting from Collabora doesn't work for anyone but me as the admin/owner of the folder. When someone from the logged in users attempts it, the output simply says that copy-pasting is disabled instead of the copied output.
It works with sharing the file via an external link and then accessing it, making it most likely a problem with user rights. However, I cannot figure it out.Does anyone know more?
-
-
Reading this again, just to be on the same page, are you talking about copy/paste of text in the documents within collabora or the document itself in nextcloud? For the first within the document, I can't see how this is not a client-side/browser issue tbh.
-
@nebulon I am talking about any office documents using Collabora, specifically from Collabora to any other application.
I am quite sure that it's not a client-side or browser issue because it happens to 10 user accounts and I can reproduce the issue when I impersonate anyone else, whereas it works for me being the admin (or file owner, not sure yet what the reason is).
The document itself can be copied within Nextcloud without any problems, so this issue is related to Collabora.
-
Just tried our instance here, but I can at least select and use either ctrl+c or rightclick copy in collabora, then paste it into other applications outside the browser. But I am still not sure if this is the kind of copy/pasting you are referring to, as I can't see how this would be a server-side or even nextcloud connection related issue.
-
-
@nebulon Here is a step-by-step breakdown:
- Open any office document in Nextcloud Office, the file format doesn't matter
- Mark any text and copy it, either using right-click or Ctrl+C
- Go to another Office program outside of Nextcloud
- Insert it using either right click and paste or Ctrl+V
Expected behaviour:
The marked and copied text appears in the other office program.Actual behaviour:
The pasted output is a message indicating that copy-pasting is disabled instead of the text.Copying from the document disabled
This affects apparently everyone except the admin or file owner (not sure which one is right). It can be reproduced by several users in different browsers and also by me if I use the Impersonate app of Nextcloud to impersonate another user.
I am quite certain that the solution shouldn't affect the user's clipboard, but probably this is a user rights issue somehow.
-
Thanks for the details reproduction steps, but I can't quite see this on my instances. Have you also tried to ask upstream if they maybe have some explanation on how this works or if there is some conscious restriction on the clipboard based on user permissions?
-
@nebulon said in Copy-pasting from editor disabled:
Thanks for the details reproduction steps, but I can't quite see this on my instances. Have you also tried to ask upstream if they maybe have some explanation on how this works or if there is some conscious restriction on the clipboard based on user permissions?
Yes, I got the above-mentioned code as a response, but I don't know exactly what to do with it.
-
Are you using encryption of some kind? Wondering if it could be that
-
@ekevu123 said in Copy-pasting from editor disabled:
But maybe you know where this patch needs to be added?
looks to me like it's already been merged into the code so you wont need to add it, just update
-
@jdaviescoates Yes, the latest app update has resolved the issue!
Thank you for your help with this, though.
-