<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_VERIFIED bz_closed"
title="VERIFIED FIXED - Crash on Undo of paste table below table"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126504#c17">Comment # 17</a>
on <a class="bz_bug_link
bz_status_VERIFIED bz_closed"
title="VERIFIED FIXED - Crash on Undo of paste table below table"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126504">bug 126504</a>
from <span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span></b>
<pre>(In reply to Michael Stahl (CIB) from <a href="show_bug.cgi?id=126504#c0">comment #0</a>)
<span class="quote">> 1. Cursor inside the embedded table
> 2. CTRL+A
> 3. CTRL+A (full table selected)</span >
(In reply to Xisco FaulĂ from <a href="show_bug.cgi?id=126504#c15">comment #15</a>)
<span class="quote">> This issue got fixed by
> <a href="https://cgit.freedesktop.org/libreoffice/core/commit/">https://cgit.freedesktop.org/libreoffice/core/commit/</a>
> ?id=310271df2e4dc67d223dbec4b23e39ea4a67c042. Thanks Michael for fixing this
> issue indirectly.</span >
In current master, I don't see the specific steps working, and I see the unit
test failing for that reason for me on Windows. Additionally, the GUI works
differently than the unit test, which is also unexpected:
1. Cursor inside Table2.A1 of the <a class="bz_bug_link
bz_status_VERIFIED bz_closed"
title="VERIFIED FIXED - Crash on Undo of paste table below table"
href="show_bug.cgi?id=126504">tdf126504</a>.odt from the unit test.
2. Ctrl+A (the whole inner table (Table2) is selected).
3. Ctrl+A (it's unselected! and the cursor is blinking again in A1).
I expect that #3 selects A1 as well, but it doesn't happen with Version:
7.1.0.0.alpha0+ (x64)
Build ID: e624459f36a576478f3a6b729341f0ce4e14f42d
CPU threads: 12; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL
and with Version: 7.0.0.1 (x64)
Build ID: 04ba7e3f1e51af6c5d653e543a620e36719083fd
CPU threads: 12; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL
But what's puzzling me is that the given UI steps suggest that Ctrl+C after
those steps should *not* copy anything into clipboard. However, the test fails
here:
<span class="quote">> <a class="bz_bug_link
bz_status_VERIFIED bz_closed"
title="VERIFIED FIXED - CRASH: copying content in nested table"
href="show_bug.cgi?id=133982">tdf133982</a>.docx:
> testTdf133982::TestBody finished in: 830ms
> C:/lo/src/core/sw/qa/extras/uiwriter/uiwriter3.cxx(265) : error : Assertion
> Test name: testTdf126504::TestBody
> equality assertion failed
> - Expected: 4
> - Actual : 3
>
> Failures !!!
> Run: 315 Failure total: 1 Failures: 1 Errors: 0</span >
The "- Actual : 3" seems to suggest that *something* (a table) is actually
pasted there. But maybe that's just some leftover in clipboard from a previous
test?
Yes of course this is about crash, and what I describe is another bug needing
an own report - but I came here because the unit test failing was exactly the
one that should had prevented this. Why does it happen?</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>