Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | svm graphics in OLE-object are displaced when leaving edit mode | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Draw | Reporter: | Regina Henschel <rb.henschel> | ||||||||
Component: | viewing | Assignee: | AOO issues mailing list <issues> | ||||||||
Status: | UNCONFIRMED --- | QA Contact: | |||||||||
Severity: | Normal | ||||||||||
Priority: | P3 | CC: | Armin.Le.Grand, issues | ||||||||
Version: | DEV300m104 | ||||||||||
Target Milestone: | --- | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows XP | ||||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||||
Developer Difficulty: | --- | ||||||||||
Attachments: |
|
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. ALG->Regina: Does not happen in my current version, may be fixed with the current OLE enhancements. Please re-check with current version. I have used the last version from Ariel to check. Results: Chart as OLE: Bullet markers of type svm are OK now. That is very nice, because svm markers are transparent. Draw document as OLE: That is OK in all document kinds as target. So your implementation has fixed it here. Writer document as OLE: It is possible to insert the OLE file, but the svm-graphics are totally displaced, independent of their size. And worse, a double-click on the OLE crashes AOOo. This happens with all document kinds as target. The crash does not occur, if the source document contains no svm-graphics. I'll attach a zipped folder of test documents for the Writer case. Created attachment 76946 [details]
folder with documents for writer case
Created attachment 78214 [details]
Writer document with svm graphic
Start with new Draw document.
Insert OLE from file.
Select attached document SVMTestSource.odt.
Notice the displaced SVM graphics. They should be next to the squares.
Double click the OLE -> Crash.
With a debug build I get the error message
Error: ImplHandleMouseEvent: mouse event is not sent to capture window
From File c:/AOO_2012_05_git_Calc/trunk/main/vcl/source/window/winproc.cxx at Line 422
It does not crash, if the OLE is linked, not embedded. getting rid of value "enhancement" for field "severity". For enhancement the field "issue type" shall be used. Reset assigne to the default "issues@openoffice.apache.org". |
Created attachment 76740 [details] Wrong displacement of svm-graphic 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 gallery. 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.