Copy-pasting from editor disabled
-
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.
-