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 I believe it's an issue with Collabora, but perhaps only within Nextcloud. But since I can replicate it when impersonating an affected user from my computer, it is unlikely to be specific to one user's configuration only.
-
I am still puzzled as to what you are trying to copy and paste. That patch is some php server side thing, which surely can't affect your clipboard on the desktop. So I believe we still talk about different things.
@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.
-
@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?
-
@ekevu123 said in Copy-pasting from editor disabled:
The pasted output is a message indicating that copy-pasting is disabled instead of the text.
That must be a Nextcloud office feature or security mechanism.
-
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 I found this possible solution: https://github.com/nextcloud/richdocuments/issues/2496#issuecomment-1274881244
But maybe you know where this patch needs to be added?
@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
-
@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.
-
N nebulon has marked this topic as solved on