<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - FORMATTING Comment boxes: dimensions and position lost at copy"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=108612#c13">Comment # 13</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - FORMATTING Comment boxes: dimensions and position lost at copy"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=108612">bug 108612</a>
from <span class="vcard"><a class="email" href="mailto:todventtu@suomi24.fi" title="Buovjaga <todventtu@suomi24.fi>"> <span class="fn">Buovjaga</span></a>
</span></b>
<pre>Ok, I launched LibO and then in a terminal
sudo gdb --pid `pgrep soffice`
I let it attach and then in the (gdb) prompt gave
break documen2.cxx:385
ie. this line:
<a href="https://cgit.freedesktop.org/libreoffice/core/tree/sc/source/core/data/documen2.cxx#n385">https://cgit.freedesktop.org/libreoffice/core/tree/sc/source/core/data/documen2.cxx#n385</a>
Then I gave c to continue. The breakpoint is hit the first time already when I
pasted A4 to E4. I continued and this is what I got when copying A10:
Thread 1 "soffice.bin" hit Breakpoint 1, ScDocument::~ScDocument
(this=0x6a45170,
__in_chrg=<optimized out>) at
/home/user/libreoffice/sc/source/core/data/documen2.cxx:385
385 if (IsClipboardSource())
(gdb) step
ScDocument::IsClipboardSource (this=this@entry=0x6a45170)
at /home/user/libreoffice/sc/source/core/data/document.cxx:2544
2544 {
It was a bit disturbing along the way that gdb grabbed my mouse click focus. I
managed to solve it with this: <a href="https://unix.stackexchange.com/a/40472">https://unix.stackexchange.com/a/40472</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>