[Libreoffice-bugs] [Bug 108109] CRASH: Writer crashes while closing after copy/ pasting specific content

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri May 26 10:37:08 UTC 2017


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

Xisco Faulí <xiscofauli at libreoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |bibisected, bisected,
                   |                            |regression
                 CC|                            |caolanm at redhat.com
            Version|5.3.2.2 release             |5.3.0.0.alpha0+

--- Comment #2 from Xisco Faulí <xiscofauli at libreoffice.org> ---
Regression introduced by:

author  Caolán McNamara <caolanm at redhat.com>    2016-06-24 14:06:36 (GMT)
committer       Caolán McNamara <caolanm at redhat.com>    2016-06-24 14:21:26
(GMT)
commit  88cd9dd591d7921e5bce33c170b457ae5aa871bb (patch)
tree    97808bcd9c8183e8eba75b4b7f1c907b003951c6
parent  65a88b51b3df8e4c2756fde4058194d892c627f1 (diff)
Resolves: rhbz#1326304 cannot detect loss of wayland clipboard ownership
gtk_clipboard_get_owner always returns what you set with
gtk_clipboard_set_with_owner and that doesn't change if some other
application takes over the clipboard

The "owner-change" signal doesn't contain any useful data under wayland,
and doesn't fire when you'd expect either, just when the app becomes
active or gets focus or something like that. So you get it when you
do have the clipboard and when you don't, so that's no use either to
detect loss of clipboard ownership

So, forget about clipboard ownership, and always take the data to
be pasted from the system clipboard, so when we are pasting from ourselves
its "paste"->m_aSystemContents->gtk->"copy"->m_aOurContents

Undoubtedly something else will break now

Bisected with bibisect-linux-64-5.3.

Adding Cc: to Caolán McNamara

-- 
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/20170526/fa55f2ad/attachment-0001.html>


More information about the Libreoffice-bugs mailing list