Bug 143524 - Table jumps around on every click - back and forth filling empty space or starting a new page
Summary: Table jumps around on every click - back and forth filling empty space or sta...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks:
 
Reported: 2021-07-24 09:08 UTC by Justin L
Modified: 2021-07-26 07:29 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
tableJumping_minimal.doc: clicking in table makes it jump every time. (265.00 KB, application/msword)
2021-07-24 09:08 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin L 2021-07-24 09:08:18 UTC
Created attachment 173818 [details]
tableJumping_minimal.doc: clicking in table makes it jump every time.

Starting with LO 6.3.3 (and still true in 7.3+), every click inside of the table in this minimized document causes the table to jump back and forth. The cursor is lost in the transition as well, so it isn't simply a matter of scrolling and getting back to work. On the next click, it jumps again - making it basically impossible to edit the table contents. [In 7.3 master, after roughly 10 clicks, it settles down.]

This started in LO 6.3.3  with author Miklos Vajna on 2019-09-17 18:57:09 +0200
commit	d5b50e74ee822e1c8402e3044e14799e47907ff8
tdf#105330 sw: fix lost cursor on undoing nested table insert

https://cgit.freedesktop.org/libreoffice/core/commit/?id=d5b50e74ee822e1c8402e3044e14799e47907ff8


It might be worth noting that sometimes you can see the cursor sitting somewhere in the middle of the first, mostly-empty page - somewhere that it should be impossible for it to be.

CC'd Miklos

-------------------------------------------------
Further background related to bibisecting this:
Starting in 7.0, LO would crash after 4 or 5 clicks, because of Armin's
https://cgit.freedesktop.org/libreoffice/core/commit/?id=424312aa99307da9f0ee60ea6e3213b2b3dc26b4

Then in 7.0.2, Noel fixed the crashing with
https://cgit.freedesktop.org/libreoffice/core/commit/?id=445cf499666f21c2d480ce1df9ce6004b9450b64

N.B. Somewhere in 7.0 (after the crashing started), it seems as if something has caused the jumping to settle down after a while. After about 10 clicks or so, it stops jumping around and editing can happen. This is seen immediately with Noel's 7.0.2 patch. That still holds true in 7.3+.
Comment 1 Miklos Vajna 2021-07-26 06:49:36 UTC
Oh, that's annoying. Reading the commit message of 	d5b50e74ee822e1c8402e3044e14799e47907ff8 now I recall that this was a revert: so the above problem was "fixed" between e4509eea8fc7c07ddff48edf0d4c015c2663d896 and d5b50e74ee822e1c8402e3044e14799e47907ff8, but only by causing side effects like bug 105330, i.e. I fear this never really worked.
Comment 2 Justin L 2021-07-26 07:29:32 UTC
Yes, that was my conclusion too, that your commit just exposed an existing problem.