Download it now!
Bug 112099 - Some table borders in DOC file render blue and displaced
Summary: Some table borders in DOC file render blue and displaced
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:doc
Depends on:
Blocks: Table-Borders
  Show dependency treegraph
 
Reported: 2017-08-30 05:50 UTC by Walter Cheuk
Modified: 2020-09-02 13:06 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
DOC file contains the table borders (43.00 KB, application/msword)
2017-08-30 05:51 UTC, Walter Cheuk
Details
DOCX file contains the table borders (10.89 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2017-08-30 05:51 UTC, Walter Cheuk
Details
screenshot of opening in m$ word (91.31 KB, image/png)
2017-08-30 05:52 UTC, Walter Cheuk
Details
screenshot of opening in writer (82.88 KB, image/png)
2017-08-30 05:53 UTC, Walter Cheuk
Details
DOC compared in LO 7.1+ and MSo 2016 (116.49 KB, image/png)
2020-09-02 12:40 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Cheuk 2017-08-30 05:50:34 UTC
Description:
Table borders in DOC or DOCX file do not render the same as in M$ word 2010.

Steps to Reproduce:
1. Open the attached files
2. See the difference
3.

Actual Results:  
The table border is rendered different

Expected Results:
The same as displayed in M$ word


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
Comment 1 Walter Cheuk 2017-08-30 05:51:23 UTC
Created attachment 135860 [details]
DOC file contains the table borders
Comment 2 Walter Cheuk 2017-08-30 05:51:44 UTC
Created attachment 135861 [details]
DOCX file contains the table borders
Comment 3 Walter Cheuk 2017-08-30 05:52:48 UTC
Created attachment 135862 [details]
screenshot of opening in m$ word
Comment 4 Walter Cheuk 2017-08-30 05:53:07 UTC
Created attachment 135863 [details]
screenshot of opening in writer
Comment 5 Timur 2017-08-30 17:14:14 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2019-03-27 03:41:37 UTC Comment hidden (obsolete)
Comment 7 Walter Cheuk 2019-03-29 02:54:56 UTC
The border is still not render correctly.

Version: 6.2.2.2 (x64)
Build ID: 2b840030fec2aae0fd2658d8d4f9548af4e3518d
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
Locale: en-GB (zh_TW); UI-Language: en-US
Calc: threaded
Comment 8 Timur 2020-09-02 12:40:23 UTC
Created attachment 165022 [details]
DOC compared in LO 7.1+ and MSo 2016

Repro with LO 7.1+ for DOC (as in 6.1, better than in 6.0). No repro for DOCX.
Comment 9 Timur 2020-09-02 12:56:58 UTC
Improvement can be seen in bibisect 6.1, also in Linux. 

c4f824343a6b0862357bf87d1c18c613dcdd3f31 is the first chnaged commit
Author: Jenkins Build User <tdf@pollux.tdf>
Date:   Thu Jan 11 07:54:43 2018 +0100
    source sha:f14b9d30293f180500fc56d81e5390021758e7c1
    previous source sha:d11120b95ee27cb4b05db466ed07f7a996dda125

https://gerrit.libreoffice.org/plugins/gitiles/core/+/f14b9d30293f180500fc56d81e5390021758e7c1%5E!/

commit	f14b9d30293f180500fc56d81e5390021758e7c1	[log]
author	Noel Grandin <noel.grandin@collabora.co.uk>	Mon Jan 08 17:01:49 2018 +0200
committer	Noel Grandin <noel.grandin@collabora.co.uk>	Thu Jan 11 07:35:43 2018 +0100
tree	a6cd0b853169203cfa0953230e6774e7b1dd81b4
parent	d11120b95ee27cb4b05db466ed07f7a996dda125 [diff]

convert (a>b?a:b) to std::max(a,b)

with something like:
   git grep -nP '(.*)\s*>\s*(.*)\s*\?\s*\g1\s*:\s*\g2'

Change-Id: I60b9a3a2a09162bc0de4c13fdde2c209696e5413
Reviewed-on: https://gerrit.libreoffice.org/47602
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>

Adding Noel to CC.
Comment 10 Noel Grandin 2020-09-02 13:06:09 UTC
Why am I CC'ed? Is this some kind of regression?