Bug 50900 - : Errors copying Diagrams to Draw
Summary: : Errors copying Diagrams to Draw
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Spreadsheet (show other bugs)
Version: 3.5.4 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-08 16:09 UTC by campino2k
Modified: 2013-04-20 20:42 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
The graph in calc (correct one) (207.43 KB, image/png)
2012-06-08 16:09 UTC, campino2k
Details
The graph after being copied to Draw (171.78 KB, image/png)
2012-06-08 16:09 UTC, campino2k
Details
The File where the error occures (german locals) (33.25 KB, application/vnd.oasis.opendocument.spreadsheet)
2012-06-08 16:10 UTC, campino2k
Details

Description campino2k 2012-06-08 16:09:04 UTC
Created attachment 62822 [details]
The graph in calc (correct one)

Problem description: 

Whenever I copy some Graph based on Date/Time to Draw to export it, X-Axis description is wrong

Steps to reproduce:
1. Create a "time based" table
2. Create a Diagram (XY-sorted, while first col keeps the date/time)
3. Copy the Diagram to draw to export it.

Current behavior:
TT.MM.JJ HH:MM from cell formatting applies to graph in current document, but when copied to draw, year, date and time changes.

Expected behavior:
Graph in Draw should look like the one in Calc

Platform (if different from the browser): 
              
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0
Comment 1 campino2k 2012-06-08 16:09:53 UTC
Created attachment 62823 [details]
The graph after being copied to Draw
Comment 2 campino2k 2012-06-08 16:10:58 UTC
Created attachment 62824 [details]
The File where the error occures (german locals)
Comment 3 bfoman 2012-06-21 05:50:57 UTC
Confirmed with:
LO 3.5.4.2 
Build ID: own W7 debug build
Windows 7 Professional SP1 64 bit

Year, date and time changes when copied from Calc to Draw.
Comment 4 Noel Grandin 2012-09-05 13:39:00 UTC
Confirmed in 3.6.1.2 (Windows)
Comment 5 darkweasel 2013-04-20 20:42:44 UTC
This still doesn't work in 4.0.2.2 on OS X 10.8.3. However, for me Draw doesn't display a wrong date, it just displays some random number, which seems to be some kind of serial date (2011-10-15 16:00:00 becomes 40831,67, if that helps).

I have found a workaround, perhaps this also helps track down the bug: double-click the diagram in Calc, secondary-click the x-axis, select "Format axis..." (I don't know if this is the correct label in the English locale, it's "Achse formatieren..." in German), then uncheck "Source format" ("Quellenformat") in the dialog that pops up. Click OK, then copy the diagram to Draw again - you will see that it now works as expected.


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.