Bug 46545 - EDITING: Rendering of closed circuit graphics incorrect
Summary: EDITING: Rendering of closed circuit graphics incorrect
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
3.5.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: regression
Depends on:
Blocks:
 
Reported: 2012-02-23 16:34 UTC by skiani
Modified: 2012-05-05 05:05 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
File with simple example, opens correctly in pre LO3.5 but not in LO3.5. (10.43 KB, application/vnd.oasis.opendocument.presentation)
2012-02-23 16:34 UTC, skiani
Details
Same figure but with bitmap showing correct rendering. (17.38 KB, application/vnd.oasis.opendocument.presentation)
2012-03-11 11:33 UTC, skiani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description skiani 2012-02-23 16:34:13 UTC
Created attachment 57564 [details]
File with simple example, opens correctly in pre LO3.5 but not in LO3.5.

Problem description: 
When loading an old (pre 3.5) drawing of presentation file with a closed graphic feature LO3.5 does not render that feature correctly. Also if you save again the distort graphic is now distorted in the file even if you do nothing that graphic.

Steps to reproduce:
1. Generate file with closed graphic feature in pre LO3.5 (3.4.4 for my case).
2. Load file in LO3.5, graphic is distorted.
3. Save file in LO3.5 without changing graphic
4. Open file in LO3.4.4 now graphic is now distorted in 3.4.4

Current behavior:
File format is handled correctly.

Expected behavior:
Forward and backward file compatibility.


Platform (if different from the browser): 
              
Browser: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Comment 1 skiani 2012-03-04 19:07:45 UTC
Note this bug affects drawings as well and is a show stopper bug in my book. We had to uninstall on all our systems.
Comment 2 skiani 2012-03-11 11:33:26 UTC
Created attachment 58293 [details]
Same figure but with bitmap showing correct rendering.

Maybe this will help with confirming. Still a show stopper bug as far as I'm concerned.
Comment 3 skiani 2012-03-16 04:52:53 UTC
Problem is persistent in 3.5.1.2 in both x86 and x64 platforms. Affects all graphics that are internal circuits. I suspect a sign problem somewhere in the code.
Comment 4 sasha.libreoffice 2012-04-03 07:39:52 UTC
Thanks for bugreport
Reproduced in 3.5.1 on Fedora 64 bit
on Windows 7 LibreOffice 3.5.0rc1 opens it correctly, msPP 2007 opens wrong
on Windows XP LibreOffice 3.5.1.2 opens wrong
on Windows XP LibreOffice 3.4.3 opens correctly
on Windows XP msPP 2007 opens wrong

Additional information:
http://odf-validator.rhcloud.com/ tells about attached file:
Graphic Problem.odp/styles.xml[2,13452]: Error: attribute "draw:fit-to-size" has a bad value. Possible values are: false,true
Comment 5 sasha.libreoffice 2012-04-03 07:46:46 UTC
Bug 47406 - Almost all graphics that have internal circuits are not rending correctly.
just closed, fixed. We should verify this bug in 3.5.2. Most likely is duplicate
Comment 6 Korrawit Pruegsanusak 2012-05-05 05:05:19 UTC
NOT REPRODUCIBLE in 3.5.3RC1 Windows XP, the graphic looks fine => WORKSFORME