Bug 121529 - Drag-and-drop text overwrites the internal clipboard
Summary: Drag-and-drop text overwrites the internal clipboard
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-19 19:58 UTC by jonathan
Modified: 2019-12-21 03:33 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jonathan 2018-11-19 19:58:50 UTC
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.
Comment 1 Xisco Faulí 2019-05-22 14:56:13 UTC
Hello Jonathan,
Which version of LibreOffice Online are you using? is this issue stil reproducible with the latest version ?
Comment 2 QA Administrators 2019-11-20 03:51:49 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2019-12-21 03:33:52 UTC
Dear jonathan,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp