Bug 39505

Summary: tables, pictures, frame invisible in particular WW8 document
Product: LibreOffice Reporter: Oleksandr Kalyniak <sash_kr>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: anistenis, jbfaure, jeffdchang, LibreOffice, mst.fdo, serval2412, yfjiang
Version: 3.4.2 RC1   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: e-mail.docx
e-mail.pdf
80503099
80503099.pdf
how it looks in word 2010
how it looks in libreoffice 4.3.1

Description Oleksandr Kalyniak 2011-07-24 03:55:31 UTC
Created attachment 49466 [details]
e-mail.docx

When I'm trying to open docx file (see attachment 'e-mail.docx') - LO shows me blank page. See attachment 'e-mail.pdf' (that's how it looks like).
Comment 1 Oleksandr Kalyniak 2011-07-24 03:55:54 UTC
Created attachment 49467 [details]
e-mail.pdf
Comment 2 Jeffrey 2011-07-24 20:58:44 UTC
Failed to reproduce on LibreOffice 3.4  340m1(Build:103) for OpenSuse Linux.

I can see the images of the email clients fine in my version of LO writer. It looks like the same as the one on the pdf.

Could you provide any other cases or steps to reproduce? Right now this seems like a freak occurrence (because there isn't usually problems with saving images in Writer/Word) unless you can provide some more information.

Thanks.
Comment 3 Oleksandr Kalyniak 2011-07-25 04:28:20 UTC
It's weird. In the bug https://bugs.freedesktop.org/show_bug.cgi?id=39384 you wrote: 
"When I download attachment, in read-only mode I can see the e-mail list
graphics. When I save it and open it in edit mode, the document is blank."
Comment 4 noname 2011-07-25 10:40:23 UTC
Confirmed with [Win2K LibreOffice 3.4.2 OOO340m1 (Build:202)].

But would be nice to have the original or is that the original already ?!
Comment 5 Oleksandr Kalyniak 2011-07-25 12:06:38 UTC
(In reply to comment #4)
> Confirmed with [Win2K LibreOffice 3.4.2 OOO340m1 (Build:202)].
> 
> But would be nice to have the original or is that the original already ?!

What do you mean "original"?
Comment 6 noname 2011-07-26 10:46:53 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Confirmed with [Win2K LibreOffice 3.4.2 OOO340m1 (Build:202)].
> > 
> > But would be nice to have the original or is that the original already ?!
> 
> What do you mean "original"?

Original as in -saved with Word [version ?]- or saved as docx with LO. In the first case the bug could be in the load routine and in the second case in the save routine.
Comment 7 Oleksandr Kalyniak 2011-07-26 21:36:12 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > Confirmed with [Win2K LibreOffice 3.4.2 OOO340m1 (Build:202)].
> > > 
> > > But would be nice to have the original or is that the original already ?!
> > 
> > What do you mean "original"?
> 
> Original as in -saved with Word [version ?]- or saved as docx with LO. In the
> first case the bug could be in the load routine and in the second case in the
> save routine.

Yes, it's original. It was created in Microsoft Word.
Comment 8 Oleksandr Kalyniak 2011-07-26 21:37:29 UTC
Microsoft Word 2007
Comment 9 Jean-Baptiste Faure 2011-08-20 09:50:34 UTC
I do not reproduce with LibreOffice 3.4.3 rc1 under Ubuntu 10.04 x86_64 with FR langpack. docx opens fine and shows the same contents as the pdf.
Same behaviour in master.

Best regards.
Comment 10 Oleksandr Kalyniak 2011-08-20 23:37:13 UTC
(In reply to comment #9)
> I do not reproduce with LibreOffice 3.4.3 rc1 under Ubuntu 10.04 x86_64 with FR
> langpack. docx opens fine and shows the same contents as the pdf.
> Same behaviour in master.
> 
> Best regards.

I've just installed LibreOffice 3.4.3 rc1 (Windows 7 Ultimate x64) and the problem is still there.
Comment 11 Oleksandr Kalyniak 2011-09-20 22:07:05 UTC
I have new one file with the same symptoms. See '80503099.doc'
Comment 12 Oleksandr Kalyniak 2011-09-20 22:07:36 UTC
Created attachment 51442 [details]
80503099
Comment 13 Rainer Bielefeld Retired 2011-09-27 03:32:41 UTC
[Reproducible] with reporter's first sample and "LibreOffice 3.4.3 RC2 - WIN7 Home Premium (64bit) German UI [OOO340m1 (Build:302)]", still a problem with Server installation of Master "LibO-dev 3.5.0 – WIN7 Home Premium (64bit) English UI [(Build ID: 81607ad-3dca5fd-da627d2)]".

Works with "LibreOffice Portable 3.3.3  - WIN7  Home Premium (64bit) German UI [OOO330m19 (Build:301  Tag 3.3.3.1)]" 

Some pictures (PNG?) will not be shown.

I did not check for duplicates. 

@Cédric:
Please feel free to reassign (or reset Assignee to default) if it’s not your area or if provided information is not sufficient. Please set Status to ASSIGNED if you accept this Bug.
Comment 14 Björn Michaelsen 2011-12-23 13:25:39 UTC
Since all new unconfirmed bugs start in state UNCONFIRMED now and old unconfirmed bugs were moved to NEEDINFO with a explanatory comment, all bugs promoted above those bug states to NEW and later are automatically confirmed making the CONFIRMED whiteboard status redundant. Thus it will be removed.
Comment 15 Oleksandr Kalyniak 2011-12-24 12:22:15 UTC
LibreOffice 3.5.0 bate2
I don't see the picture.
Comment 16 Alex Thurgood 2012-01-23 07:30:42 UTC
Opens fine for me on Mac OSX, and LibO :

LibreOffice 3.5.0rc1 
Version ID : b6c8ba5-8c0b455-0b5e650-d7f0dd3-b100c87

Alex
Comment 17 Alex Thurgood 2012-01-23 07:31:59 UTC
However, the file 80503099 does not display the image on :

LibreOffice 3.5.0rc1 
Version ID : b6c8ba5-8c0b455-0b5e650-d7f0dd3-b100c87


Alex
Comment 18 Alex Thurgood 2012-01-23 07:32:48 UTC
(In reply to comment #16)
> Opens fine for me on Mac OSX, and LibO :

I meant email.docx opened fine.
Comment 19 Jean-Baptiste Faure 2012-01-23 13:17:47 UTC
Hmm, this bug report is about import of docx format, not about the legacy doc format. 
So I suggest 1/ close this bug report as "worksforme" 2/ ask Oleksandr Kalyniak to open a new bug report for the problem with 80503099.doc

Cédric, do you agree ?

Best regards. JBF
Comment 20 Oleksandr Kalyniak 2012-01-30 03:41:02 UTC
LibreOffice 3.5.0rc2
I don't see the picture.
Comment 21 s-joyemusequna 2012-02-24 05:53:26 UTC
Tried to open the first attachment, file "e-mail.docx" on Windows XP and Windows Vista 64:

LibO 3.3.4 (and Word 2003/2007) : OK, picture (consisting of 4 single pictures) is visible.

LibO 3.4.5 : LibO hangs when trying to load the picture

LibO 3.5.0 : file is empty (one empty paragraph)
Comment 22 Björn Michaelsen 2012-03-01 09:04:45 UTC
Regression does appear in oldest version of bibisect-3.5.tar.lzma and must be older.
Comment 23 Oleksandr Kalyniak 2012-04-09 22:05:44 UTC
LibreOffice 3.5.2

first attachment (e-mail.docx) opens fine. However, the file 80503099 does not display the image on.
Comment 24 Jean-Baptiste Faure 2012-04-14 23:39:31 UTC
Hi Oleksandr,

What is the actual format of your file 80503099.doc ? It seems to be a ZIP archive (so not a MS-Word 97/XP/2000 file) but its content does not look like ooxml format.
LO navigator shows that there are 2 images and one table in the file but they are hidden (grayed in the list).

Best regards. JBF
Comment 25 Oleksandr Kalyniak 2012-04-16 00:24:34 UTC
Created attachment 60045 [details]
80503099.pdf
Comment 26 Oleksandr Kalyniak 2012-04-16 00:33:11 UTC
(In reply to comment #24)
> Hi Oleksandr,
> 
> What is the actual format of your file 80503099.doc ? It seems to be a ZIP
> archive (so not a MS-Word 97/XP/2000 file) but its content does not look like
> ooxml format.
> LO navigator shows that there are 2 images and one table in the file but they
> are hidden (grayed in the list).
> 
> Best regards. JBF

Well, this is "MS-Word 97/XP/2000 file". Yes, you can unzip it, as any else doc-file. I've just added pdf of that file (attachment 80503099.pdf). Take a look.

P.S.
This file contains text. Not image.
Comment 27 Julien Nabet 2012-11-01 07:06:13 UTC
On pc Debian x86-64 with master sources updated yesterday, picture from e-mail.docx is ok, picture from 80503099 doesn't show.
I noticed these logs for 80503099:
warn:legacy.osl:8279:20:/home/julien/compile-libreoffice/libo/sw/inc/swrect.hxx:308: SVRect() without Width or Height
warn:legacy.osl:8279:20:/home/julien/compile-libreoffice/libo/sw/inc/swrect.hxx:308: SVRect() without Width or Height
Comment 28 Jerome Oufella 2012-11-02 17:45:58 UTC
I can reproduce the bug on LibreOffice 3.5.7.2 (Fedora 17 packages). Images do not appear in docx documents.
Comment 29 Cédric Bosdonnat 2012-11-05 16:31:33 UTC
This has somehow been fixed as it's working nicely in master.
Comment 30 Jerome Oufella 2012-11-05 16:47:42 UTC
I confirm this works on the master branch as of today for my document.
Comment 31 Julien Nabet 2012-11-10 17:44:21 UTC
On pc Debian x86-64 with master sources updated today, I still don't see anything with 8050399 :-( (brand new LO profile).
Same logs:
warn:legacy.osl:5188:9:/home/julien/compile-libreoffice/libo/sw/inc/swrect.hxx:308: SVRect() without Width or Height
warn:legacy.osl:5188:9:/home/julien/compile-libreoffice/libo/sw/inc/swrect.hxx:308: SVRect() without Width or Height
So I reopen for the moment.

Cédric:  What info can I provide to help here?
Comment 32 Michael Stahl 2012-12-18 13:20:35 UTC
so there are 2 entirely different bugdocs here:

1) a docx that has a bunch of OLEs, which are not imported at all
2) a doc that has a table, a frame, 2 graphics, all imported but invisible

the first was apparently a regression that has been fixed meanwhile
(can't reproduce in LO 3.4.6 or newer), while the second
one is a long standing problem that is reproducible with any OOo
or LO version i've tried back to OOo 3.0.1.

please file separate bugs for different issues!

so since the first problem is fixed i'll re-purpose this bug to handle
the second problem and adjust fields accordingly...
Comment 33 Michael Stahl 2012-12-18 13:21:30 UTC
Comment on attachment 49466 [details]
e-mail.docx

this is fixed
Comment 34 Björn Michaelsen 2014-02-28 12:45:55 UTC
Bulk change: Bibisected bugs can be assumed to be regressions.
Comment 35 Michael Stahl 2014-02-28 12:52:25 UTC
removing erroneously added "regression", see comment #32
Comment 36 Xisco Faulí 2014-07-30 09:29:10 UTC
According to comment 32 this isn't a regression, thus remove bibisected35
bibisected35older from whiteboard
Comment 37 Xisco Faulí 2014-07-30 09:40:21 UTC
Created attachment 103676 [details]
how it looks in word 2010
Comment 38 Xisco Faulí 2014-07-30 09:43:07 UTC
Created attachment 103677 [details]
how it looks in libreoffice 4.3.1

How it looks in Version: 4.3.1.0.0+
Build ID: 0d5d8c22f7be41d408d8ee4012ef1a6f4368423e
TinderBox: Win-x86@51-TDF, Branch:libreoffice-4-3, Time: 2014-07-23_05:34:04

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.