[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 169516] RFE: add configuration setting for default zoom
From:       Michal Svec <rebel () atrey ! karlin ! mff ! cuni ! cz>
Date:       2011-08-22 19:56:58
Message-ID: E1QvacE-0005nq-9x () bugs ! kde ! org
[Download RAW message or body]

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 watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic