Default page zoom

Asked by Phillip Sear on 2016-11-29

Hi. Is it possible to set a default zoom of 'page size' when opening new files in qpdfview - I can only see a setting for 'zoom factors', and not for page size I have only just discovered your program but I am finding it very useful as an alternative to Foxit Reader (which is very slow to load).

Question information

Language:
English Edit question
Status:
Solved
For:
qpdfview Edit question
Assignee:
No assignee Edit question
Solved by:
Adam Reichold
Solved:
2016-11-29
Last query:
2016-11-29
Last reply:
2016-11-29
Best Adam Reichold (adamreichold) said : #1

Hello Philip,

depending on the version, the application should remember this automatically, i.e. every time you change the view mode, e.g. to fit-to-page, this will be saved as the default for newly opened tabs. So if you select fit-to-page once, it should become sort of a default for the future.

This can however be overridden in several ways: If per-file settings is enabled, the options for each particular file override these defaults. Some PDF documents also request specific view modes when opened which also overrides these defaults.

Hence there is no setting for an explicit default as the combination of automatic default and per-file settings usually works well enough with manual configuration.

Best regards, Adam.

P.S.: Zoom factor is used to determine how much the scale will change zooming in or out.

Phillip Sear (pccsear) said : #2

Thank you very much for that, Adam. I am glad I found your program, and I
hope that I will get used to this!

[image: Facebook] <https://www.facebook.com/phillip.sear> [image: Twitter]
<https://twitter.com/Phillip211> [image: LinkedIn]
<http://uk.linkedin.com/pub/phillip-sear/0/3b7/999> [image: Blogger]
<http://psearpianist.blogspot.com/> [image: Google Plus]
<https://plus.google.com/u/0/104692535623351115434> [image: MySpace]
<https://myspace.com/phillipsear> [image: YouTube]
<http://www.youtube.com/user/PSearPianist>

<http://www.bridalmarch.co.uk/>

✔ Get a Signature like this: Click Here!
<http://pizza.wisestamp.com/r?rdata=eyJydXJsIjogImh0dHA6Ly93cy1wcm9tb3MuYXBwc3BvdC5jb20vcj9yZGF0YT1leUp5ZFhKc0lqb2dJbWgwZEhBNkx5OTNkM2N1ZDJselpYTjBZVzF3TG1OdmJTOWxiV0ZwYkMxcGJuTjBZV3hzUDNkelgyNWphV1E5TmpjeU1qazBNVEl3Sm5WMGJWOXpiM1Z5WTJVOVpYaDBaVzV6YVc5dUpuVjBiVjl0WldScGRXMDlaVzFoYVd3bWRYUnRYMk5oYlhCaGFXZHVQWEJ5YjIxdlh6VTNNVE0xTnpNeU5UQTFPVFk0TmpRaUxDQWlaU0k2SUNJMU56RXpOVGN6TWpVd05UazJPRFkwSW4wPSIsICJlIjogInNpZ19jbGljayJ9>

On 29 November 2016 at 20:52, Adam Reichold <
<email address hidden>> wrote:

> Your question #404494 on qpdfview changed:
> https://answers.launchpad.net/qpdfview/+question/404494
>
> Status: Open => Answered
>
> Adam Reichold proposed the following answer:
> Hello Philip,
>
> depending on the version, the application should remember this
> automatically, i.e. every time you change the view mode, e.g. to fit-to-
> page, this will be saved as the default for newly opened tabs. So if you
> select fit-to-page once, it should become sort of a default for the
> future.
>
> This can however be overridden in several ways: If per-file settings is
> enabled, the options for each particular file override these defaults.
> Some PDF documents also request specific view modes when opened which
> also overrides these defaults.
>
> Hence there is no setting for an explicit default as the combination of
> automatic default and per-file settings usually works well enough with
> manual configuration.
>
> Best regards, Adam.
>
> P.S.: Zoom factor is used to determine how much the scale will change
> zooming in or out.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/qpdfview/+question/404494/+
> confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/qpdfview/+question/404494
>
> You received this question notification because you asked the question.
>

Phillip Sear (pccsear) said : #3

Thanks Adam Reichold, that solved my question.

etienne_ch (ramgam) said : #4

Hi Adam

You've written above that :

"Some PDF documents also request specific view modes when opened which also overrides these defaults."

Is there a way to open any PDF in single page view + fit-to-page whatever the PDF says, cause that's what I'm looking for.

Thanks

Adam Reichold (adamreichold) said : #5

Hello Etienne,

the only way to ensure this would be to use qpdfview's D-Bus interface and script this using e.g. Python. This way one would be able to open a document and then force the view parameters as desired.

Best regards, Adam

etienne_ch (ramgam) said : #6

OK thanks

I didn't know about that D-bus interface. Maybe I'll try some bash script on it then if I find time.