Apache OpenOffice (AOO) Bugzilla – Issue 31506
Layout wants to paint even if window isn't completely visible
Last modified: 2017-05-20 11:25:42 UTC
In our current CWS mav09 we changed the way of inplace activation so that only one resize event is generated, and it appears very late in time. In the meantime the Writer gets a notification about a "Title changed" event, updates all fields and starts layouting. As a result, the SwRootFrm::Paint method is called though the edit window is not visible completely. Call stack: sw680mi.dll!SwLayVout::Enter(ViewShell * pShell=0x0b10e728, SwRect & rRect={...}, unsigned char bOn=' ') Line 257 C++ sw680mi.dll!SwRootFrm::Paint(const SwRect & rRect={...}) Line 2209 C++ sw680mi.dll!ViewShell::ImplEndAction(const unsigned char bIdleEnd=0) Line 384 C++ sw680mi.dll!SwCrsrShell::EndAction(const unsigned char bIdleEnd=0) Line 353 + 0x1a C++ sw680mi.dll!SwEditShell::EndAllAction() Line 202 C++ sw680mi.dll!SwDocShell::Notify(SfxBroadcaster & __formal={...}, const SfxHint & rHint={...}) Line 421 C++ svl680mi.dll!SfxBroadcaster::Broadcast() + 0x58 C++ sfx680mi.dll!SfxObjectShell::SetNamedVisibility_Impl() Line 889 + 0x26 C++ sfx680mi.dll!SfxViewFrame::GetDocNumber_Impl() Line 2115 C++ sfx680mi.dll!SfxViewFrame::Show() Line 2183 C++ sfx680mi.dll!SfxTopFrame::InsertDocument(SfxObjectShell * pDoc=0x068c7b18) Line 959 C++ I only changed the assertion in SwLayVOut::Enter that complained that the VisArea is too small (this is a result of the fact that the window is not visible, so its output size is still (0,0)!).
Reset assigne to the default "issues@openoffice.apache.org".