Bug 104932 - FILEOPEN: last page is missing due to line spacing
Summary: FILEOPEN: last page is missing due to line spacing
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: commit:34d7602954d4483b3bc9db700e7df2...
Keywords: bibisected, bisected, filter:rtf, regression
Depends on:
Blocks: Font-Rendering RTF Paragraph-Line-Spacing Regressions-Universal-Line-Spacing
  Show dependency treegraph
 
Reported: 2016-12-26 17:49 UTC by Xisco Faulí
Modified: 2017-10-02 17:43 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
sample (73.15 KB, application/rtf)
2016-12-26 17:49 UTC, Xisco Faulí
Details
last page missing( only Linux ) (29.74 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2017-03-28 10:10 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2016-12-26 17:49:11 UTC
Created attachment 129949 [details]
sample

Steps:
1. Open attached document

Expected behaviour: There should be 4 pages ( last one blank ) but there's only 3 and the last one, the blank one, is missing

Reproduced in

Version: 5.3.0.0.alpha1+
Build ID: c855aec445628f96d3d32cfde6efd4e51e4489c9
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk2; Layout Engine: new; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Comment 1 Xisco Faulí 2016-12-26 17:50:38 UTC
Regression introduced by:

author	Khaled Hosny <khaledhosny@eglug.org>	2016-11-09 13:22:43 (GMT)
committer	Khaled Hosny <khaledhosny@eglug.org>	2016-11-22 15:32:11 (GMT)
commit 34d7602954d4483b3bc9db700e7df2c15348947a (patch)
tree 8dcfb93fc29815fd89481a7840d64d6c187534db
parent c855aec445628f96d3d32cfde6efd4e51e4489c9 (diff)
tdf#55469 Consistent line spacing across platforms

Adding Cc: to 	Khaled Hosny
Comment 2 ⁨خالد حسني⁩ 2016-12-26 19:29:50 UTC
On master as well as 5-3 I see 4 pages, with or without Times New Roman installed.
Comment 3 Xisco Faulí 2016-12-26 22:10:13 UTC
I can also reproduce it in

Version: 5.4.0.0.alpha0+
Build ID: 53edf60c4ce6ed32f87471e018878c40b788005a
CPU Threads: 1; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2016-12-18_06:57:59
Locale: es-ES (es_ES); Calc: group
Comment 4 ⁨خالد حسني⁩ 2016-12-26 22:21:20 UTC
Do you have Times New Roman font on the Linux system? If it is missing then the fallback might have different line metrics which might cause this.
Comment 5 Xisco Faulí 2017-02-09 12:19:11 UTC
Yes. I also have it on Windows 7 and I can reproduce the same problem.

Version: 5.4.0.0.alpha0+
Build ID: a296a69c984b17cfbcd249cf6bdc191d08dff2a6
CPU Threads: 1; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-02-06_00:00:55
Locale: es-ES (es_ES); Calc: group
Comment 6 Xisco Faulí 2017-03-28 10:10:42 UTC
Created attachment 132212 [details]
last page missing( only Linux )

I found another document where the last page is missing, but in this case, I can only reproduce it in Linux
Comment 7 Yousuf Philips (jay) (retired) 2017-06-06 16:18:20 UTC
4 pages with 5.2 and 3 pages with master with Times New Roman installed.

Version: 5.2.7.2
Build ID: 2b7f1e640c46ceb28adf43ee075a6e8b8439ed10
CPU Threads: 2; OS Version: Linux 4.4; UI Render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group

Version: 5.5.0.0.alpha0+
Build ID: ddf8539d97ce044b7df8d51d6ec72ec864b40fb8
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-06-04_22:10:59
Locale: en-US (en_US.UTF-8); Calc: group
Comment 8 Thomas Lendo 2017-09-12 20:03:30 UTC
I see 4 pages with attachment 129949 [details] in

Version: 6.0.0.0.alpha0+
Build ID: bc9714fefb2dd2ad55a92aaacb6b246f354ed2c0
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-09-11_23:29:06
Locale: de-DE (de_DE.UTF-8); Calc: group

Version: 5.1.6.2
Build-ID: 1:5.1.6~rc2-0ubuntu1~xenial2
CPU-Threads: 4; BS-Version: Linux 4.10; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE.UTF-8); Calc: group

I see 3 pages with attachment 129949 [details] in

LibreOffice 3.3.0 
OOO330m19 (Build:6), tag libreoffice-3.3.0.4 (Ubuntu Linux)




I see 2 pages with attachment 132212 [details] in

Version: 6.0.0.0.alpha0+
Build ID: bc9714fefb2dd2ad55a92aaacb6b246f354ed2c0
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-09-11_23:29:06
Locale: de-DE (de_DE.UTF-8); Calc: group

I see 3 pages with attachment 132212 [details] in

Version: 5.1.6.2
Build-ID: 1:5.1.6~rc2-0ubuntu1~xenial2
CPU-Threads: 4; BS-Version: Linux 4.10; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE.UTF-8); Calc: group

I see 5 pages with attachment 132212 [details] in

LibreOffice 3.3.0 
OOO330m19 (Build:6), tag libreoffice-3.3.0.4 (Ubuntu Linux)
Comment 9 Yousuf Philips (jay) (retired) 2017-09-21 21:45:00 UTC
confirmed that 5.2, master and mso 2010 are now rendered identical.

Version: 6.0.0.0.alpha0+
Build ID: 7315f325ff7ada3d6bd85a471058fdaeaff8cdb0
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-09-17_06:58:21
Locale: en-US (en_US.UTF-8); Calc: group

was broken here, so caolan's patch must have done it.

Version: 6.0.0.0.alpha0+
Build ID: fc61be93c60967bf1d6bcffcada8189016d4530e
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-09-05_00:50:38
Locale: en-US (en_US.UTF-8); Calc: group