Bug 78739

Summary: VIEWING: If the background of an area is a GRAYED bitmap image, the effect (GRAY) IS NOT imported correctly.
Product: Document Liberation Project Reporter: Marco Borra <gattomarcomix>
Component: libmspubAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: brennanv, dtardon, ilmari.lauhakangas, jorendc, robinson.libreoffice
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard: BSA
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 105815    
Attachments: Microsoft Office 2003 (grayed background)
LibreOffice 4.2.4.2 (colored background)
Source Document

Description Marco Borra 2014-05-15 12:20:57 UTC
If the background of an area is a GRAYED bitmap image, the effect (GRAY) IS NOT imported correctly on .pub file.

Steps to reproduce:
1. Open attached document on both Microsoft Office 2003 and LibreOffice 4.2.4.2 and see differences

Current behavior: full color background

Expected behavior: grayed bmp background

              
Operating System: Windows XP
Version: 4.2.4.2 release
Comment 1 Marco Borra 2014-05-15 12:38:05 UTC
Created attachment 99084 [details]
Microsoft Office 2003 (grayed background)
Comment 2 Marco Borra 2014-05-15 12:38:42 UTC
Created attachment 99085 [details]
LibreOffice 4.2.4.2 (colored background)
Comment 3 Marco Borra 2014-05-15 12:47:36 UTC
Source Document (.pub) is too large to attach.
Download here: https://drive.google.com/file/d/0B_0oJTxlnZtVc0VGOGlkMnoyXzg/edit?usp=sharing
Comment 4 Marco Borra 2014-05-25 17:13:24 UTC
Created attachment 99784 [details]
Source Document

Use this document to reproduce the bug
Comment 5 Jorendc 2014-05-25 17:22:44 UTC
Reproducible, tested using Windows 8.1 with LibreOffice 4.2.4.2.
Comment 6 Robinson Tryon (qubit) 2014-05-25 19:37:03 UTC
CONFIRMED in LO Version: 4.1.2.2
on Ubuntu 12.04.4

(In reply to comment #0)
> Steps to reproduce:
> 1. Open attached document on both Microsoft Office 2003 and LibreOffice
> 4.2.4.2 and see differences
> 
> Current behavior: full color background
> 
> Expected behavior: grayed bmp background

Yep -- seeing full-color bg here.
Comment 7 Brennan Vincent 2014-05-27 04:42:35 UTC
Looks like there isn't a grey flag in LibreOffice, so we will have to emulate it during parsing. Should not be too difficult.
Comment 8 QA Administrators 2015-06-08 14:41:45 UTC Comment hidden (obsolete)
Comment 9 Buovjaga 2015-06-21 18:09:54 UTC
Confirmed.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 3ecef8cedb215e49237a11607197edc91639bfcd
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-06-19_23:16:58
Locale: fi-FI (fi_FI)