Is it possible to set a default scroll view as continuous. Seems a much better default.

Asked by Jeff Van Dam

I would like to set continuous scrolling as default.

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 Jeff,

If you always use the continuous view, this should happen automatically. When qpdfview opens a document, the initial view mode is determined by:

1. Whether the document explicitly requests one, e.g. some documents request being displayed in two columns of pages.

2. You enable per-file settings and have opened this file before, then that state is restored.

3. The view mode that you was your last explicit choice is used otherwise.

The idea is that this way, there should be not need for an explicit default as selecting your preference for a document should apply them to newly opened documents as well.

Best regards,
Adam

Revision history for this message
Jeff Van Dam (jeffwvandam) said :
#2

Hi Adam, thank you for the quick response. i appreciate it. That seems like
a great setup. Strangely though it doesn't seem to be sticking for me. I
don't have per-file settings selected and it seems to be somewhat random. I
know that does not make sense but it seems to open files with continuous
viewing at times, but inconsistently. I've tried reinstalling but no
change. I'll mess around with it a bit. Thanks again.

On Mon, Dec 28, 2020 at 6:20 PM Adam Reichold <
<email address hidden>> wrote:

> Your question #694714 on qpdfview changed:
> https://answers.launchpad.net/qpdfview/+question/694714
>
> Status: Open => Answered
>
> Adam Reichold proposed the following answer:
> Hello Jeff,
>
> If you always use the continuous view, this should happen automatically.
> When qpdfview opens a document, the initial view mode is determined by:
>
> 1. Whether the document explicitly requests one, e.g. some documents
> request being displayed in two columns of pages.
>
> 2. You enable per-file settings and have opened this file before, then
> that state is restored.
>
> 3. The view mode that you was your last explicit choice is used
> otherwise.
>
> The idea is that this way, there should be not need for an explicit
> default as selecting your preference for a document should apply them to
> newly opened documents as well.
>
> Best regards,
> Adam
>
> --
> 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/694714/+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/694714
>
> You received this question notification because you asked the question.
>

Revision history for this message
Adam Reichold (adamreichold) said :
#3

Hello again,

one complication to the above might be that if you enabled "Restore tabs" this is done using the same mechanisms that modify the view mode via the UI, i.e. if the last tab restored after start-up uses a paged view mode, this will be the initial view mode for first newly opened tab.

If it is essentially random or rather inconsistent than that sounds like a bug and it would be great to be able to reproduce this. (At the moment I cannot.) In that case, it would also be important to make sure that it still affects the latest version of the software, e.g. using the dailydebs available at [1].

Best regards,
Adam

[1] https://code.launchpad.net/~adamreichold/+archive/ubuntu/qpdfview-dailydeb

Revision history for this message
Adam Reichold (adamreichold) said :
#4

One more thing that another user ran into once and that you could check is whether qpdfview is able to write its settings file usually located at ~/.config/qpdfview. The settings are lazily synchronized with the content on disk in the background which can make this look erratic. But on the other, this should imply that you cannot persistently change your settings at all between restarts.

Revision history for this message
Jeff Van Dam (jeffwvandam) said :
#5

Adam, thank you very much. I should have checked that but you are correct.
The qpdf config folder was owned by root and user changes were not saved.
I should have checked. Thanks again and happy new year!

On Tue, Dec 29, 2020 at 5:25 PM Adam Reichold <
<email address hidden>> wrote:

> Your question #694714 on qpdfview changed:
> https://answers.launchpad.net/qpdfview/+question/694714
>
> Adam Reichold posted a new comment:
> One more thing that another user ran into once and that you could check
> is whether qpdfview is able to write its settings file usually located
> at ~/.config/qpdfview. The settings are lazily synchronized with the
> content on disk in the background which can make this look erratic. But
> on the other, this should imply that you cannot persistently change your
> settings at all between restarts.
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Jeff Van Dam (jeffwvandam) said :
#6

Thanks Adam Reichold, that solved my question.