To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=79921 Issue #|79921 Summary|Resizing Chart might just resize the replacement image | instead of getting a new one Component|Chart Version|680m219 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|editing Assigned to|mav Reported by|bm
------- Additional comments from [EMAIL PROTECTED] Mon Jul 23 17:39:35 +0000 2007 ------- 1. Create a Calc document, enter some numbers 2. Create a Chart (Insert Chart, while the cursor is in a cell with a number) 3. Leave the chart's inplace mode 4. Resize the chart out-place (e.g. just make it wider) => You'll notice that the chart is recalculated, esp.: the font still has the correct aspect ratio 5. Click on "Sheet2" (this swaps the chart out, maybe a running->loaded state change?) 6. Click back to "Sheet 1" 7. Resize the chart again, (e.g. just make it wider) => The chart is NOT recalculated, esp.: the fonts are stretched, collapsed due to a changed aspect ratio. ->MAV: I don't know if this is your place in the code to observe for this. This is what I found out as difference between 4. and 7.: When the chart is resized the method SdrOle2Obj::ImpSetVisAreaSize() is called. In this method SfxInPlaceClient::GetClient() is called (see svx/source/svdrwa/svdoole2.cxx:1534). In 4. this method returns an object, in 7. it returns NULL. Maybe this is the error. Maybe the condition for a proper resize "if ( pClient || bHasOwnClient )" some lines below is wrong. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]