Bug 113463 - Metafile Graphics lost if converted to curve/polygon/contour, saved and opened again
Summary: Metafile Graphics lost if converted to curve/polygon/contour, saved and opene...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
5.4.2.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-26 14:56 UTC by Ole Tange
Modified: 2019-10-30 15:17 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
10-meta.odg (10.39 KB, application/vnd.oasis.opendocument.graphics)
2017-10-26 14:56 UTC, Ole Tange
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Tange 2017-10-26 14:56:14 UTC
Description:
Graphics is partially lost if converted from metafile to curve or polygon or contour.

In this example a 1 survives the conversion, but the 0 does not.


Steps to Reproduce:
Open 10-meta.odg (attached)
Ctrl-A
Modify > Convert > To curve
Save as > 10-curve.odg
Modify > Convert > To metafile
Save as > 10-meta1.odg
Modify > Convert > To polygon
Save as > 10-polygon.odg
Modify > Convert > To metafile
Save as > 10-meta2.odg
Modify > Convert > To contour
Save as > 10-contour.odg
Re-open all saved files.

Actual Results:  
The 1 is in all files.
The 0 is missing in 10-curve.odg, 10-polygon.odg, 10-contour.odg


Expected Results:
The 1 is in all files.
The 0 is in all files.




Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: da
Module: DrawingDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
Comment 1 Ole Tange 2017-10-26 14:56:54 UTC
Created attachment 137303 [details]
10-meta.odg
Comment 2 Ole Tange 2017-10-26 15:00:15 UTC
Possibly related to Bug 113039.
Comment 3 Ole Tange 2017-10-26 15:02:12 UTC
The Graphics is partially lost if converted from metafile to curve or polygon or contour.
Comment 4 Ole Tange 2017-10-26 15:10:07 UTC
Workaround:

Convert to metafile before saving.
Convert back to curve/poly/contour for editing.
Then back to metafile.
Then Save.
Comment 5 Mohamed 2017-10-27 06:20:35 UTC
Issue is reproduced on both following environments : 
    • Operating system : Windows 8.1 Pro 64-bits.
    • LibreOffice : Version: 5.4.2.2
		Build ID: 22b09f6418e8c2d508a9eaf86b2399209b0990f4
		CPU threads: 4; OS: Windows 6.2; UI render: default; 
		Locale: en-US (en_US); Calc: group

     And also on :
    • Operating system : Ubuntu 16.04.3 64-bits.
    • LibreOffice :Version: 5.4.2.2
		Build ID: 22b09f6418e8c2d508a9eaf86b2399209b0990f4
		CPU threads: 8; OS: Linux 4.4; UI render: default; VCL: gtk2; 
		Locale: ja-JP (ja_JP.UTF-8); Calc: group
Comment 6 QA Administrators 2018-10-28 03:58:02 UTC Comment hidden (obsolete)
Comment 7 Ole Tange 2018-10-29 13:45:23 UTC
Bug is still present in:

Version: 6.1.2.1 (x64)
Build ID: 65905a128db06ba48db947242809d14d3f9a93fe
CPU tråde: 4; Styresystem: Windows 10.0; Gengiver af brugergrænseflade: Standard; 
Lokalisering: da-DK (da_DK); Calc: CL
Comment 8 QA Administrators 2019-10-30 03:37:25 UTC Comment hidden (obsolete)
Comment 9 Ole Tange 2019-10-30 15:17:15 UTC
Version: 6.3.2.2 (x86)
Build ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c