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@lists.freedesktop.org
Reporter: jonat...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs