[Libreoffice-bugs] [Bug 63368] FORMATTING: Images attached to cell get mispositioned when spreadsheet is edited

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Dec 31 16:24:16 UTC 2018


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

--- Comment #13 from sergio.callegari at gmail.com ---
Improved, but still a bit buggy in LibO 6.2.0 RC 1.

Test case to have an issue needs to be slightly changed to still show the buggy
behaviour

Test case (again with attachment 80018)

1) Open attached document

2) Note that the cloud image is anchored to cell B2, and placed in such a way
that the top of the cloud is about half-way in row 2.

3) Now, select row 1 and insert a row before row 1. This works: the cloud
correctly moves down, since it remains still relative to its anchor point (now
cell B3). Now the top of the cloud is about half-way in row 3.

4) Put your cursor in cell A2 at the end of the world "Foo", press CTRL-ENTER
to insert a line break and type "Bar". This is broken in LibO < 6.2 and working
(sort of) in LibO 6.2. In LibO 6.2 the cloud correctly moves down, since it
remains (almost) still relative to its anchor point (now cell B3). Now the top
of the cloud is about half-way in row 3. Actually, the behavior is still buggy,
because there must be some miscalculation and the image moves /slightly/ up
relative to its anchor point.

5) Put your cursor in cell A2 at the end of the world "Bar" and press
CTRL-ENTER 10 times. This adds 10 empty lines to cell A2 and makes evident the
miscalculation reported at the previous point 4). Now the top of the cloud is
not anymore half-way in row 3.



 Note that this is not handled properly. The height of cell A2 is increased in
order to accomodate the two lines of text. This means that cell B3, to which
the cloud image is anchored moves down. However, the cloud image does not move
down, so that its relative position with respect to the anchor point is
changed. The top of the cloud should have remained about half-way in row 3, but
now it is at the bottom of row 2.

-- 
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/20181231/b3609694/attachment.html>


More information about the Libreoffice-bugs mailing list