Bug 96345 - Copying from Draw and pasting as GDI metafile or Bitmap to Writer results in deformed drawing
Summary: Copying from Draw and pasting as GDI metafile or Bitmap to Writer results in ...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.4.6.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paste Draw-Images
  Show dependency treegraph
 
Reported: 2015-12-08 23:34 UTC by wighou
Modified: 2019-12-03 15:53 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
draw figure (13.23 KB, application/vnd.oasis.opendocument.graphics)
2015-12-08 23:34 UTC, wighou
Details
figure correctly handled as draw8 OLE object (23.98 KB, application/vnd.oasis.opendocument.text)
2015-12-09 04:19 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wighou 2015-12-08 23:34:13 UTC
Created attachment 121152 [details]
draw figure

When copying the whole figure attached from Draw to Writer, it appears totally deformed. It occures for all special paste modes.
Comment 1 V Stuart Foote 2015-12-09 04:19:17 UTC
Created attachment 121155 [details]
figure correctly handled as draw8 OLE object

On Windows 10 Pro 64-bit with
Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75-GL
Locale: en-US (en_US)

Works for me.

The selected element from the ODG will correctly paste special as OLE draw8 object as in attached. 

Also, works well if you save as/export from Draw into any of the supported graphics formats.  And then insert the resulting graphic/image.
Comment 2 Regina Henschel 2015-12-09 22:15:29 UTC
Import as "Bitmap" or as "GDI Metafile" is broken for me. I use Version: 5.2.0.0.alpha0+
Build ID: 81fa5340191baf8687f9c82f1f414f5afc86b529
Threads 4; Ver: Windows 6.1; Render: default; 
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-12-03_21:19:19
Locale: de-DE (de_DE)

Workaround: Convert it to Metafile in Draw and then insert it as Metafile in Writer.

Import as "Drawing format" works for me.
Comment 3 Wolfgang Jäger 2015-12-10 11:43:40 UTC
As reported in https://ask.libreoffice.org/de/question/61770/probleme-mit-gdi-metafile-einfuegen-in-writer/?answer=61799#post-id-61799 the bug is already present in V4.4.6.3. There also is wemphasised that it did not occur in 4.3.5.

Version field changed.
Comment 4 Buovjaga 2015-12-14 11:23:07 UTC
Yeah, paste as GDI metafile or bitmap is broken.

Win 7 Pro 64-bit, Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale: fi-FI (fi_FI)

Version: 5.2.0.0.alpha0+
Build ID: 917d59a84124d1022bd1912874e7a53c674784f1
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-12-12_12:17:04
Locale: fi-FI (fi_FI)
Comment 5 QA Administrators 2017-01-03 19:50:00 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2019-12-03 14:51:56 UTC Comment hidden (obsolete)
Comment 7 Regina Henschel 2019-12-03 15:53:51 UTC
Tested with Version: 6.5.0.0.alpha0+ (x64)
Build ID: 800b6f095f95ccfb8a7ba9755292332bf97f97ad
CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: default; VCL: win; 
Locale: de-DE (en_US); UI-Language: en-US
Calc: threaded

Als three formats "drawing format", "GDI" and "BMP" look correct.