Bug 83273 - FILEOPEN: CGM is treated as presentation format instead of as a drawing
Summary: FILEOPEN: CGM is treated as presentation format instead of as a drawing
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: low enhancement
Assignee: Not Assigned
URL:
Whiteboard: filter:openCGM
Keywords:
Depends on:
Blocks: Format-Filters
  Show dependency treegraph
 
Reported: 2014-08-30 13:56 UTC by Hans Breuer
Modified: 2020-08-16 13:21 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
render-test.cgm generated by Dia master (160.65 KB, image/cgm)
2014-09-03 09:31 UTC, Hans Breuer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Breuer 2014-08-30 13:56:19 UTC
Trying to open render-test.cgm in Draw imports the file to Impress. At least for files containing only single CGM picture it should be possible to open it in Draw.
Comment 1 Joel Madero 2014-09-03 09:01:59 UTC
Please attach a cgm file. Marking as NEEDINFO - once you add attachment set to UNCONFIRMED. Thanks!
Comment 2 Maxim Monastirsky 2014-09-03 09:26:13 UTC
I think the reporter is referring to attachment 105465 [details] from Bug 83272.

cgm is indeed registered as Impress type here: http://opengrok.libreoffice.org/xref/core/filter/source/config/fragments/filters/CGM___Computer_Graphics_Metafile.xcu#29
Comment 3 Hans Breuer 2014-09-03 09:31:20 UTC
Created attachment 105669 [details]
render-test.cgm generated by Dia master
Comment 4 Hans Breuer 2014-09-03 09:33:33 UTC
The issue still exists with 4.3.0.4 on Windows and according to comment #2 I doubt this is specific to this single file.
Comment 5 Buovjaga 2014-11-13 12:42:42 UTC
Reproduced.

Win 7 64-bit Version: 4.4.0.0.alpha2+
Build ID: b021b5983c62e266b82d9f0c5c6d8d8900553827
TinderBox: Win-x86@39, Branch:master, Time: 2014-11-12_01:10:08

Ubuntu 14.10 64-bit Version: 4.4.0.0.alpha2+
Build ID: 5bff4b016c4b44f4123e0e6a4fd4c0c4dc0cfa2d
TinderBox: Linux-rpm_deb-x86_64@46-TDF-dbg, Branch:master, Time: 2014-11-13_00:14:29
Comment 6 V Stuart Foote 2014-11-13 18:16:11 UTC
Might be reasonable to adjust filter support for CGM images to include handling in the Draw component. Otherwise, NOTABUG because as in comment 2 Impress is the designated handler for CGM images--as implemented in OOo.

Setting Enhancement

The issues of poor vector line style import filtering of bug 83272 remain.