Bug 117448 - FILEOPEN Table in attached DOC(X) shows unexpected cell padding (top and bottom of the text are missing)
Summary: FILEOPEN Table in attached DOC(X) shows unexpected cell padding (top and bott...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: László Németh
URL:
Whiteboard: target:7.0.0
Keywords: filter:doc, filter:docx
Depends on:
Blocks: DOCX-Tables DOC-Tables
  Show dependency treegraph
 
Reported: 2018-05-06 00:22 UTC by Aron Budea
Modified: 2020-04-03 07:46 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample in DOCX (16.07 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-05-06 00:22 UTC, Aron Budea
Details
Sample in DOC (31.50 KB, application/msword)
2018-05-06 00:23 UTC, Aron Budea
Details
Comparison between LO 6.1alpha1 & Word 2013 (80.27 KB, image/png)
2018-05-06 00:24 UTC, Aron Budea
Details
Screenshot of the paragraph settings in current-ish master (88.00 KB, image/png)
2018-10-28 22:51 UTC, Gabor Kelemen (allotropia)
Details
Paragraph settings in Word 2013 (24.48 KB, image/png)
2018-10-28 22:54 UTC, Gabor Kelemen (allotropia)
Details
patch used to dump ppm picture for the unit test (1.02 KB, patch)
2020-04-02 16:31 UTC, László Németh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2018-05-06 00:22:38 UTC
Created attachment 141914 [details]
Sample in DOCX

The attached simple table (based on bug 117447's table that goes missing, except it isn't floating and has content this time) has unexpected padding in top/bottom of cells that cuts into text. I don't know where that setting is coming from, it's not because of padding in table properties.

Observed using LO 6.1alpha1 & 3.3.0 / Windows 7.
Comment 1 Aron Budea 2018-05-06 00:23:10 UTC
Created attachment 141915 [details]
Sample in DOC
Comment 2 Aron Budea 2018-05-06 00:24:29 UTC
Created attachment 141916 [details]
Comparison between LO 6.1alpha1 & Word 2013
Comment 3 Eyal Rozenberg 2018-05-06 07:34:51 UTC
Confirmed with LO 6.0.2.1 on GNU/Linux.
Comment 4 Gabor Kelemen (allotropia) 2018-10-28 22:51:07 UTC
Created attachment 146114 [details]
Screenshot of the paragraph settings in current-ish master

I see 0.21 cm spacing above and below the paragraphs, also 0.21 cm fixed line spacing.
Comment 5 Gabor Kelemen (allotropia) 2018-10-28 22:54:13 UTC
Created attachment 146115 [details]
Paragraph settings in Word 2013

These seem to match Words paragraph settings though.
Comment 6 NISZ LibreOffice Team 2019-10-01 13:12:26 UTC
Removing the fixed 6 pt / 0.21 cm Line Spacing in the paragraph properties makes the text appear without hidden parts.
Comment 7 László Németh 2019-12-02 09:31:21 UTC
This is a general WYSIWYG/visibility issue of the document editor. PDF export is correct, and likely printing, too.
Comment 8 Commit Notification 2020-04-01 15:23:42 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/b6ef43f678c55330d7d8174201fadc55d5381f42

tdf#117448 Writer table: don't clip text on margins

It will be available in 7.0.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 9 László Németh 2020-04-02 16:31:25 UTC
Created attachment 159273 [details]
patch used to dump ppm picture for the unit test
Comment 10 Commit Notification 2020-04-03 07:46:11 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/a0bf48991bcbcbeefdd2fcb928809b18987d8133

clean-up test of tdf#117448: set fixed font features

It will be available in 7.0.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.