<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-mailStijl17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=NL link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi all,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have been working on and off at bug fdo#40465.<o:p></o:p></p><p class=MsoNormal>The problem is that when the width of the window showing the document changes to an extend that the number of pages next to each other (the number of columns) changes, the visible page jumps.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>If in a multi-page document that shows 2 pages next to each other <o:p></o:p></p><p class=MsoNormal>-you look at a page (row n when you regard all the pages arrayed in rows and columns);<o:p></o:p></p><p class=MsoNormal>-you change the width of the window (or zoom, or open/close a docked verticaltoolbar) so that the number of columns changes;<o:p></o:p></p><p class=MsoNormal>-the view is repainted and you will see that you still look at a page at row n. Only, as the number of columns has changed, that page no longer is the page you saw before the repaint.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>(note: when the cursor is in view, zooming will not show this problem, becasue that part has been fixed)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Unfortunately, I haven't found the relevant code yet.<o:p></o:p></p><p class=MsoNormal>Can someone point me to the code where the page to be painted is calculated from the row/column position of the page?<o:p></o:p></p><p class=MsoNormal>All help will be very much appreciated.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:NL'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:NL'>Winfried<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>