[Okular-devel] [okular] [Bug 335819] Zooming in doesn't work on certain documents.

tingnan.zhang at gmail.com tingnan.zhang at gmail.com
Tue Aug 19 22:19:37 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=335819

--- Comment #25 from tingnan.zhang at gmail.com ---
The problem actually may not be in the function Markus modified. The problem
lies in the function 

double PageView::zoomFactorFitMode( ZoomMode mode );

Each time you click zoom in, the values of zoomFactorFitWidth and
zoomFactorFitPage are computed from this function. I assumed that those values
would remain the same when the document portion of the window remains the same. 

However, I just did a quick check and found that the value returned from
viewport()->height() is changing even though the window size remains the same.
Is it a designed behaviour?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list