Issue 18490 - Continuous repainting during export
Summary: Continuous repainting during export
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC3
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-21 12:53 UTC by philipp.lohmann
Modified: 2013-08-07 14:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description philipp.lohmann 2003-08-21 12:53:30 UTC
- load a larger document (e.g. 200 pages)
- export as PDF
- while the progress bar advances you can witness the document being repainted
all the time

seen on Windows as well as Unix; on Unix it is more visible since painting is
slower.
Comment 1 frank.meies 2003-08-22 12:05:08 UTC
FME->PL: Well, SwEditWin::Paint() is called a million times from vcl
during the export. Could you please have a look?
Comment 2 frank.meies 2003-08-22 13:44:43 UTC
.
Comment 3 frank.meies 2003-08-25 07:43:44 UTC
.
Comment 4 philipp.lohmann 2003-08-25 11:17:23 UTC
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
Comment 5 frank.meies 2003-08-25 15:38:48 UTC
FME->OS: Seems like setting the view options always triggers an
invalidation of the window. This should not happen for setting the
'IsPDFExport' flag.
Comment 6 Oliver Specht 2003-08-29 09:17:11 UTC
Fixed in cws os 18
sw/inc/viewsh.hxx
sw/source/core/view/viewsh.cxx
sw/source/ui/uno/unotxdoc.cxx
Comment 7 Oliver Specht 2003-09-02 08:51:27 UTC
cws os18 can be found on so-cwsserv02, wntmsci8 and unxlngi5.pro
Comment 8 michael.ruess 2003-09-02 14:52:56 UTC
Checked Fix with internal CWS os18.
Comment 9 michael.ruess 2003-09-02 14:53:22 UTC
Verified. Fix will be available with OO 2.0.
Comment 10 michael.ruess 2004-06-09 11:25:10 UTC
tested integration in 680m38.