Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Cannot resize AutoGrowWidth text shape in the first try | ||
---|---|---|---|
Product: | Draw | Reporter: | Armin Le Grand <Armin.Le.Grand> |
Component: | editing | Assignee: | Armin Le Grand <Armin.Le.Grand> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | Normal | ||
Priority: | P3 | CC: | louqingle |
Version: | 4.0.0-dev | ||
Target Milestone: | 4.0.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- | ||
Issue Depends on: | |||
Issue Blocks: | 121365, 121373 |
Description
Armin Le Grand
2012-09-18 02:06:55 UTC
ALG: Taking a look... ALG: The reason is that there is code to reset AutoGrowWidth on the object, but it is set at a cloned object with the new overlay dragging. When creating a new clone, only the geometry is applied to it. Internal changes like this indirect item change will get lost. Ading some code to SdrDragObjOwn implementaion which is in charge of creating and setting up the clones. "alg" committed SVN revision 1387434 into trunk: #120999# Added support code in SdrDragObjOwn::MoveSdrDrag to rescue the chang... ALG: Saving AutoGrowWidth inside SdrDragObjOwn::MoveSdrDrag and applying it to newly create clones and the original. This saves the problem, the shape can be resized on the first try. Comitted, done. verified in build 1409708 on Win7, suse 11 sp1 and Mac 10.7, the text box can be resized at the first try. |