Bug 39827 - svm graphics in OLE-object are displaced when leaving edit mode
Summary: svm graphics in OLE-object are displaced when leaving edit mode
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
(earliest affected)
3.4.1 RC1
Hardware: Other All
: medium normal
Assignee: Not Assigned
Depends on:
Reported: 2011-08-04 06:04 UTC by Regina Henschel
Modified: 2017-01-03 22:26 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

Wrong displacement of svm-graphic (16.88 KB, application/vnd.oasis.opendocument.spreadsheet)
2011-08-04 06:04 UTC, Regina Henschel
A draw document with embedded writer OLE (24.10 KB, application/vnd.oasis.opendocument.graphics)
2011-08-28 08:57 UTC, Regina Henschel

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2011-08-04 06:04:13 UTC
Created attachment 49913 [details]
Wrong displacement of svm-graphic

(Copy from OOo issue 118380)

Open the attached file. It contains an xy-chart, where each data point has got
its own marker. In the blue line the markers are used with there original size.
In the red line the markers are set to 1cm size.
The square with cross in the middle has file type svm (starview metafile), the
left marker is an standardsymgol, the right marker is a bullet picture from the

Doubleclick the chart to go to edit mode. Notice, that all markers are on the
correct position.

Leave edit mode. Notice, that the 1cm marker with the svm-graphic is displaces.
This happens, when the size set in the data point dialog is different from the
original size of the svm-graphic. The amount of displacement depends on the
choosen size.

This displacement happens when you use the svm-graphic via gallery and via
file... as well.

The placement was correct in OOo2.4.3.
Comment 1 Regina Henschel 2011-08-05 11:56:58 UTC
I have found, that the error does occur with a svm-graphic in any OLE. So if you insert a Writer-OLE that contains a svm-graphic into a draw document, the svm-graphics are displaced, when you leave the edit mode of the OLE.

I'll change the subject accordingly.
Comment 2 Regina Henschel 2011-08-28 08:57:18 UTC
Created attachment 50633 [details]
A draw document with embedded writer OLE

Open the attached file and double-click the OLE-object. Notice, that there are two graphic objects on the Writer page. One is a wmf-file, the other is a svm-file. Leave the edit mode. Notice, that the svm-file is missing.

Open the document in OOo2.4.3. There you will see both objects on the right place.

I don't know when the error has been introduced, but till DEV300m68 (build 9474) you get this behavior: When leaving the edit mode of the OLE, both graphics disappear. If you have set the zoom to 10% before switching to edit mode, you can notice, that the graphic objects are still there, but they are not connected to the document part of the view, but to the application window.

With DEV300m69 (build 9491) the wmf-graphic is inside the document again, but the svm-graphic disappears totally. I guess, that the change is caused be the integration of CWS aw078 with heavy work on metafile.

To me it seems, that dealing the svm format has been forgotten.
Comment 3 Björn Michaelsen 2011-12-23 12:23:20 UTC Comment hidden (obsolete)
Comment 4 sasha.libreoffice 2012-01-30 04:44:32 UTC
reproduced in LibO 3.6.0 master on Fedora 64 bit
Comment 5 QA Administrators 2014-10-24 03:18:19 UTC Comment hidden (obsolete)
Comment 6 sasha.libreoffice 2014-10-24 11:19:06 UTC
tested in on WinXP with second attachment:
after opening file we see only one rectangle, after double click on page we see second rectangle and it remains visible after pressing Esc key.
So, some bug still present
Comment 7 QA Administrators 2015-12-20 16:14:52 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2017-01-03 19:49:00 UTC Comment hidden (obsolete)
Comment 9 Regina Henschel 2017-01-03 22:26:32 UTC
It is OK in Version:
Build ID: 1cb1cc30b5eb75483b6aaeec0192f7ee1d833461
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-01-01_23:25:36
Locale: de-DE (de_DE); Calc: group

In case of the Writer-OLE you need to adjust width and height to make the text appear at the correct position, but after that, rectangles and text are always correct.

The chart is correct immediately.