Re: In KoTextDocumentLayout::documentChanged update only following pages (fixes loop)

2011-05-15 Thread Sebastian Sauer
On Sunday 15 May 2011 21:52:07 C. Boemann wrote: > On Sunday 15 May 2011 21:36:48 Sebastian Sauer wrote: > > Hi, > > > > please see following patch for libs/textlayout/KoTextDocumentLayout.cpp > > to prevent doing full relayouts just cause we update the page-variable. > > > > This fixes the infin

Re: Infinite loop fix that disables the experitmenal iterative mode in KoTextDocumentLayout::positionAnchoredObstructions

2011-05-15 Thread Sebastian Sauer
On Sunday 15 May 2011 21:53:34 C. Boemann wrote: > On Sunday 15 May 2011 21:40:45 Sebastian Sauer wrote: > > Following patch fixes infinite loops with > > http://www.zagge.de/anchor/110407/www.coe.unt.edu%252Fsystem%252Ffiles%252F > > > 433%252F833%252FTEKS%2520A2%2520B%2520Cab%2520Ride.docx > >

Re: Infinite loop fix that disables the experitmenal iterative mode in KoTextDocumentLayout::positionAnchoredObstructions

2011-05-15 Thread C. Boemann
On Sunday 15 May 2011 21:40:45 Sebastian Sauer wrote: > Following patch fixes infinite loops with > > http://www.zagge.de/anchor/110407/www.coe.unt.edu%252Fsystem%252Ffiles%252F > 433%252F833%252FTEKS%2520A2%2520B%2520Cab%2520Ride.docx > http://www.zagge.de/anchor/110407/www.colfinder.net%252Fmat

Re: In KoTextDocumentLayout::documentChanged update only following pages (fixes loop)

2011-05-15 Thread C. Boemann
On Sunday 15 May 2011 21:36:48 Sebastian Sauer wrote: > Hi, > > please see following patch for libs/textlayout/KoTextDocumentLayout.cpp to > prevent doing full relayouts just cause we update the page-variable. > > This fixes the infinite loop with the > http://www.zagge.de/anchor/110407/wiki.serv

Infinite loop fix that disables the experitmenal iterative mode in KoTextDocumentLayout::positionAnchoredObstructions

2011-05-15 Thread Sebastian Sauer
Following patch fixes infinite loops with http://www.zagge.de/anchor/110407/www.coe.unt.edu%252Fsystem%252Ffiles%252F433%252F833%252FTEKS%2520A2%2520B%2520Cab%2520Ride.docx http://www.zagge.de/anchor/110407/www.colfinder.net%252Fmaterials%252FMalaria_Course%252Fodt%252FUNIT_6.odt http://www.zagge.

In KoTextDocumentLayout::documentChanged update only following pages (fixes loop)

2011-05-15 Thread Sebastian Sauer
Hi, please see following patch for libs/textlayout/KoTextDocumentLayout.cpp to prevent doing full relayouts just cause we update the page-variable. This fixes the infinite loop with the http://www.zagge.de/anchor/110407/wiki.services.openoffice.org%252Fw%252Fimages%252F9%252F91%252F%25305%25308

Do KoCanvasControllerWidget::updateDocumentSize only if size changed (fixes loop)

2011-05-15 Thread Sebastian Sauer
Hi, please see following patch for libs/flake/KoCanvasControllerWidget.cpp to prevent doing anything on KoCanvasControllerWidget::updateDocumentSize. This fixes the infinite loop with the http://www.zagge.de/anchor/110407/wiki.documentfoundation.org%252Fcgi_img_auth.php%252Fe%252Fe9%252F%25301%