Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On Mon, 2013-01-14 at 14:01 +0100, Winfried Donkers wrote:
SwCrsrShell::CrsrIsVisible() returns sal_True, zoom % is 60,
SwCrsrShell::aVisArea.Top(), Bottom() give 170460 and 188635.

I then move the cursor one line down and back (no scrolling), zoom to
55% and back to 60%.

The visible area looks identical, the cursor is back in the same
location.

Now SwCrsrShell::CrsrIsVisible() returns sal_True, zoom % is 60,
SwCrsrShell::aVisArea.Top(), Bottom() give 115860 and 134035. The
cursor rectangle position has not changed and now is not in
SwCrsrShell::aVisArea (cursor top/bottom is 121272/122191).

 

What is the explanation for this behaviour?

I don't know that area of the code too well, but this smells pretty bad.
May be looking at what changes the aVisArea to these (false) values
would help.

--
Cedric



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.