zathura issueshttps://git.pwmt.org/pwmt/zathura/-/issues2023-09-20T09:03:47+02:00https://git.pwmt.org/pwmt/zathura/-/issues/372Transparent statusbar unreadable with page underneath2023-09-20T09:03:47+02:001kh612Transparent statusbar unreadable with page underneathI'm trying to customize the appearence with zathura, and make it transparent. so i changed the background to transparent and statusbar-bg to transparent, and it works well, except when the page underneath is the same color as the statusb...I'm trying to customize the appearence with zathura, and make it transparent. so i changed the background to transparent and statusbar-bg to transparent, and it works well, except when the page underneath is the same color as the statusbar-fg. It would work very well if it was possible to add an option to fix this, like giving the page a cutoff point where the statusbar begins or something along those lines. thanks for reading this and i understand if it's more complicated to implement this than i think or something...https://git.pwmt.org/pwmt/zathura/-/issues/371Large padding between pages2023-09-09T12:35:54+02:00Adrián Fidalgo DíazLarge padding between pagesWhen opening a pdf which contains different page sizes (like a big cover), the padding between pages is huge and makes impossible to read the document properly.When opening a pdf which contains different page sizes (like a big cover), the padding between pages is huge and makes impossible to read the document properly.https://git.pwmt.org/pwmt/zathura/-/issues/370Document / Improve smooth scrolling2023-11-02T15:06:46+01:00Ignacio TarantoDocument / Improve smooth scrollingCurrently, pressing `j` or `k` doesn't do smooth scrolling. Weirdly, `^Down` and `^Up` does.
Why is that?
Is there a way to enable smooth scrolling with `j` and `k` or even `^d` or `^u`?Currently, pressing `j` or `k` doesn't do smooth scrolling. Weirdly, `^Down` and `^Up` does.
Why is that?
Is there a way to enable smooth scrolling with `j` and `k` or even `^d` or `^u`?https://git.pwmt.org/pwmt/zathura/-/issues/369Thumbnailing in Zathura2023-08-21T02:57:19+02:00vik rajThumbnailing in ZathuraIt seems that the thumbnails for pdf's inside the file manager is provded by the pdf reader, but I have not seen this feature with zathura. Is there any way to show PDF thumbnails inside the file manager (I am using nemo) using zathura?It seems that the thumbnails for pdf's inside the file manager is provded by the pdf reader, but I have not seen this feature with zathura. Is there any way to show PDF thumbnails inside the file manager (I am using nemo) using zathura?https://git.pwmt.org/pwmt/zathura/-/issues/368In best-fit mode ('a'), the status bar hides the bottom part of the PDF document2023-08-17T05:39:42+02:00Vincent LefèvreIn best-fit mode ('a'), the status bar hides the bottom part of the PDF documentWhen I view a document generated by Firefox (print to PDF) with zathura in best-fit mode (key `a`), the bottom part (the footer) is missing. Here's such a PDF file: [test.pdf](/uploads/d14cf82e5dbfd33a9b07704ae291b0f6/test.pdf)
Note: to...When I view a document generated by Firefox (print to PDF) with zathura in best-fit mode (key `a`), the bottom part (the footer) is missing. Here's such a PDF file: [test.pdf](/uploads/d14cf82e5dbfd33a9b07704ae291b0f6/test.pdf)
Note: to be able to reproduce this issue, the zathura window should be wide enough (e.g. to have vertical black bars on the left and on the right).
There is no such issue with xpdf, using fit page to window (key `z`), and with atril, also using "Fit Page". These modes are equivalent to zathura's best-fit mode.
**EDIT (and title changed):** After a closer look, it is actually the status bar that hides the bottom part (this can be seen by toggling it with `^n`). When there is a bottom margin, this issue may not be noticeable, explaining the confusion.https://git.pwmt.org/pwmt/zathura/-/issues/367links open in firefox despite default browser is chromium2024-01-22T12:49:57+01:00ask lowlinks open in firefox despite default browser is chromium```
$[~]$ xdg-settings get default-web-browser
chromium.desktop
```
Despite the above defaults, zathura still opens links in the firefox that I've already had installed for other reasons. How to open links in the default browser ?```
$[~]$ xdg-settings get default-web-browser
chromium.desktop
```
Despite the above defaults, zathura still opens links in the firefox that I've already had installed for other reasons. How to open links in the default browser ?https://git.pwmt.org/pwmt/zathura/-/issues/366[Feature Request/issue] flag to avoid writing a history entry (would reduce S...2023-08-01T20:27:29+02:00Andreas Wachtel[Feature Request/issue] flag to avoid writing a history entry (would reduce SSD writes)Dear developers.
I am a linux user and I love using zathura and vim.
I write because I want to request a new flag for starting zathura, it could look like
`zathura -noHistoryEntry document.pdf`
The reason I propose this flag is the foll...Dear developers.
I am a linux user and I love using zathura and vim.
I write because I want to request a new flag for starting zathura, it could look like
`zathura -noHistoryEntry document.pdf`
The reason I propose this flag is the following.
I use latex and zathura as a live preview engine.
Every time I do a live preview a temporary .pdf file is generated and viewed with zathura.
This temporary pdf-file, however, will not be available after a reboot. (I clean my temp-files).
I have discovered, that i have approximately 8000 history entries in `/home/user/.local/share/zathura/history`.
Therefore, I read the man-files and I have found a way to completely switch off history (by including the line
`set database null` into `~/.config/zathura/zathurarc`.
However, I would love to keep record of files that I permanently have.
Additionally,with `set database null` a CRITICAL error is produced every time I use a bookmark in a pdf.
The flag I ask for, would save many SSD writes (for me and many users that use latex-live-previews) and allow to keep my history clean only containing files that permanently exist on my computer.
Thank you for reading and taking the time to consider this proposal.
Andreas Wachtelhttps://git.pwmt.org/pwmt/zathura/-/issues/365[Feature Request] Sending a USR2 signal would cause :source2023-12-08T18:42:52+01:00Nima Askarian[Feature Request] Sending a USR2 signal would cause :sourceSending a USR2 or USR1 signal to zathura (`pkill -USR2 zathura`/`pkill -USR1 zathura`) would cause program to do `:source` command. I use pywal for color generation, and I open a lot of pdfs at a same time. It would be nice if I didn't n...Sending a USR2 or USR1 signal to zathura (`pkill -USR2 zathura`/`pkill -USR1 zathura`) would cause program to do `:source` command. I use pywal for color generation, and I open a lot of pdfs at a same time. It would be nice if I didn't need to hit my `:source` keymap every time, but instead send a USR2/USR1 signal inside my bash script.https://git.pwmt.org/pwmt/zathura/-/issues/364how to use bisect shortcuts properly ?2023-09-27T04:18:55+02:00ask lowhow to use bisect shortcuts properly ?As per the shortcuts page,
- `Ctrl+J` & `Ctrl+K` bisect pages forward & backward between the last two jump points.
What are the last two jump points ?
What is the proper way to use these shortcuts inorder to get to a desired page effi...As per the shortcuts page,
- `Ctrl+J` & `Ctrl+K` bisect pages forward & backward between the last two jump points.
What are the last two jump points ?
What is the proper way to use these shortcuts inorder to get to a desired page efficiently ?https://git.pwmt.org/pwmt/zathura/-/issues/363Use logical page numbers2023-07-15T23:17:19+02:00Zaz BrownUse logical page numbersIf somebody tells me, "see page 72 in this PDF", they are usually referring to the logical page numbers (which are supposed to match those printed in the text), not the physical page numbers. Zathura does not use the PDF's logical page n...If somebody tells me, "see page 72 in this PDF", they are usually referring to the logical page numbers (which are supposed to match those printed in the text), not the physical page numbers. Zathura does not use the PDF's logical page numbers like other viewers, such as evince, do.
Currently if I need to quickly open a PDF and go to a page, I need to either locate page 1 and set `offset`, or use `72 gg` and then hunt for the necessary page. Sometimes the last method doesn't work at all, because for PDFs that are cut out of larger articles, the page numbers can be off by hundreds.https://git.pwmt.org/pwmt/zathura/-/issues/362[SOLVED] suspend and wake closes zathura2023-07-28T01:57:52+02:00ask low[SOLVED] suspend and wake closes zathuraSuspending and waking up the system closes all zathura instances.
system: `archlinux`
kernel: `zen-6.4.3`
wm: `i3` & `sway`
drivers: `nvidia-dkms`
How to diagnose this situation ?
**SOLUTION:** disable strict sandboxing from c...Suspending and waking up the system closes all zathura instances.
system: `archlinux`
kernel: `zen-6.4.3`
wm: `i3` & `sway`
drivers: `nvidia-dkms`
How to diagnose this situation ?
**SOLUTION:** disable strict sandboxing from config.https://git.pwmt.org/pwmt/zathura/-/issues/361How to map mouse button for panning the document?2023-12-10T07:19:07+01:00Peter BakerHow to map mouse button for panning the document?The default setting for panning the document is holding middle button and move the mouse around.
Can I map it to holding the mouse left button (or right button) in .zathurarc?The default setting for panning the document is holding middle button and move the mouse around.
Can I map it to holding the mouse left button (or right button) in .zathurarc?https://git.pwmt.org/pwmt/zathura/-/issues/360[FR] Case sensitive/smartcase search and exact search2023-07-11T15:06:19+02:00Simon Helling[FR] Case sensitive/smartcase search and exact searchI am not able to use perform a case-sensitive or exact search in Zathura. If that is already possible, this functionality is not documented.
Expected behvior:
1. case-sensitive search: /Word matches "Word" but not "word", /word matches...I am not able to use perform a case-sensitive or exact search in Zathura. If that is already possible, this functionality is not documented.
Expected behvior:
1. case-sensitive search: /Word matches "Word" but not "word", /word matches both "Word" and "word" (this would be mimicking vim's smartcase option)
2. exact search: /\\<Word\\> matches "Word" but not "Wordword".
I wonder if this already somehow possible?
Thank you,
Simonhttps://git.pwmt.org/pwmt/zathura/-/issues/359Remove Title Bar in Arch Linux2023-07-06T14:52:43+02:00Benjamin Brast-McKieRemove Title Bar in Arch LinuxI always loved how Zathura shows up without a title bar, however, due to an update, I now can't seem to get rid of it. I know this has been a feature request for Mac users, but could not find much information for linux users. I searched ...I always loved how Zathura shows up without a title bar, however, due to an update, I now can't seem to get rid of it. I know this has been a feature request for Mac users, but could not find much information for linux users. I searched through the man pages and website looking for clues to how I could remove it. Is this an option currently? If so, I'd love to know how to do it.
Thanks for an amazing piece of software. I use it everyday.https://git.pwmt.org/pwmt/zathura/-/issues/358how to navigate through chapters2023-07-06T16:51:35+02:00ask lowhow to navigate through chaptershow to navigate through chapters ? I've tried all the keyboard shortcuts. None worked.how to navigate through chapters ? I've tried all the keyboard shortcuts. None worked.https://git.pwmt.org/pwmt/zathura/-/issues/357[Feature Request] Keep the `adjust_window` behavior after file reloading (and...2023-07-13T07:43:19+02:00LuXu[Feature Request] Keep the `adjust_window` behavior after file reloading (and searching)Currently, if the document is reloaded due to the file change, the adjust method of the document (`adjust_window = best-fit/width`) will stop working. Yes, the actual file indeed changed. But, to users this is still the same document, so...Currently, if the document is reloaded due to the file change, the adjust method of the document (`adjust_window = best-fit/width`) will stop working. Yes, the actual file indeed changed. But, to users this is still the same document, so I think it's a fair request.
For example, if I am editing a tex file and use zathura to preview the PDF, I expect the document to keep the behavior of `adjust_window = best-fit/width` after the file gets rebuilt and reloaded. Otherwise, when I switch fullscreen, I have to press `a`/`s` every time after reload, which is annoying.
Not sure if this counts as a bug, so just a feature request for now.
This can also apply to searching operation, not just file reloading. Both operations change the `adjust_window` behavior.https://git.pwmt.org/pwmt/zathura/-/issues/356Reproducible screen freeze with view adjustments2023-07-06T13:53:29+02:00LuXuReproducible screen freeze with view adjustmentsThis is similar to #94, But I don't know if it is the same issue. If so, please mark duplicate. However, this issue can provide a reproducible example, which might help devs debug the problem.
I can reproduce the behavior with
1. Open ...This is similar to #94, But I don't know if it is the same issue. If so, please mark duplicate. However, this issue can provide a reproducible example, which might help devs debug the problem.
I can reproduce the behavior with
1. Open a PDF file
2. Do a dummy search, for example, `/` and `Enter`. The point is to perform a search, which does something to the document view that I have no idea
3. Resize the window (Note that whatever default adjust method you set, it is not working now)
4. Press whatever combination of `a`, `s`, `d` you like to adjust the view
5. See the view freezes
6. Resize the window, again
7. Press whatever combination of `a`, `s`, `d` you like, again
8. See the correct behavior
The key to this issue might be step 2 and 3, but the trigger might not limit to a search operation. Maybe some other operations can also cause this.https://git.pwmt.org/pwmt/zathura/-/issues/355[FR] Expose index of the current document through dbus_interface.c2023-12-08T18:42:53+01:00Rodrigo Morales[FR] Expose index of the current document through dbus_interface.cExpose table of contents through dbus
By calling the functions defined in [dbus-interface.c](https://git.pwmt.org/pwmt/zathura/-/blob/develop/zathura/dbus-interface.c), I have been able to write Elisp functions (please see below) in ord...Expose table of contents through dbus
By calling the functions defined in [dbus-interface.c](https://git.pwmt.org/pwmt/zathura/-/blob/develop/zathura/dbus-interface.c), I have been able to write Elisp functions (please see below) in order to be able to reuse Zathura instances when opening Org Mode links of the form `[[file:<<filename>>#<<page number>>` (i.e. the same Zathura instance will be used if it is already opening the desired document.)
```elisp
(defun my/dbus-zathura-use-instance-or-open-new (file link)
"Launch zathura to open FILE or Reuse a running instance.
LINK is provided by Org Mode when this function has been
specified in `org-file-apps'. This function is intended to be
used in `org-file-apps' and shouldn't be called on its own."
(let* ((process-alist (proced-process-attributes))
(pids (mapcar 'car (proced-filter process-alist '((comm . "zathura")))))
(pid
(catch 'found
(cl-loop for pid in pids
when (equal
(dbus-get-property
:session
(concat "org.pwmt.zathura.PID-" (number-to-string pid))
"/org/pwmt/zathura"
"org.pwmt.zathura"
"filename")
file)
do (throw 'found pid))))
(page-number
(or
(progn
;; FIXME: According to the docstring of org-file-apps, we
;; can access capture groups using (match-string n
;; link). However, when I tried it, the capture groups
;; didn't have the entire content. For this reason, I'm
;; running string-match with the same regex that I used
;; in org-file-apps, but (match-string n link) should
;; work as specified in the Org Mode documentation.
(string-match "\\.\\(pdf\\|djvu\\)::\\([0-9]+\\)\\'" link)
(match-string 2 link))
"1")))
(if pid
;; Jump to that page in the existing instance
(dbus-call-method
:session
(concat "org.pwmt.zathura.PID-" (number-to-string pid))
"/org/pwmt/zathura"
"org.pwmt.zathura"
"GotoPage"
(1- (string-to-number page-number)))
;; Open a new instance
(make-process
:name "zathura"
:buffer nil
:command `("zathura" "--page" ,page-number ,file)))))
```
```elisp
(setq org-file-apps
'((auto-mode . emacs)
(directory . emacs)
("\\.png\\'" . "mpv %s")
("\\.\\(pdf\\|djvu\\)" . my/dbus-zathura-use-instance-or-open-new)
("\\.\\(pdf\\|djvu\\)::\\([0-9]+\\)\\'" . my/dbus-zathura-use-instance-or-open-new)))
```
Now, I would like to create a function for Emacs which prompts for an item in the table of contents of the document and jumps to that specific page. Currently, [dbus-interface.c](https://git.pwmt.org/pwmt/zathura/-/blob/develop/zathura/dbus-interface.c) expose the page number and the filename and it provides an interface for jumping to an specific page (interface which I used in my Elisp function shown above). However, the table of contents from the current document is not exposed. Therefore, I propose that the index of the document is exposed in some way.
This feature will not only benefit Emacs users but also users of any completion framework (e.g. rofi, dmenu, fzf, vim, etc), since such specialized completion frameworks have more features available (e.g. regex search, movement with operators, fuzzy finding) which, I believe, might require significant effort to incorporate in the zathura index viewer.https://git.pwmt.org/pwmt/zathura/-/issues/354[FR] Support for .dvi.gz, .ps.gz2023-06-10T11:32:18+02:00Avid Seeker[FR] Support for .dvi.gz, .ps.gzWould it be possible to read .dvi.gz and .ps.gz directly without having to decompress them? Other document viewers support this.Would it be possible to read .dvi.gz and .ps.gz directly without having to decompress them? Other document viewers support this.https://git.pwmt.org/pwmt/zathura/-/issues/353Segmentation fault2023-09-13T23:03:00+02:00Avid SeekerSegmentation faultUsing TLCL by William Shotts and running `/bin/zathura -l debug`, results in segmentation fault after few navigations.
* Debug info: https://paste.debian.net/plain/1282217Using TLCL by William Shotts and running `/bin/zathura -l debug`, results in segmentation fault after few navigations.
* Debug info: https://paste.debian.net/plain/1282217