[Okular-devel] [Bug 169516] RFE: add configuration setting for default zoom

Michal Svec rebel at atrey.karlin.mff.cuni.cz
Mon Aug 22 19:56:58 UTC 2011


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





--- Comment #40 from Michal Svec <rebel atrey karlin mff cuni cz>  2011-08-22 19:56:57 ---
Guys, stop bitching and do something useful instead, like implement this :)
It should not be that difficult ...

The repo is here:
  https://projects.kde.org/projects/kde/kdegraphics/okular/repository

And it's a matter of finding the right code in ui/pageview.cpp that
initializes the zoom mode and put there something like this:

  if(document.page[0].width > document.page[0].height)
    zoomMode=FitPage;
  else
    zoomMode=FitWidth;

Adding a configuration option should not be difficult either.
A UI for that would not even be necessary, it would be a bonus :)

-- 
Configure bugmail: https://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