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

--- Comment #9 from Patrick Luby <[email protected]> ---
I can reproduce this with LaunchBar. What is interesting is that LibreOffice
never receives a "lost ownership" notification when I select an older entry in
LaunchBar's history list. But if I quit LaunchBar, then LibreOffice properly
receives a "lost ownership" notification.

Note: the following debug patch that I used in my local LibreOffice build:

diff --git a/vcl/osx/clipboard.cxx b/vcl/osx/clipboard.cxx
index 5d925b3b1954..c37453d0d073 100644
--- a/vcl/osx/clipboard.cxx
+++ b/vcl/osx/clipboard.cxx
@@ -46,6 +46,11 @@ using namespace css;
         pAquaClipboard->provideDataForType(sender, type);
 }

+-(void)pasteboardChangedOwner:(NSPasteboard *)sender
+{
+    fprintf(stderr, "Lost ownership!\n");
+}
+
 -(void)applicationDidBecomeActive:(NSNotification*)aNotification
 {
     if( pAquaClipboard )
diff --git a/vcl/osx/clipboard.hxx b/vcl/osx/clipboard.hxx
index 6213ce692106..360a83cd81d0 100644
--- a/vcl/osx/clipboard.hxx
+++ b/vcl/osx/clipboard.hxx
@@ -55,6 +55,8 @@ class AquaClipboard;
 // Promise resolver function
 - (void)pasteboard:(NSPasteboard*)sender provideDataForType:(const NSString
*)type;

+-(void)pasteboardChangedOwner:(NSPasteboard *)sender;
+
 -(void)applicationDidBecomeActive:(NSNotification*)aNotification;

 -(void)disposing;

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

Reply via email to