Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Border between pages in the two pages view #706

Open
1 task done
artkpv opened this issue Jan 1, 2025 · 4 comments
Open
1 task done

Border between pages in the two pages view #706

artkpv opened this issue Jan 1, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@artkpv
Copy link

artkpv commented Jan 1, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Problem

When I open a book in pdf i see a space between two pages. How to remove that space and get that back as before?

screenshot_1735743514

Steps to reproduce

Open pdf with many pages. Press 'd' to display two pages side by side. Results: space between pages.

Same on mupdf backend.

Expected behavior

No space between pages.

zathura version (zathura --version)

zathura 0.5.11

girara version (zathura --version)

girara 0.4.5 (runtime: 0.4.5)

zathura backend

(plugin) pdf-poppler (0.3.3) (/usr/lib/zathura/libpdf-poppler.so)

@artkpv artkpv added the bug Something isn't working label Jan 1, 2025
@jchilds0
Copy link

Does :set page-padding 1 fix the padding? If so, check your zathurarc for that command and remove it to go back to the default of 1.

@artkpv
Copy link
Author

artkpv commented Jan 27, 2025

Does :set page-padding 1 fix the padding? If so, check your zathurarc for that command and remove it to go back to the default of 1.

No, I've opened a pdf in Zathura. Then I typped :set page-padding 1. It didn't work.

@jchilds0
Copy link

ah I see what's happened. The last page of that pdf is slightly larger than all others. The grid for pages allocates the same size box to all pages, the maximum page size.

In this case removing the last page is the simplest solution for now.
I'll look at different page sizes but its not a small change.

@artkpv
Copy link
Author

artkpv commented Jan 27, 2025

Oh, I see. That's correct. The book, Michael Feathers - Working Effectively with Legacy Code-Prentice Hall (2004), has this extra width. Perhaps, Zathura can make a view (show only specific pages)? This is not critical at all for me, just for convenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants