[Libreoffice-bugs] [Bug 121529] New: Drag-and-drop text overwrites the internal clipboard

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Nov 19 19:58:50 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=121529

            Bug ID: 121529
           Summary: Drag-and-drop text overwrites the internal clipboard
           Product: LibreOffice Online
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: jonathan at ec2software.com

When using libreoffice online and drag-and-dropping some text onto the
document. It uses the paste websocket command to send data. This overwrites the
internal clipboard causing some unusual behavior.

1. Ctrl+C "System" into system clipboard.
2. Ctrl+V, pastes "System"
3. Right-click and click "Internal paste" it pastes "System"
4. Drag-and-drop "drop" onto page.
5. Right-click and click "Internal paste" it pastes "drop"
6. Ctrl+V, pastes "drop"
7. Paste into another application, pastes "System"

Step 6 occurs because the client-side is keeping a "hash" of the System
clipboard and sending a command to insert the internal clipboard instead of
re-sending the data if the hashes match. I imagine this is done to save
bandwidth, but it also decreases reliability of the system clipboard pretty
badly, especially since there is functionality to explicitly modify the
internal clipboard with the internal copy.

Drag-and-drop should not modify the internal clipboard either.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181119/1016948f/attachment-0001.html>


More information about the Libreoffice-bugs mailing list