Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Nextcloud
  3. Copy-pasting from editor disabled

Copy-pasting from editor disabled

Scheduled Pinned Locked Moved Solved Nextcloud
nextcloudcollabora
20 Posts 4 Posters 3.5k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E ekevu123

    @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.

    E Offline
    E Offline
    ekevu123
    wrote on last edited by
    #11

    @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?

    jdaviescoatesJ 1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #12

      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.

      E 1 Reply Last reply
      0
      • nebulonN nebulon

        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.

        E Offline
        E Offline
        ekevu123
        wrote on last edited by ekevu123
        #13

        @nebulon Here is a step-by-step breakdown:

        1. Open any office document in Nextcloud Office, the file format doesn't matter
        2. Mark any text and copy it, either using right-click or Ctrl+C
        3. Go to another Office program outside of Nextcloud
        4. 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.

        robiR 1 Reply Last reply
        0
        • E ekevu123

          @nebulon Here is a step-by-step breakdown:

          1. Open any office document in Nextcloud Office, the file format doesn't matter
          2. Mark any text and copy it, either using right-click or Ctrl+C
          3. Go to another Office program outside of Nextcloud
          4. 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.

          robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #14

          @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.

          Conscious tech

          E 1 Reply Last reply
          1
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #15

            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?

            E 1 Reply Last reply
            0
            • robiR robi

              @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.

              E Offline
              E Offline
              ekevu123
              wrote on last edited by
              #16

              @robi said in Copy-pasting from editor disabled:

              That must be a Nextcloud office feature or security mechanism.

              I know! But I am not getting behind how to fix this.

              1 Reply Last reply
              0
              • nebulonN nebulon

                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?

                E Offline
                E Offline
                ekevu123
                wrote on last edited by
                #17

                @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.

                1 Reply Last reply
                0
                • jdaviescoatesJ Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote on last edited by
                  #18

                  Are you using encryption of some kind? Wondering if it could be that

                  I use Cloudron with Gandi & Hetzner

                  1 Reply Last reply
                  0
                  • E ekevu123

                    @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?

                    jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #19

                    @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

                    I use Cloudron with Gandi & Hetzner

                    E 1 Reply Last reply
                    1
                    • jdaviescoatesJ jdaviescoates

                      @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

                      E Offline
                      E Offline
                      ekevu123
                      wrote on last edited by
                      #20

                      @jdaviescoates Yes, the latest app update has resolved the issue!

                      Thank you for your help with this, though.

                      1 Reply Last reply
                      1
                      • nebulonN nebulon has marked this topic as solved on
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search