[Libreoffice-bugs] [Bug 126504] Crash on Undo of paste table below table

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jul 13 06:58:39 UTC 2020


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

--- Comment #17 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to Michael Stahl (CIB) from comment #0)
> 1. Cursor inside the embedded table 
> 2. CTRL+A 
> 3. CTRL+A (full table selected)

(In reply to Xisco Faulí from comment #15)
> This issue got fixed by
> https://cgit.freedesktop.org/libreoffice/core/commit/
> ?id=310271df2e4dc67d223dbec4b23e39ea4a67c042. Thanks Michael for fixing this
> issue indirectly.

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 tdf126504.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:

> tdf133982.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

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?

-- 
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/20200713/5d33b25f/attachment.htm>


More information about the Libreoffice-bugs mailing list