Bug 134198 - Copy/paste of a doc results in deviating number of pages of the original (in single page view)
Summary: Copy/paste of a doc results in deviating number of pages of the original (in ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks: Repagination
  Show dependency treegraph
 
Reported: 2020-06-21 16:10 UTC by Telesto
Modified: 2023-09-15 22:41 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (880.26 KB, application/vnd.oasis.opendocument.text)
2020-06-21 16:11 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-06-21 16:10:54 UTC
Description:
Copy/paste of a doc results in deviating number of pages of the original (in single page view)

Steps to Reproduce:
1. Open the attached file (in single page view)
2. CTRL+A
3. CTRL+C
4. CTRL+N (again in single page view)
3. CTRL+V
4. Scroll up
5. update index



Actual Results:
Expected 202

Expected Results:
Result 207
* No empty pages 
* no shifting images


Reproducible: Always


User Profile Reset: No



Additional Info:
Found
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 43c60ce1ac7629a1462e927e6ff937469f58f743
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

but not in
Version: 6.0.6.0.0+
Build ID: c30963b8b4bbbe42a24b97aafa161eff9d7ccdd4
CPU threads: 4; OS: Windows 6.3; UI render: default; 
Locale: nl-NL (nl_NL); Calc: CL
Comment 1 Telesto 2020-06-21 16:11:53 UTC
Created attachment 162263 [details]
Example file
Comment 2 Telesto 2020-06-21 18:32:01 UTC
Still fine in
Version: 6.4.0.0.alpha0+ (x64)
Build ID: 4a0b2b8024fa6fb8a0ab3e474b7d64fc455028b5
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 3 BogdanB 2020-06-21 20:13:45 UTC
The last page in index is 209. The last page in document is 211.

Version: 6.4.4.2
Build ID: 3d775be2011f3886db32dfd395a6a6d1ca2630ff
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: ro-RO (ro_RO.UTF-8); UI-Language: en-US
Calc: threaded
Comment 4 BogdanB 2020-06-21 20:16:14 UTC
The last page in index is 201. The last page in document is 203.

Version: 6.4.4.2
Build ID: 3d775be2011f3886db32dfd395a6a6d1ca2630ff
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: ro-RO (ro_RO.UTF-8); UI-Language: en-US
Calc: threaded
Comment 5 Buovjaga 2020-07-01 12:24:37 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2020-07-10 07:33:29 UTC
My previous comment is canceled - I saw this even in the oldest of 7.0 repo yesterday.
Comment 7 Abhi 2020-07-10 18:18:20 UTC
The 202 page document was consistently showing up as a 219 page document after updating index in new file.

~/win64-7.0
$ git bisect log
# bad: [e81dce33f9408b434377713b586fbfde2925762b] source 2891e91a513520d68ea2b8c59c14335861a15253
# good: [832184dd45effc3d2a68e9010c4b8f1d0a70623a] source 9bc848cf0d301aa57eabcffa101a1cf87bad6470
git bisect start 'master' 'oldest'
# bad: [8769a12f2f4cc34c9780be6940faa0008491e8bf] source f15d67442972c5f69c71925a6bfa5aa1a39d54eb
git bisect bad 8769a12f2f4cc34c9780be6940faa0008491e8bf
# bad: [77b373998be9e3add6ac24bde56a8d6e727fbf79] source f8e29707df8ebb6acf33ac4e32033252953bc7ef
git bisect bad 77b373998be9e3add6ac24bde56a8d6e727fbf79
# bad: [6192c062509a3a3fc2036469cdaca1a4d3a624c8] source 141722374d026d783bc1d2ab5656568105017d87
git bisect bad 6192c062509a3a3fc2036469cdaca1a4d3a624c8
# bad: [ee9bcef5720c46ee89d64d4da9cd51aac974ff72] source e01df3488abe6d319c6874ca870afb82a3ad9b1e
git bisect bad ee9bcef5720c46ee89d64d4da9cd51aac974ff72
# bad: [62a70d58d006ec90127824e882172db704c86e7f] source 7c4b5c46dd1679d93a21f015e5a09f3428eb3d2c
git bisect bad 62a70d58d006ec90127824e882172db704c86e7f
# bad: [6e6e97a18002e04ee508538679485baa826f4bd4] source dbfa1f2fea43771d00f656ce6c2aff438889f2c5
git bisect bad 6e6e97a18002e04ee508538679485baa826f4bd4
# bad: [2a3b5d5ddce1659243cbcd1fc35ae7d70b9643fe] source ad433f15b2f567f094fc6507f2c4d2a46267bd64
git bisect bad 2a3b5d5ddce1659243cbcd1fc35ae7d70b9643fe
# bad: [96204cab0b9e30441232e462fc1710ee63e9a894] source da30c06a119f06e59895ea889a5daa149929dfe9
git bisect bad 96204cab0b9e30441232e462fc1710ee63e9a894
# bad: [c9d035b668828c5b94a8df54f6c4cdaf5653b2ae] source 45324a9a405ffbd913ede64f3f5099b2c325539e
git bisect bad c9d035b668828c5b94a8df54f6c4cdaf5653b2ae
# bad: [8372a07a38b2d31613d3ef794541b36246184091] source 0f0cd9f6ddedcc2607b64e810f0c95214b4da8c6
git bisect bad 8372a07a38b2d31613d3ef794541b36246184091
# bad: [d6314d68407083a55a48e57bfa258dc05a82b692] source ae499df25c01a149dfbb387da17a7f8a232a6a4e
git bisect bad d6314d68407083a55a48e57bfa258dc05a82b692
# bad: [e95ccd07f5f5300cd7ab51a910f9e60f725bd615] source 30f77f00f1ef3fc476e56e61dda1915cc08aff27
git bisect bad e95ccd07f5f5300cd7ab51a910f9e60f725bd615
# bad: [3ac841987e76d742e608c8a6c4686055ceca69e1] source e151c12a14c1a2536393c82fa6027f251be1a7d6
git bisect bad 3ac841987e76d742e608c8a6c4686055ceca69e1
# first bad commit: [3ac841987e76d742e608c8a6c4686055ceca69e1] source e151c12a14c1a2536393c82fa6027f251be1a7d6



 3ac841987e76d742e608c8a6c4686055ceca69e1 is the first bad commit
commit 3ac841987e76d742e608c8a6c4686055ceca69e1
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Mon Nov 25 06:48:43 2019 -0800

    source e151c12a14c1a2536393c82fa6027f251be1a7d6

    source e151c12a14c1a2536393c82fa6027f251be1a7d6


Adding Cc: to nthiebaud@gmail.com
Comment 8 Buovjaga 2020-07-10 18:55:12 UTC
(In reply to Abhi from comment #7)
> The 202 page document was consistently showing up as a 219 page document
> after updating index in new file.
> 
> 3ac841987e76d742e608c8a6c4686055ceca69e1 is the first bad commit
> commit 3ac841987e76d742e608c8a6c4686055ceca69e1
> Author: Norbert Thiebaud <nthiebaud@gmail.com>
> Date:   Mon Nov 25 06:48:43 2019 -0800
> 
>     source e151c12a14c1a2536393c82fa6027f251be1a7d6
> 
>     source e151c12a14c1a2536393c82fa6027f251be1a7d6

As I suspected - the result has nothing to do with the problem area:
https://git.libreoffice.org/core/+/e151c12a14c1a2536393c82fa6027f251be1a7d6%5E!/
Resolves: tdf#128748 warning dialog appearing on focus change
Comment 9 QA Administrators 2022-07-11 03:29:31 UTC Comment hidden (obsolete)
Comment 10 Kira Tubo 2023-09-15 22:41:11 UTC
Reproduced in current stable and daily master builds.

Version: 7.6.1.2 (X86_64) / LibreOffice Community
Build ID: f5defcebd022c5bc36bbb79be232cb6926d8f674
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; 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: 9a37652b79001bf5208841b9221dee851b9b6d0f
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded