[Okular-devel] [Bug 175499] New: Scrollbar flipping can cause thrashing between two zoom sizes in fit width zoom mode

Tom Venman tcvenman at gmail.com
Tue Nov 18 16:07:58 CET 2008


http://bugs.kde.org/show_bug.cgi?id=175499

           Summary: Scrollbar flipping can cause thrashing between two zoom
                    sizes in fit width zoom mode
           Product: okular
           Version: 0.7.3
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: tcvenman at gmail.com


Version:           0.7.3 (using KDE 4.1.3)
OS:                Linux
Installed from:    SuSE RPMs

I opened a two-page PDF, and both pages appeared (facing pages view mode) with
'fit width' zoom level.  The pane where the pages were displayed was of such a
size that okular:
* would try to display the two pages at one zoom level, only to discover that
it needed to insert scrollbars, 
* which would cause the client area for the pages to shrink, 
* which would cause the zoom to be recalculated to a lower number, which would
happen to fit within the client area,
* which would mean that okular would decide that it didn't need the scroll bars
any more,
* which would enlarge the client area again,
* which would change the zoom level,
* which would lead us back to the first step

The result was that the page view would toggle between scrollbars present /
smaller zoom and scrollbars absent / larger zoom, a couple of times a second.

I could make it stop by moving the separator between the thumbnails view and
page view.  It seems that it's fairly sensitive to the actual fit of the page
view client area to the pages, both horizontally and vertically, so it may be
necessary to fiddle a bit with view size.  It looks like getting the page view
client area to almost exactly fit the two pages in 'fit width' mode is
necessary.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list