Bug 286682 - Background of the page is displaying in black color.
Summary: Background of the page is displaying in black color.
Status: REOPENED
Alias: None
Product: calligrawords
Classification: Applications
Component: doc (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Matus Uzak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-15 12:36 UTC by swathi
Modified: 2018-04-07 22:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Test data (323.00 KB, application/msword)
2011-11-15 12:36 UTC, swathi
Details
Screenshot in MS Office (156.53 KB, image/png)
2011-11-15 12:36 UTC, swathi
Details
Screenshot in Calligra Words (257.20 KB, image/png)
2011-11-15 12:37 UTC, swathi
Details
Another test file with the same issue. (172.00 KB, application/msword)
2011-12-06 14:22 UTC, Matus Uzak
Details
File displayed by MS Word 2003 (210.39 KB, image/png)
2011-12-06 14:25 UTC, Matus Uzak
Details
File displayed by words (479.33 KB, image/png)
2011-12-06 14:26 UTC, Matus Uzak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description swathi 2011-11-15 12:36:21 UTC
Created attachment 65707 [details]
Test data

Version: git checkout 4102d598792bb66c5e11e3a2cb5e27a071714f01
      (Using KDE 4.6.3)                
     OS: Kubuntu 11.04
Test data is in Word 2003 format.
Open the same document in Calligra Words. 
Check the display of the background.

Expected outcome:
Background of the page should be white.
Actual outcome:
Background of the page is displaying in black color.
Frequency:
Always
Comment 1 swathi 2011-11-15 12:36:35 UTC
Created attachment 65708 [details]
Screenshot in MS Office
Comment 2 swathi 2011-11-15 12:37:04 UTC
Created attachment 65709 [details]
Screenshot in Calligra Words
Comment 3 Matus Uzak 2011-12-06 14:22:44 UTC
Created attachment 66436 [details]
Another test file with the same issue.
Comment 4 Matus Uzak 2011-12-06 14:25:41 UTC
Created attachment 66437 [details]
File displayed by MS Word 2003
Comment 5 Matus Uzak 2011-12-06 14:26:02 UTC
Created attachment 66438 [details]
File displayed by words
Comment 6 Matus Uzak 2011-12-06 14:49:50 UTC
Comments to the first test file (id=65707):

This one is tricky, because no page color is set according to the MS Word UI (Page Layout menu).  But looking at the binary, the background shape of the page has BLACK fill color specified.   The WHITE background seems to be used in the "Print Layout" mode.  As soon you switch to "Full Screen Reading" or "Web Layout" the background color is going to change to BLACK.  I'm not sure this should be considered to be a bug.

The "View" menu offers the following modes:
- Print Layout
- Full Screen Reading
- Web Layout
- Outline
- Draft
Comment 7 Matus Uzak 2011-12-06 15:02:33 UTC
Git commit 8bc7504aa7219a41d01563d6a616636335aaec9e by Matus Uzak.
Committed on 06/12/2011 at 15:53.
Pushed by uzak into branch 'master'.

DOC: page-layout - check if Fill Style info should be used.

BUG:286682

M  +50   -47   filters/words/msword-odf/document.cpp
M  +9    -16   filters/words/msword-odf/graphicshandler.cpp

http://commits.kde.org/calligra/8bc7504aa7219a41d01563d6a616636335aaec9e
Comment 8 Abhishek Mittal 2012-02-02 13:30:32 UTC
Matus, the bug is still reproducible with the original test data.Please take a look.
Comment 9 swathi 2012-10-23 08:55:02 UTC
Tested in git commit ad0416095c417a8cfa55306ea8959ac0ef4460bb.
Issue is still reproducible with the original test data. So reopening the bug.