Issue 119540 - [From Symphony] After activate the OLE in Spreadsheet, the OLE will move to the top left corner.
Summary: [From Symphony] After activate the OLE in Spreadsheet, the OLE will move to t...
Alias: None
Product: Calc
Classification: Application
Component: editing (show other issues)
Version: 3.4.0
Hardware: PC All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2012-05-30 02:59 UTC by Shan Zhu
Modified: 2017-05-20 11:27 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

.xlsx file with a PowerPoint Slide OLE in (378.55 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2012-05-30 02:59 UTC, Shan Zhu
no flags Details
bug fix patch (693 bytes, patch)
2012-06-11 08:27 UTC, wujinlong
awf.aoo: review-
Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
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.

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 "".