qpdfview always opens at 51% zoom. How to change this?

Asked by CarbonPepper

Ubuntu 18.04. If I double-click a PDF file from any file manager, it always opens at 51% zoom and I have to zoom in. Fine for the occasional document, but it becomes tedious when I have to review 50+ documents.

Is there a way I can set a default? I can't see anything in the settings.

Question information

Language:
English Edit question
Status:
Solved
For:
qpdfview Edit question
Assignee:
No assignee Edit question
Solved by:
Adam Reichold
Solved:
Last query:
Last reply:
Revision history for this message
Best Adam Reichold (adamreichold) said :
#1

Hello,

qpdfview does not have an explicit default for things like the scale mode and factor, rather whenever you explicit set these values, they become the new default when you open a new tab. If you have to change them every time, this seems to indicate that qpdfview is unable to update to the new defaults.

It may take a few seconds until Qt writes out those settings to the underlying configuration file, so if qpdfview crashes they might get lost? Also if you have check the per-file settings, than those values will be tracked per-file which also has precedence over the defaults?

Best regards,
Adam.

P.S.: The actual values are stored in ~/.confg/qpdfview/qpdfview.conf, in the section [documentView] as scaleMode= and scaleFactor=.

Revision history for this message
CarbonPepper (carbonpepper) said :
#2

Hi Adam,

Many thanks for the detailed reply. You are correct, I can't determine
why, but ownership of the config file has somehow changed to root.
qpdfview was installed long before December 21. I've fixed it but I
thought I'd let you know.

~/.config/qpdfview$ ls -l
total 16K
-rw-rw-r-- 1 mark rdl 112 Jan 26 13:27 pdf-plugin.conf
-rw-rw-r-- 1 mark rdl 54 Jan 26 13:27 ps-plugin.conf
-rw-rw-r-- 1 root root 3.4K Dec 21 12:44 qpdfview.conf
-rw-rw-r-- 1 mark rdl 1.4K Jan 26 13:27 shortcuts.conf

Kind regards, Mark.

On Sat, 26 Jan 2019 at 17:08, Adam Reichold <
<email address hidden>> wrote:

> Your question #678113 on qpdfview changed:
> https://answers.launchpad.net/qpdfview/+question/678113
>
> Status: Open => Answered
>
> Adam Reichold proposed the following answer:
> Hello,
>
> qpdfview does not have an explicit default for things like the scale
> mode and factor, rather whenever you explicit set these values, they
> become the new default when you open a new tab. If you have to change
> them every time, this seems to indicate that qpdfview is unable to
> update to the new defaults.
>
> It may take a few seconds until Qt writes out those settings to the
> underlying configuration file, so if qpdfview crashes they might get
> lost? Also if you have check the per-file settings, than those values
> will be tracked per-file which also has precedence over the defaults?
>
> Best regards,
> Adam.
>
> P.S.: The actual values are stored in ~/.confg/qpdfview/qpdfview.conf,
> in the section [documentView] as scaleMode= and scaleFactor=.
>
> --
> 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/678113/+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/678113
>
> You received this question notification because you asked the question.
>

Revision history for this message
CarbonPepper (carbonpepper) said :
#3

Thanks Adam Reichold, that solved my question.