Download it now!
Bug 134066 - Shape anchored to paragraph creates an empty page when dragged to specific spot with a specific zoom level
Summary: Shape anchored to paragraph creates an empty page when dragged to specific sp...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 134508 (view as bug list)
Depends on:
Blocks: Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2020-06-17 10:03 UTC by Telesto
Modified: 2020-10-20 14:19 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screencast (415.68 KB, video/mp4)
2020-06-17 10:24 UTC, Telesto
Details
Screencast (437.83 KB, video/mp4)
2020-07-04 19:27 UTC, Telesto
Details
Screencast (22.94 MB, video/mp4)
2020-10-19 20:51 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-06-17 10:03:28 UTC
Description:
Shape anchored to paragraph created multitude of empty pages when dragged to specific spot

Steps to Reproduce:
1. Open attachment 162103 [details]
2. Drag the image as in screencast

Actual Results:
Lots of empty pages

Expected Results:
Ideally not so


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: a35c18aeff3b1d8f270db7e094850fb8ba1ab84a
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2020-06-17 10:24:04 UTC
Created attachment 162109 [details]
Screencast
Comment 2 Buovjaga 2020-07-01 12:53:11 UTC
Tried several times but unable to repo

Version: 7.1.0.0.alpha0+ (x64)
Build ID: 9bef09cb2f0c9c9e6819f28ed8e83c0edd6eadb6
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded

Arch Linux 64-bit
Version: 7.1.0.0.alpha0+
Build ID: 21c0deb19890703a9eaf24403e60c4c7546a0bfe
CPU threads: 8; OS: Linux 5.7; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 30 June 2020
Comment 3 Telesto 2020-07-01 13:04:12 UTC
Looks like the is splitting different now.. Yellow marking is not at the exact same spot. So lets see of this changes again.. or I have to come up with new example

No repro
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 4c14c88cc681abab787a461a1bea502a777f37e6
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 4 Telesto 2020-07-04 18:20:18 UTC
Hmm delete the last two lines of pag 1.. empty page created.. press Undo nothing changes

Also in
Version: 6.0.5.0.0+
Build ID: 15ea1cda0b3c37ff944ad9a239b7ed453e8b0591
CPU threads: 4; OS: Windows 6.3; UI render: default; 
Locale: nl-NL (nl_NL); Calc: CL
Comment 5 Telesto 2020-07-04 18:24:08 UTC
(In reply to Telesto from comment #4)
> Hmm delete the last two lines of pag 1.. empty page created.. press Undo
> nothing changes
> 
> Also in
> Version: 6.0.5.0.0+
> Build ID: 15ea1cda0b3c37ff944ad9a239b7ed453e8b0591
> CPU threads: 4; OS: Windows 6.3; UI render: default; 
> Locale: nl-NL (nl_NL); Calc: CL

Also in
5.2

but not in
Version: 5.1.0.3
Build ID: 5e3e00a007d9b3b6efb6797a8b8e57b51ab1f737
CPU Threads: 4; OS Version: Windows 6.2; UI Render: default; 
Locale: en-US (nl_NL)
Comment 6 Buovjaga 2020-07-04 19:25:29 UTC
(In reply to Telesto from comment #4)
> Hmm delete the last two lines of pag 1.. empty page created.. press Undo
> nothing changes

No repro

Version: 7.1.0.0.alpha0+ (x64)
Build ID: 92c2318db92c3f102243ef1f8a9a492796932ff6
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded

Arch Linux 64-bit
Version: 7.1.0.0.alpha0+
Build ID: 777f9cec0985f99451ecb804d5ae139a0be32253
CPU threads: 8; OS: Linux 5.7; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 4 July 2020
Comment 7 Telesto 2020-07-04 19:27:31 UTC
Created attachment 162639 [details]
Screencast
Comment 8 Dieter 2020-10-06 12:09:13 UTC
I also can't confirm it with

Version: 7.0.2.2 (x64)
Build ID: 8349ace3c3162073abd90d81fd06dcfb6b36b994
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: he-IL (de_DE); UI: en-GB
Calc: threaded

and I don't understand the steps your are doing in screencast from comment 7. Do you just delete some lines (as you dexribed in comment 4) or do you simultaneously drag the image?.

Would be useful to have some clearer steps. 
=> NEEDINFO
Comment 9 Telesto 2020-10-18 08:46:55 UTC
*** Bug 134508 has been marked as a duplicate of this bug. ***
Comment 10 Telesto 2020-10-18 08:50:07 UTC
!. Open attachment 162640 [details] 
2. Delete the dark the large shape
3. Undo
4. Drag the large shape to the second page. where shape is positioned at the top of the page where text starts

Assuming multi page view
Comment 11 Telesto 2020-10-18 08:54:04 UTC
(In reply to Telesto from comment #10)
> !. Open attachment 162640 [details] 
> 2. Delete the dark the large shape
> 3. Undo
> 4. Drag the large shape to the second page. where shape is positioned at the
> top of the page where text starts
> 
> Assuming multi page view

5. CTRL+A
6. CTRL+X
6. CTRL+V

No you get something i would expect
Comment 12 Buovjaga 2020-10-18 14:54:08 UTC
(In reply to Telesto from comment #11)
> (In reply to Telesto from comment #10)
> > !. Open attachment 162640 [details] 
> > 2. Delete the dark the large shape
> > 3. Undo
> > 4. Drag the large shape to the second page. where shape is positioned at the
> > top of the page where text starts
> > 
> > Assuming multi page view
> 
> 5. CTRL+A
> 6. CTRL+X
> 6. CTRL+V
> 
> No you get something i would expect

No empty pages generated

Arch Linux 64-bit
Version: 7.1.0.0.alpha0+
Build ID: ccdb78773ac6c9d19140e8084f37cc2c7f06240e
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 18 October 2020
Comment 13 Dieter 2020-10-19 20:25:42 UTC
(In reply to Buovjaga from comment #12)
> No empty pages generated

Same result with

Version: 7.0.2.2 (x64)
Build ID: 8349ace3c3162073abd90d81fd06dcfb6b36b994
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: he-IL (de_DE); UI: en-GB
Calc: threaded

There is no difference between the document after step 4 and after step 6

Additional information:
A blank page is added, if you drag the image to the top of page 2 (not to the top of text area)
Comment 14 Telesto 2020-10-19 20:51:54 UTC
Created attachment 166520 [details]
Screencast

As I suspected already..  zoom + screen resolution do matter
Comment 15 Buovjaga 2020-10-20 14:00:08 UTC
(In reply to Dieter from comment #13)
> Additional information:
> A blank page is added, if you drag the image to the top of page 2 (not to
> the top of text area)

Looking at Telesto's video, this behaviour is the only thing I see. I can repro it myself. The mention of "multitude" was causing confusion. Let's change the summary.

Arch Linux 64-bit
Version: 7.1.0.0.alpha0+
Build ID: ccdb78773ac6c9d19140e8084f37cc2c7f06240e
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 18 October 2020
Comment 16 Buovjaga 2020-10-20 14:19:49 UTC
Same behaviour in 6.3.0, 4.4.7, 3.3.0.