To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=83553 Issue #|83553 Summary|performance: excessive reformatting in textboxes Component|Drawing Version|OOo 2.3 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|cgu Reported by|hdu
------- Additional comments from [EMAIL PROTECTED] Mon Nov 12 09:51:07 +0000 2007 ------- Issue 83491 complains about massive performance regressions even though the CWS that introduced it made text layout a little bit more costly. Analyzing the situation showed that the whole textbox is completely reformatted from top to bottom for every single mouse move event! This causes quite some sluggishness. It seems SdrTextObj is at fault. #0 OutputDevice::GetTextArray (this=0xaed451d8, [EMAIL PROTECTED], pDXAry=0xabe9c730, nIndex=0, nLen=37) #1 0xb1c4bf43 in SvxFont::QuickGetTextSize (this=0xbfc68d20, pOut=0xaed451d8, [EMAIL PROTECTED], nIdx=0, nLen=37, pDXArray=0xabe9c730) at unxlngi6.pro/inc/tools/gen.hxx:250 #2 0xb1cbe316 in ImpEditEngine::CreateLines (this=0xae5cbd60, nPara=0, nStartPosY=0) at ./ impedit.hxx:932 #3 0xb1cbf89e in ImpEditEngine::FormatDoc (this=0xae5cbd60) at ./editdoc.hxx:593 #4 0xb1cbfcb4 in ImpEditEngine::FormatFullDoc (this=0xae5cbd60) at svx/source/editeng/ impedit3.cxx:368 #5 0xb1c8aca3 in EditEngine::SetPaperSize (this=0xb324a948, [EMAIL PROTECTED]) at svx/ source/editeng/editeng.cxx:533 #6 0xb1cde241 in Outliner::SetPaperSize (this=0xad699718, [EMAIL PROTECTED]) at svx/source/ outliner/outlin2.cxx:257 #7 0xb1aac3b7 in SdrTextObj::TakeTextRect (this=0xadf72d38, [EMAIL PROTECTED], [EMAIL PROTECTED], bNoEditText=0, pAnchorRect=0xbfc69054, bLineWidth=0 '\0') at svx/source/svdraw/svdotext.cxx:971 #8 0xb1aa8db4 in SdrTextObj::CheckHit (this=0xadf72d38, [EMAIL PROTECTED], nTol=96, pVisiLayer=0x157) at svx/source/svdraw/svdotext.cxx:1549 #9 0xb1ab42f9 in SdrRectObj::ImpCheckHit (this=0xadf72d38, [EMAIL PROTECTED], nTol=96, pVisiLayer=0xad68c58e, bForceFilled=0, bForceTol=0) at svx/source/svdraw/svdorect.cxx:525 #10 0xb1ab4330 in SdrRectObj::CheckHit (this=0xadf72d38, [EMAIL PROTECTED], nTol=38680, pVisiLayer=0xad68c58e) at svx/source/svdraw/svdorect.cxx:532 #11 0xb1a5ccaf in SdrMarkView::ImpCheckObjHit (this=0xaf26920c, [EMAIL PROTECTED], nTol=96, pObj=0xadf72d38, pPV=0xad68c544, nOptions=7, pMVisLay=0x0) at ../../inc/svx/svdpagv.hxx:275 #12 0xb1a5cab1 in SdrMarkView::ImpCheckObjHit (this=0xaf26920c, [EMAIL PROTECTED], nTol=96, pOL=0xae5a4ad8, pPV=0xad68c544, nOptions=7, pMVisLay=0x0, [EMAIL PROTECTED]) at svx/source/svdraw/svdmrkv.cxx:1639 #13 0xb1a5d065 in SdrMarkView::PickObj (this=0xaf26920c, [EMAIL PROTECTED], nTol=96, [EMAIL PROTECTED], [EMAIL PROTECTED], nOptions=7, ppRootObj=0xbfc69410, pnMarkNum=0xad68c544, pnPassNum=0xbfc694f6) at svx/source/svdraw/svdmrkv.cxx:1732 #14 0xb1a90fb5 in SdrView::PickAnything (this=0xaf26920c, [EMAIL PROTECTED], [EMAIL PROTECTED]) at svx/source/svdraw/svdview.cxx:411 #15 0xb1a920e8 in SdrView::PickAnything (this=0xaf26920c, [EMAIL PROTECTED], nEventKind=38680, [EMAIL PROTECTED]) at svx/source/svdraw/svdview.cxx:342 #16 0xae3b9d6b in sd::FuDraw::ForcePointer (this=0xabf946cc, pMEvt=0xbfc69894) at sd/source/ui/ func/fudraw.cxx:728 #17 0xae3b9603 in sd::FuDraw::MouseMove (this=0xabf946cc, [EMAIL PROTECTED]) at sd/source/ui/ func/fudraw.cxx:424 #18 0xae3bc0f4 in sd::FuSelection::MouseMove (this=0xabf946cc, [EMAIL PROTECTED]) at sd/source/ ui/func/fusel.cxx:660 #19 0xae14ffc2 in sd::ViewShell::MouseMove (this=0xabfbcc88, [EMAIL PROTECTED], pWin=0xabf96668) at unxlngi6.pro/inc/rtl/ref.hxx:111 #20 0xae16353c in sd::DrawViewShell::MouseMove (this=0xabfbcc88, [EMAIL PROTECTED], pWin=0xabf96668) at sd/source/ui/view/drviews4.cxx:430 #21 0xae156d09 in sd::Window::MouseMove (this=0x0, [EMAIL PROTECTED]) at sd/source/ui/view/ sdwindow.cxx:366 --------------------------------------------------------------------- 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]