Bug 100376 - Line jumps to footer after deleting triangle behind it
Summary: Line jumps to footer after deleting triangle behind it
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.3.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shapes
  Show dependency treegraph
 
Reported: 2016-06-14 16:54 UTC by francois.le-foll
Modified: 2023-11-13 00:26 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
image moved with arrows down (66.29 KB, image/png)
2016-06-14 16:54 UTC, francois.le-foll
Details
writer document with few forms (9.45 KB, application/vnd.oasis.opendocument.text)
2016-06-20 09:20 UTC, francois.le-foll
Details
writer document with corrupted form (9.43 KB, application/vnd.oasis.opendocument.text)
2016-06-20 09:21 UTC, francois.le-foll
Details

Note You need to log in before you can comment on or make changes to this bug.
Description francois.le-foll 2016-06-14 16:54:08 UTC
Created attachment 125651 [details]
image moved with arrows down

Sometime (don't have found yet which action causes this) image made of draw element (square / text / arrows ...) gets corrupted in the following manner:

all arrows from image are moved to stick at the bottom of the page whereas all other elements remains in place.

It seems to occurs when removing some content in the previous page that require my image to move from a page to the other in order to follow the page. Or when copy / paste of image is performed.

This is first very annoying because all arrows needs to be put back in place manually but worst than they can't be selected so it is impossible to put them back in place.

Not sure if they can't be selected because they overlap with the footer section or because they have become ghost elements but I have not found any workaround rather than copy / pasting all my document into another empty one to get rid of this.

Here attached is a snapshot of the result where you can find all my arrows down.
Note: arrows have been redrawn manually in my image so they look doubled here but originally they were only down and no more present in the image above

It occurs approx three / four time a month when I write document of this kind (with individual draw elements). 
It doesn't occur if image elements are grouped.
Its the first time I report this behavior but it used to occur since libreoffice 4 from memories.
Comment 1 Buovjaga 2016-06-17 18:05:20 UTC
Please also attach an example document so we can quickly test.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the document.
Comment 2 francois.le-foll 2016-06-20 09:20:06 UTC
Created attachment 125766 [details]
writer document with few forms
Comment 3 francois.le-foll 2016-06-20 09:21:53 UTC
Created attachment 125767 [details]
writer document with corrupted form

On this document the last triangle has been deleted and the line on it has jumped into the footer section
Comment 4 francois.le-foll 2016-06-20 09:27:10 UTC
After further testing, the problem seems to occur when using a background image anchored as character with a another draw element on it (the latest being anchored by default (to paragraph in my case).

Deleted the background element makes the first layer draw elements probably lost and it jumps to footer.

In my attached document you can use the document "writer document with few forms" and go to last page. Delete the triangle form and the line on it jumps to footer.

NOTE: should I open another bug report or not for this:
If you press CTRL + Z after deleting the triangle two triangles appear with another location. Very strange.
Comment 5 Buovjaga 2016-06-20 17:23:51 UTC
(In reply to francois.le-foll from comment #4)
> In my attached document you can use the document "writer document with few
> forms" and go to last page. Delete the triangle form and the line on it
> jumps to footer.

I reproduce the problem. For me, after deleting there remains another triangle in place of the deleted one.
Note that if you move the triangle somewhat before deleting, the line does not jump.

> NOTE: should I open another bug report or not for this:
> If you press CTRL + Z after deleting the triangle two triangles appear with
> another location. Very strange.

Yes. You can paste the link to the new report in the "See Also" field in this report.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.0.0.alpha0+
Build ID: c13f60e7cd18df6b0ab70289f5b91ee01e4ae126
CPU Threads: 8; OS Version: Linux 4.6; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8)
Built on June 18th 2016
Comment 6 QA Administrators 2017-09-01 11:16:36 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2019-12-03 13:49:42 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2021-12-03 04:19:47 UTC Comment hidden (obsolete)
Comment 9 Stéphane Guillou (stragu) 2021-12-11 14:42:13 UTC
still reproducible as in comment 4 with:

Version: 7.3.0.0.beta1 / LibreOffice Community
Build ID: 436f14c25ec1847646b953cf13d0db4f7ca3be57
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Once the triangle is deleted, another remains.
Deleting that other one brings the line back up.
Comment 10 Steven Casey 2023-11-13 00:26:08 UTC
Still reproducible. Ctrl + z after creates more of an issue as mentioned. Attempting to close the file after using ctrl + z does not result in a popup, but reopening the file shows only one triangle. That single triangle is now missing the line however.

Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 32; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 50add2043752c7b07beccef9a509bea6c09619f8
CPU threads: 32; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded