Bug 80165 - VIEWING: LibreOffice Writer mess up docx header graphic (drawing object): height displayed incorrect
Summary: VIEWING: LibreOffice Writer mess up docx header graphic (drawing object): hei...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-17 20:39 UTC by ttester
Modified: 2016-09-27 13:41 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample docx file shown on the screenshot of LibreOffice and WPS (34.69 KB, application/wps-office.docx)
2014-06-17 20:39 UTC, ttester
Details
Screen shot of the sample docx file opened in LibreOffice and in WPS (627.47 KB, image/png)
2014-06-17 20:44 UTC, ttester
Details
LibreOffice 5.3 screenshoot (127.53 KB, image/png)
2016-09-27 13:31 UTC, Gülşah Köse
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ttester 2014-06-17 20:39:12 UTC
Created attachment 101270 [details]
Sample docx file shown on the screenshot of LibreOffice and WPS

Problem description: Opening docx files that includes header graphic (letter logo) using LibreOffice 4.2.4 on openSUSE 13.1 or Windows results in a messed up header graphic with compressed height and such unreadable. 

This behaviour has been the case at least back to 97 doc files and that time OpenOffice versions.

On the other hand, Kingsoft WPS-office alpha12p3 on openSUSE 13.1 is able to open the same docx file correctly. 

Steps to reproduce:
1. Open the attached sample docx file in LibreOffice
2. ....
3. ....

Current behavior:Messed up and unreadable header graphic

Expected behavior:The header graphic should be correct reproduced as shown on the attached screen shot of Kingsoft Writer (side by side with corrupted graphic in LibreOffice Writer.)
              
Operating System: openSUSE
Version: 4.2.4.2 release
Comment 1 ttester 2014-06-17 20:44:44 UTC
Created attachment 101271 [details]
Screen shot of the sample docx file opened in LibreOffice and in WPS
Comment 2 Cor Nouws 2014-06-17 20:54:44 UTC
hi ttester,

thanks for the clear description and screen shots.
I confirm the problem.

It's not a graphic, but a drawing object by the way.
In an older version of LibreOffice, the position was wrong too..

regards,
Cor
Comment 3 ttester 2014-06-17 21:26:19 UTC
(In reply to comment #2)
> hi ttester,
> 
> thanks for the clear description and screen shots.
> I confirm the problem.
> 
> It's not a graphic, but a drawing object by the way.
> In an older version of LibreOffice, the position was wrong too..
> 
> regards,
> Cor


Hi Cor,

As orientation I posted previously a related graphical bug for LibreOffice Writer in Novell Bugzilla:
Bug 779834 - LibreOffice Writer mess up docx graphical elements

Miklos Vajna replied:

"The crash part is fixed with 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=b5a1db9

The fix will be available in upstream 3.7 and I also backported it to the SUSE
3.5 branch.

Regarding the graphics, as far as I see only the header graphics is
problematic, which is an EMF file; please open a separate bug for that if you
want to have that fixed, that's independent from the DOCX format. "
Comment 4 QA Administrators 2015-07-18 17:43:27 UTC Comment hidden (obsolete)
Comment 5 Buovjaga 2015-10-17 13:57:16 UTC
Confirmed.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 186f32f63434e16ff5776251657f902d5808ed3d
TinderBox: Win-x86@39, Branch:master, Time: 2015-10-16_09:42:47
Locale: en-US (fi_FI)
Comment 6 Gülşah Köse 2016-09-27 13:30:18 UTC
I can't reproduce on LibreOfficeDev 5.3.0.0.alpha0 0f8a30318695447e205b17fb0af06362ab890bc3

It seems to fixed.
Comment 7 Gülşah Köse 2016-09-27 13:31:05 UTC
Created attachment 127674 [details]
LibreOffice 5.3 screenshoot
Comment 8 Buovjaga 2016-09-27 13:41:27 UTC
True, it works now.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.0.0.alpha0+
Build ID: 3be5deadcb46e09d84d99b2b108b65b06ff356e9
CPU Threads: 8; OS Version: Linux 4.7; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on September 24th 2016