[Libreoffice-bugs] [Bug 62196] EDITING: copy-paste from non-LibO-text-source pastes previous clipboard contents (see comment 62)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Mar 18 21:07:42 UTC 2021


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

--- Comment #124 from Dave <dave.docfound at nathanson.org> ---
I see a similar pasting bug every day. I have a macro in Keyboard Maestro (Mac
OSX) that pastes the current time. (It does that by setting the OS clipboard to
 the desired text). Useful when reviewing notes that need to match up a
webinar. But if anything is copied within LO, then my KM macro can only paste
the LO cached clipboard, not paste the OS clipboard as expected. 

My understanding is that LO caches the clipboard and doesn't check the system
clipboard for fresh contents before pasting. 

This caching behavior does cause problems when the OS system clipboard has
changed but LO did not notice. So LO pastes the previously cached clipboard,
not what is currently in the OS clipboard, causing unexpected results. 

Problems from this caching behavior are especially apparent when OS clipboard
managers are used. However, it appears that LO does check the OS clipboard when
LO becomes the front application. Therefore a WORKAROUND is to switch to any
other app, then switch back to LO before pasting. Awkward, but it works. 

The solution would seem to be= Don't allow LO cache the OS clipboard, but to
always retrieve the OS clipboard before executing a paste commend.

-- 
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/20210318/eedbe83c/attachment.htm>


More information about the Libreoffice-bugs mailing list