Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-23347

Chrome Linux middle mouse button paste into Confluence 4.0 editor does not work

      highlight a piece of text and paste the highlighted text into a text editor or browser by clicking on the middle mouse button

            [CONFSERVER-23347] Chrome Linux middle mouse button paste into Confluence 4.0 editor does not work

            The 106857 issue is not a related issue. That is a focus issue. The "share" box is not going to accept a paste operation until it has focus. You need to click in it before that takes affect. That is the case in both Chrome AND Firefox on linux.

            That said, on both of those browsers once you give the box focus, the middle mouse pastes just fine AND formatting is preserved.

            This issue should be re-opened.

            Tom Thompson added a comment - The 106857 issue is not a related issue. That is a focus issue. The "share" box is not going to accept a paste operation until it has focus. You need to click in it before that takes affect. That is the case in both Chrome AND Firefox on linux. That said, on both of those browsers once you give the box focus, the middle mouse pastes just fine AND formatting is preserved. This issue should be re-opened.

            Another related Chrome issue: http://code.google.com/p/chromium/issues/detail?id=163604 . The htmleditor should workaround these kind of browser "features".

            Lari Hotari added a comment - Another related Chrome issue: http://code.google.com/p/chromium/issues/detail?id=163604 . The htmleditor should workaround these kind of browser "features".

            There might be workarounds to this problem.

            It seems that the paste event generated by middle-clicking doesn't bubble (in Chrome). So the editor was only noticing these clicks when they were made directly on the outer scrollable element, not when clicking any of its child nodes. If found a kludge that works around this problem by reacting to the mousedown event.

            See https://github.com/marijnh/CodeMirror/issues/519 and https://github.com/marijnh/CodeMirror/commit/c0a4213df4db4d129fe01968bb2e24d34d82a3b7

            I hope this problem gets fixed since it's very annoying to use Confluence when usual middle mouse button paste doesn't work.

            Lari Hotari added a comment - There might be workarounds to this problem. It seems that the paste event generated by middle-clicking doesn't bubble (in Chrome). So the editor was only noticing these clicks when they were made directly on the outer scrollable element, not when clicking any of its child nodes. If found a kludge that works around this problem by reacting to the mousedown event. See https://github.com/marijnh/CodeMirror/issues/519 and https://github.com/marijnh/CodeMirror/commit/c0a4213df4db4d129fe01968bb2e24d34d82a3b7 I hope this problem gets fixed since it's very annoying to use Confluence when usual middle mouse button paste doesn't work.

            This is a browser specific issue with Chrome under Linux, and is managed by the browser/window manager.

            I've found an existing bug for this issue in the chromium project:

            http://code.google.com/p/chromium/issues/detail?id=106857

            This won't be fixed by a change in Confluence, but by fixing the browser.

            Petch (Inactive) added a comment - This is a browser specific issue with Chrome under Linux, and is managed by the browser/window manager. I've found an existing bug for this issue in the chromium project: http://code.google.com/p/chromium/issues/detail?id=106857 This won't be fixed by a change in Confluence, but by fixing the browser.

            Is there any roadmap when this going to be fixed?

            Robert Hennig added a comment - Is there any roadmap when this going to be fixed?

            Also affects Chromium. This is very annoying and should be treated with a higher priority.

            Francisco Villar Romasanta added a comment - Also affects Chromium. This is very annoying and should be treated with a higher priority.

            We have a known issue..that the middle button click (paste) in linux and chrome does not work as intended...in tinymce/

            What we know (Thank you Niraj and Mathew For testing)

            In Firefox it works
            In Chrome it doesn't work
            In Tinymce test site, it doesn't work
            In competitor CKeditor it doesn't work.
            In google text box it does work.

            The commonality is it affects across multiple editors, and is running under chrome.

            Thank you.

            Vincent Choy (Inactive) added a comment - - edited We have a known issue..that the middle button click (paste) in linux and chrome does not work as intended...in tinymce/ What we know (Thank you Niraj and Mathew For testing) In Firefox it works In Chrome it doesn't work In Tinymce test site, it doesn't work In competitor CKeditor it doesn't work. In google text box it does work. The commonality is it affects across multiple editors, and is running under chrome. Thank you.

              Unassigned Unassigned
              vchoy Vincent Choy (Inactive)
              Affected customers:
              4 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: