Bug 132240 - Empty area added when moving image up or on paste
Summary: Empty area added when moving image up or on paste
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Anchor-and-Text-Wrap Additional-Blank-Pages
  Show dependency treegraph
 
Reported: 2020-04-18 20:19 UTC by Telesto
Modified: 2020-08-05 09:48 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (422.09 KB, application/vnd.oasis.opendocument.text)
2020-04-18 20:19 UTC, Telesto
Details
Example file (2.57 MB, application/vnd.oasis.opendocument.text)
2020-04-19 10:39 UTC, Telesto
Details
After3rdMove.png (296.59 KB, image/png)
2020-05-01 04:03 UTC, Bart
Details
After4thMove.png (153.08 KB, image/png)
2020-05-01 04:04 UTC, Bart
Details
Example file (13.27 KB, application/vnd.oasis.opendocument.text)
2020-08-05 09:47 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-04-18 20:19:10 UTC
Description:
Empty area added when moving image up

Steps to Reproduce:
1. open the attached file
2. Drag the image up 4 times... image moves to the second page..
3. Undo everything CTRL+Z... not the same. Save & File reload -> Issue resolved

Actual Results:
Undo doesn't result in a proper layout

Expected Results:
Undo should refresh everything properly


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: 4475bcd83aac7e033fc5250f268eb922bd471e7b
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 1 Telesto 2020-04-18 20:19:24 UTC
Created attachment 159692 [details]
Example file
Comment 2 Telesto 2020-04-19 10:39:04 UTC Comment hidden (obsolete)
Comment 3 Telesto 2020-04-19 10:46:21 UTC
Also in
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 4 Bart 2020-05-01 04:03:11 UTC
I can confirm this.

Here are my results:
1. I open the attached file with LibreOffice 7.0
2. I click-and-hold the image and drag it up 4 times. Every time 
   I drag the image up, I get more white-space below the image.
   This can be seen in attachment:
      After3rdMove.png
3. When I click-and-hold the image and drag it up a 4th or 5th time
   the image moves to the second page
   (Sometimes this happens after the 4th time, other times after the 5th)
   This can be seen in attachment:
      After4thMove.png
4. When I undo everything with ctl-Z the image doesn't go back.

If I start all over again, right-click the image and choose:
   Properties -> Anchor
I see that behind "Anchor" the selection "As character" was made.

Does that make a difference?

					~~~

   Here's the version that I used:

Version: 7.0.0.0.alpha0+
Build ID: 4d03bd252274308f64332e7c0523068c38ac684a
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-04-26_05:59:56
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 5 Bart 2020-05-01 04:03:51 UTC
Created attachment 160169 [details]
After3rdMove.png
Comment 6 Bart 2020-05-01 04:04:27 UTC
Created attachment 160170 [details]
After4thMove.png
Comment 7 Telesto 2020-08-05 09:47:33 UTC
Created attachment 163959 [details]
Example file

1. open the attached file
2. Place the cursor the yellow line
3. Insert -> Image -> Pick a reasonable size image
4. Image will be put on second page, moving text from first
5. Press Undo.. text doesn't flow back

Issue is present in 3.3.0 (but did go undetected with anchoring to paragraph being default)
Comment 8 Telesto 2020-08-05 09:48:25 UTC
@Xisco
Only so you are aware..
> Created attachment 163959 [details]
> Example file
> 
> 1. open the attached file
> 2. Place the cursor the yellow line
> 3. Insert -> Image -> Pick a reasonable size image
> 4. Image will be put on second page, moving text from first
> 5. Press Undo.. text doesn't flow back
> 
> Issue is present in 3.3.0 (but did go undetected with anchoring to paragraph
> being default)