Bug 124000 - FILEOPEN DOCX Last row of OLE object table is missing because rows taller in LO
Summary: FILEOPEN DOCX Last row of OLE object table is missing because rows taller in LO
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, filter:docx, regression
Depends on:
Blocks: DOCX-OLE-Objects
  Show dependency treegraph
 
Reported: 2019-03-11 14:13 UTC by NISZ LibreOffice Team
Modified: 2022-06-23 11:54 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Test document (66.53 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-03-11 14:15 UTC, NISZ LibreOffice Team
Details
Screenshot (142.67 KB, image/png)
2019-03-11 14:16 UTC, NISZ LibreOffice Team
Details
Example file neutralized a bit more - second try (68.08 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-03-13 09:50 UTC, Gabor Kelemen (allotropia)
Details
Screenshot of the neutralized example in Word and LO 6.3 (121.08 KB, image/png)
2019-03-13 09:51 UTC, Gabor Kelemen (allotropia)
Details
taller rows in LibreOffice (168.22 KB, image/jpeg)
2019-04-17 14:16 UTC, László Németh
Details
Example file neutralized - screenshot MSO LO (169.71 KB, image/png)
2020-06-10 06:47 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2019-03-11 14:13:34 UTC
Description:
Last row of OLE object table in DOCX document created with Microsoft Word is missing when the document is opened in LibreOffice Writer 6.3.0.0.alpha0+.

Steps to Reproduce:
    1. Open the attached DOCX file in LibreOffice Writer.
    2. Open a copy in Microsoft Word.
    3. Compare the original file opened in Writer and Word.
    4. View the attached screenshot.
    5. Notice, that Last row of OLE object table is missing.


Actual Results:
Last row of OLE object table is missing when the document is opened in LibreOffice Writer 6.3.0.0.alpha0+.

Expected Results:
Last row of OLE object table should be visible as the original file when the document is opened in Microsoft Word.


Reproducible: Always


User Profile Reset: No



Additional Info:
LibreOffice details:
Version: 6.3.0.0.alpha0+
Build ID: 65438bcda46bab4f2fe6fb555f44aace45e11e5e
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: threaded
Comment 1 NISZ LibreOffice Team 2019-03-11 14:15:38 UTC
Created attachment 149882 [details]
Test document
Comment 2 NISZ LibreOffice Team 2019-03-11 14:16:11 UTC
Created attachment 149883 [details]
Screenshot
Comment 3 Durgapriyanka 2019-03-11 18:16:43 UTC Comment hidden (obsolete)
Comment 4 Dieter 2019-03-11 19:15:19 UTC Comment hidden (obsolete)
Comment 5 Gabor Kelemen (allotropia) 2019-03-11 19:50:22 UTC
(In reply to Durgapriyanka from comment #3)
> Thank you for reporting the bug. The OLE object table doesn't open in my
> writer. The table is empty with a blinking border line on the left side.
> But, the table does open in MS Word.
> 
> Version: 6.3.0.0.alpha0+
> Build ID: b6b28931435e44aca92b8c0e1659f701e3ed1a87

Part of the problem is that your build is 6 weeks old:
https://gerrit.libreoffice.org/plugins/gitiles/core/+log/b6b28931435e44aca92b8c0e1659f701e3ed1a87

Now the example file was a little bit trimmed back for privacy reasons, and the content you see in Word is actually on the fourth sheet of the embedded XLSX.
Until recently LO could only show the first page of such embedded files, until it was fixed in bug #122594. 
What you see is the first, empty sheet of the embedded file.
Please update your local build :).
Comment 6 raal 2019-03-12 07:35:46 UTC
I have empty page too (seecomment 3) - 4 days old build..
Version: 6.3.0.0.alpha0+
Build ID: 732d630c3d2a168c725c18e4dd8df7a0a4f85566
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
Comment 7 Gabor Kelemen (allotropia) 2019-03-13 09:50:56 UTC
Created attachment 149927 [details]
Example file neutralized a bit more - second try

Sorry, this is now correct.

In the embedded xlsx I had to set the last sheet as active, but Word apparently does not need this setting. 
Probably it's cheating by caching the view or something like that :(.
Comment 8 Gabor Kelemen (allotropia) 2019-03-13 09:51:38 UTC
Created attachment 149928 [details]
Screenshot of the neutralized example in Word and LO 6.3
Comment 9 Dieter 2019-03-13 12:44:56 UTC
Still only see an empty table with a blinking border line on the left side.
Comment 10 Buovjaga 2019-04-08 19:59:01 UTC
(In reply to Gabor Kelemen from comment #7)
> Created attachment 149927 [details]
> Example file neutralized a bit more - second try

Confirmed.

Arch Linux 64-bit
Version: 6.3.0.0.alpha0+
Build ID: e967aea2d8cc4f9fc608cb726cb474c184fb61de
CPU threads: 8; OS: Linux 5.0; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 7 April 2019
Comment 11 Buovjaga 2019-04-09 16:54:58 UTC
Tested on Win. The problem is not yet in 5.4.2, but bibisect repos 6.0, 6.1 and 6.2 display the table as empty! Someone could try on Linux. Might turn out to be notBibisectable
Comment 12 László Németh 2019-04-17 14:15:54 UTC
The background of the problem is that the rows are taller in LO. See the attached screenshot.
Comment 13 László Németh 2019-04-17 14:16:26 UTC
Created attachment 150826 [details]
taller rows in LibreOffice
Comment 14 Aron Budea 2020-05-03 22:09:20 UTC
(In reply to Buovjaga from comment #11)
> Tested on Win. The problem is not yet in 5.4.2, but bibisect repos 6.0, 6.1
> and 6.2 display the table as empty! Someone could try on Linux. Might turn
> out to be notBibisectable
I'm seeing an empty preview since 6.0 as well, both in Linux and Windows. It started with the following commit, bibisected using repo bibisect-linux-64-6.0:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=505ce3a2ba3adeef46daecbf9b14c42cea211408
author		Szymon Kłos <szymon.klos@collabora.com>	2017-07-07 12:58:42 +0200
committer	Szymon Kłos <szymon.klos@collabora.com>	2017-07-08 09:28:09 +0200

tdf#108544 edit in window (XLSX inside DOCX)
Comment 15 Aron Budea 2020-05-03 22:28:21 UTC Comment hidden (obsolete)
Comment 16 Aron Budea 2020-05-30 17:59:51 UTC
I didn't set the bibisected/bisected keywords on purpose, as I don't see the same bug as reported, and didn't bibisect to that. It'd also be great to find why it behaves differently for different people.
Comment 17 Timur 2020-06-09 14:00:55 UTC Comment hidden (obsolete)
Comment 18 Timur 2020-06-10 06:47:05 UTC
Created attachment 161827 [details]
Example file neutralized - screenshot MSO LO

For me, Lin and Win (I have MSO): it was OK until 5.4 as Aron found, with correct height, it can be edited with double-click but wrong. 
Empty from 6.0 to 6.3. 
From 6.3 and bug #122594 to 7.1+ table is visible with last row missing because height wrong, it has right-click Edit menu item and can be edited fine.
So I don't know what bibisectRequest is for.
Comment 19 QA Administrators 2022-06-11 03:29:07 UTC Comment hidden (obsolete)
Comment 20 Gabor Kelemen (allotropia) 2022-06-23 11:54:01 UTC
Still the same in

Version: 7.4.0.0.beta1+ / LibreOffice Community
Build ID: 6ab56a4fc946f6294513f23a3ea47aa0aa154b7d
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded