Qpdfview won't maintain my horizontal view setting

Asked by ralphl on 2016-11-28

Using the horizontal scrollbar at the bottom I set qpdfview to center the printing on a document so that the mostly empty margins don't show. I then scroll down the document (using the rightmost part of my touchpad) and qpdfview resets the horizontal scrollbar to the left. Actually scrolling down by any means does the same thing. I work on a small laptop screen and commonly center a document not displaying the margins. Having qpdfview negate my setting makes it useless to me. Can you make qpdfview maintain my horizontal scroll setting??
Better yet would be to have built in setting to have it automatically fit the the document to the window with no margins. Some pdf views have this feature.
I am running Xubuntu 16.04 with the qpdfview 0.4.14--the one that came with Xubuntu.

Question information

Language:
English Edit question
Status:
Answered
For:
qpdfview Edit question
Assignee:
No assignee Edit question
Last query:
2016-12-01
Last reply:
2016-12-01
Adam Reichold (adamreichold) said : #1

Hello ralphl,

qpdfview should not change your horizontal position due to scrolling. It might however do so upon changing the page. Have you tried to enable the continuous view mode? Also version 0.4.14 should already have a "trim margins" setting, albeit a global one reachable via the settings dialog instead of a per-tab property which was introduced in version 0.4.15. That version also has another option called "minimal scrolling" enabled by default which tries to keep the page-relative position even when jumping to other pages e.g. by following links. You should be able to try it using the PPA at [1] (even though it seems like Benjamin needs to update to 0.4.16 and more recent Ubuntu distributions) or even the daily builds from [2].

[1] https://launchpad.net/~b-eltzner/+archive/ubuntu/qpdfview

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

ralphl (lachenmaier) said : #2

Thank you very much for your response. Yes, I was running in Page Mode, and switching to Continuous Mode fixed the horizontal scrolling problem. And I did find the Trim Margins setting under Main menu>Edit>Settings>Graphics. Thank you for pointing this out.
However, I was unable to install version 0.4.15 from Reference 1. I installed the ppa with

sudo add-apt-repository ppa:b-eltzner/qpdfview
sudo apt-get update

I got these errors:
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/b-eltzner/qpdfview/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/b-eltzner/qpdfview/ubuntu/dists/xenial/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

When I brought up Synaptic to complete the installation, all I found was version 0.4.14. Could you instruct me on how to fix this??

Adam Reichold (adamreichold) said : #3
Adam Reichold (adamreichold) said : #4

Hello again,

the rather confusion error probably indicates that Benjamin has not
found the time yet to create packages for Xenial Xerus AKA Ubuntu 16.04
LTS, hence you do not find any packages in Synaptic.

I think you have two options: Use the daily builds which are based on Qt
4 instead of Qt 5 and can break at any time or wait until Benjamin has
created and released new packages. (I CC'ed him so maybe he will find
some spare time to help you out.) (Technically, you can also build from
source yourself, but I wouldn't recommend it if you aren't keen on
trying it in the first place.)

Best regards, Adam.

Am 01.12.2016 um 16:37 schrieb ralphl:
> Question #404468 on qpdfview changed:
> https://answers.launchpad.net/qpdfview/+question/404468
>
> Status: Answered => Open
>
> ralphl is still having a problem:
> Thank you very much for your response. Yes, I was running in Page Mode, and switching to Continuous Mode fixed the horizontal scrolling problem. And I did find the Trim Margins setting under Main menu>Edit>Settings>Graphics. Thank you for pointing this out.
> However, I was unable to install version 0.4.15 from Reference 1. I installed the ppa with
>
> sudo add-apt-repository ppa:b-eltzner/qpdfview
> sudo apt-get update
>
> I got these errors:
> Reading package lists... Done
> W: The repository 'http://ppa.launchpad.net/b-eltzner/qpdfview/ubuntu xenial Release' does not have a Release file.
> N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
> N: See apt-secure(8) manpage for repository creation and user configuration details.
> E: Failed to fetch http://ppa.launchpad.net/b-eltzner/qpdfview/ubuntu/dists/xenial/main/binary-i386/Packages 404 Not Found
> E: Some index files failed to download. They have been ignored, or old ones used instead.
>
>
> When I brought up Synaptic to complete the installation, all I found was version 0.4.14. Could you instruct me on how to fix this??
>

Benjamin Eltzner (b-eltzner) said : #5

Hi, sorry for neglecting my packaging duties. I have now built packages of the new beta for the lts releases. Thank you for your patience so far.

Can you help with this problem?

Provide an answer of your own, or ask ralphl for more information if necessary.

To post a message you must log in.