Issue 119540

Summary: [From Symphony] After activate the OLE in Spreadsheet, the OLE will move to the top left corner.
Product: Calc Reporter: Shan Zhu <shanzhu33>
Component: editingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: Armin.Le.Grand, issues
Version: 3.4.0   
Target Milestone: ---   
Hardware: PC   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
.xlsx file with a PowerPoint Slide OLE in
none
bug fix patch awf.aoo: review-

Description Shan Zhu 2012-05-30 02:59:46 UTC
Created attachment 77748 [details]
.xlsx file with a PowerPoint Slide OLE in

Build Info: AOO3.4_r1327774. 

Reproduce Steps:
1. Open the .xlsx sample file attached which has a slide OLE in.
2. Double click the OLE in the document to activate it, then exit edit mode.

Defect :  
The OLE will be moved to the left top corner of current sheet. While drag it, you can find that it becomes very large.

Note:
Other MS office OLE (say, Word document OLE,etc) also have this issue.
Comment 1 wujinlong 2012-06-11 08:27:03 UTC
Created attachment 78229 [details]
bug fix patch

XEmbeddedObject::getStatus() always return 0 on Windows. Add one condition to change visual area if different from client size.
Comment 2 Yan Ji 2012-06-21 05:59:16 UTC
It can be reproduced in AOO 3.4, change status to "CONFIRMED"
Comment 3 Armin Le Grand 2012-06-22 11:58:54 UTC
ALG: Wen I add the patch, the OLE does no longer jump, but it cannot be activated anymore. It seems to have to do with 

                    xObj->setVisualAreaSize( pClient->GetAspect(), aSz );

in tabvwshb.cxx line 162 (with patch applied).

ALG->wujinlong: Please have a second look.
Comment 4 Andre 2012-07-09 15:57:32 UTC
Comment on attachment 78229 [details]
bug fix patch

The patch fixes the problem of jumping position but introduces another one: OLE can not be activated anymore:  Patch needs modification.
Comment 5 Marcus 2017-05-20 11:27:29 UTC
Reset assigne to the default "issues@openoffice.apache.org".