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

--- Comment #8 from Patrick Luby <[email protected]> ---
(In reply to steve from comment #7)
> In order to trigger this bug some content from LibreOffice has to be copy
> pasted.
> 
> Once that has happened all content from any clipboard manager will never be
> posted and always be replaced with the paste from LibreOffice.
> 
> Prior to pasting something inside of LibreOffice the clipboard manager works
> as expected and various clipboard contents from the past can be pasted
> successfully.

My first guess is that LibreOffice is not handling any macOS
"pasteboardChangedOwner:" callbacks.

A quick grok of the vcl/osx code only contains no implementation of that
selector. So, after a clipboard manager has fetched all of the data from the
macOS system clipboard, it becomes the owner of the system clipboard but
LibreOffice does not know that because it isn't listening for the "lost
ownership" message.

Since LibreOffice still wrongly thinks it is the system clipboard owner,  when
pasting within LibreOffice, LibreOffice bypasses the system clipboard and uses
its own internal, private clipboard.

I eliminated this "lost ownership" handling several year ago in NeoOffice. When
I get some spare time, I will see if I can adapt that code to LibreOffice.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to