Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Continuous repainting during export | ||
---|---|---|---|
Product: | Writer | Reporter: | philipp.lohmann |
Component: | code | Assignee: | michael.ruess |
Status: | CLOSED FIXED | QA Contact: | issues@sw <issues> |
Severity: | Trivial | ||
Priority: | P3 | CC: | issues |
Version: | OOo 1.1 RC3 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
philipp.lohmann
2003-08-21 12:53:30 UTC
FME->PL: Well, SwEditWin::Paint() is called a million times from vcl during the export. Could you please have a look? . . pl->fme: the Paint calls get generated by writer using invalidate, call stack is this: #0 Window::Invalidate(unsigned short) (this=0x4606fa88, nFlags=0) at ../../inc/outdev.hxx:622 #1 0x452e74cd in ViewShell::ImplApplyViewOptions(SwViewOption const&) ( this=0x46073188, rOpt=@0xbfffc2d0) at /usr/data/vcl7pp1r2/sw.lnk/source/core/view/viewsh.cxx:2073 #2 0x452e6dd6 in ViewShell::ApplyViewOptions(SwViewOption const&) ( this=0x46073188, rOpt=@0xbfffc2d0) at /usr/data/vcl7pp1r2/sw.lnk/source/core/view/viewsh.cxx:1943 #3 0x459fba10 in SwXTextDocument::render(long, com::sun::star::uno::Any const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) (this=0xbfffc2d0, nRenderer=4, rSelection=@0x10, rxOptions=@0xbfffc330) at /usr/data/vcl7pp1r2/sw.lnk/source/ui/uno/unotxdoc.cxx:2605 FME->OS: Seems like setting the view options always triggers an invalidation of the window. This should not happen for setting the 'IsPDFExport' flag. Fixed in cws os 18 sw/inc/viewsh.hxx sw/source/core/view/viewsh.cxx sw/source/ui/uno/unotxdoc.cxx cws os18 can be found on so-cwsserv02, wntmsci8 and unxlngi5.pro Checked Fix with internal CWS os18. Verified. Fix will be available with OO 2.0. tested integration in 680m38. |