zathura issueshttps://git.pwmt.org/pwmt/zathura/-/issues2024-03-29T00:29:53+01:00https://git.pwmt.org/pwmt/zathura/-/issues/4130.5.5 requires libglib >= 2.742024-03-29T00:29:53+01:00Minh Muon0.5.5 requires libglib >= 2.74Hi, first of all thanks for your works, been using `zathura` since forever :smile:
Second, can I ask the reason behind this "violent" change in dependencies? If I recall correctly, it was 2.50 before and zathura can be installed on Ubu...Hi, first of all thanks for your works, been using `zathura` since forever :smile:
Second, can I ask the reason behind this "violent" change in dependencies? If I recall correctly, it was 2.50 before and zathura can be installed on Ubuntu 20.04. Now, since it requires 2.74, it can't even be build anymore on my Ubuntu 22.04 since the last version available is 2.72. I really don't want to upgrade my OS just for zathura :smile:
Thanks in advancehttps://git.pwmt.org/pwmt/zathura/-/issues/412Confused about dev workflow2024-03-24T23:14:12+01:00xedod zavurConfused about dev workflowHey there,
I wanted to see if I could figure out what is wrong in https://git.pwmt.org/pwmt/zathura/-/issues/388. I want to bisect zathura, girara, and/or zathura-pdf-poppler in various combinations to try and pinpoint exactly when the ...Hey there,
I wanted to see if I could figure out what is wrong in https://git.pwmt.org/pwmt/zathura/-/issues/388. I want to bisect zathura, girara, and/or zathura-pdf-poppler in various combinations to try and pinpoint exactly when the problem started. (Or, if the problem is still there on very old versions like from 2022, then it would help attribute the issue to `tabbed` instead of zathura etc.)
To test each step in the bisections, I want to install everything into a custom directory like `~/tmp/zathura` under my home directory. This way my test versions don't clobber the system-wide version of zathura installed by my package manager.
However, I am having trouble getting everything to compile properly. There is one particular error which is proving to be quite stubborn when I run my dev zathura:
```
error: Could not load plugin '/home/XXXXXXXXXXX/tmp/zathura/lib64/libpdf-poppler.so' (/home/XXXXXXXXXXX/tmp/zathura/lib64/libpdf-poppler.so: undefined symbol: zathura_signature_info_free).
error: Found no plugins. Please install at least one plugin.
```
I understand I may just be doing something dumb because I'm not familiar with meson/ninja. However, I've referred to the existing documentation, and also had a look over the gitlab-ci files to see if they have any hints, and nothing seems to help.
I wondered if it would be possible for the current developers to add a `HACKING.md` or similar, which would explain how to create development versions like this without clobbering system-wide installations, as well as any other notes about development workflows and so on?https://git.pwmt.org/pwmt/zathura/-/issues/411zathura listed as background only process2024-03-19T16:52:55+01:00Hersh Kumarzathura listed as background only processWhen attempting to use `yabai` 7.0.2, it was found that zathura incorrectly lists itself as a background-only process. See [yabai issue #2168](https://github.com/koekeishiya/yabai/issues/2168).When attempting to use `yabai` 7.0.2, it was found that zathura incorrectly lists itself as a background-only process. See [yabai issue #2168](https://github.com/koekeishiya/yabai/issues/2168).https://git.pwmt.org/pwmt/zathura/-/issues/406[Question] How to display search match counters?2024-03-03T13:09:07+01:00Ignacio Taranto[Question] How to display search match counters?Hello,
Is there a way to display search match counters?
I'd like to see something like [1/5], which would mean the current match and the total matches.
I read the documentation and I couldn't find this functionality, so I'm not sure...Hello,
Is there a way to display search match counters?
I'd like to see something like [1/5], which would mean the current match and the total matches.
I read the documentation and I couldn't find this functionality, so I'm not sure if it exists or not.https://git.pwmt.org/pwmt/zathura/-/issues/405Zooming in on long pdfs causes memory leak2024-02-27T16:04:31+01:00sungod mothZooming in on long pdfs causes memory leak(Note: This is similar to the issue reported in the (very old) issue https://git.pwmt.org/pwmt/zathura/-/issues/209. However, the reporter of that issue did not seem to encounter the boundless increase in memory usage that I have seen, a...(Note: This is similar to the issue reported in the (very old) issue https://git.pwmt.org/pwmt/zathura/-/issues/209. However, the reporter of that issue did not seem to encounter the boundless increase in memory usage that I have seen, and did not identify the problem as being restricted to long pdfs.)
Environment: Running i3wm on Manjaro Linux. zathura version 0.5.4, `pdf-mupdf` version 0.4.1.
Description: With most pdfs I am able to zoom as far as zathura allows me to, with no issue. But on _long_ pdfs, seemingly those with \>1000 or so pages, zooming far enough in causes a black screen, and zooming even further than that causes the image to return (but blurry) and zathura's memory usage, as reported by system utilities, _rapidly_ rises (I'm talking about a rate of over a gigabyte per second) with no sign of stopping, until either zathura is closed or the document is again zoomed out, at which point it returns to normal.
Note that this is completely uncorrelated to the file size of the file, and seems to be solely caused by the _page count_. Zooming in on a pdf around 150MB in size but only 500 pages in length, the problem is absent. I have attached for reference a tiny 2000 page file (created by repeated self-concatenation of a minimal pdf) which is only 262KB in size, which displays the problem clearly.
[long.pdf](/uploads/1e6fb085bbbb81d1f28f3fb2d5e3c9e3/long.pdf)
(Note that this file throws some warnings, but they are irrelevant to this issue, which I experience with all pdfs of this length). The maximum amount that I can zoom before the black screen appears seems to decrease with the length of the pdf. If testing this is necessary, I've also attached a pdf of twice the length (but still tiny file size).
[longer.pdf](/uploads/89d7bdd58170c70bbadbc87c589aa2cb/longer.pdf)https://git.pwmt.org/pwmt/zathura/-/issues/404Get rid of unnessesary borders Artix Linux2024-02-27T09:16:41+01:00karson 777Get rid of unnessesary borders Artix LinuxWhen I'm in zathura, I get these huge and unnecessary borders, as you can see below.
![2024-02-27-00-07-42-08-00](/uploads/c772fe2c026dfd25f44787c0ca6f4280/2024-02-27-00-07-42-08-00.png)
I believe this could be a GTK issue or just some...When I'm in zathura, I get these huge and unnecessary borders, as you can see below.
![2024-02-27-00-07-42-08-00](/uploads/c772fe2c026dfd25f44787c0ca6f4280/2024-02-27-00-07-42-08-00.png)
I believe this could be a GTK issue or just something misconfigured on my system as I'm running artix Linux 6.7.4-zen1-1-zen, zathura 0.5.4-2, zathura-cb 0.1.10-4.1, zathura-pdf-mupdf 0.4.1-15 and dwm 6.3 as my window manager.
Please let me know if this is a zathura issue or if it is an issue with my GTK configuration or GTK itself. Thanks!https://git.pwmt.org/pwmt/zathura/-/issues/399Copy text across pages2024-01-15T00:41:12+01:00blankieblankie@nixnetmail.comCopy text across pagesCurrently, you can only select text in one page at a time.Currently, you can only select text in one page at a time.https://git.pwmt.org/pwmt/zathura/-/issues/392Wrong page format for pdf documents with varying page formats2023-12-13T09:31:39+01:00Patrick KurthWrong page format for pdf documents with varying page formatsWhen viewing a pdf that contains pages with different formats (for instance one page is in landscape), pages with the "wrong" formats are not fully displayed (parts of them are cut off). It seems like all pages have the same display form...When viewing a pdf that contains pages with different formats (for instance one page is in landscape), pages with the "wrong" formats are not fully displayed (parts of them are cut off). It seems like all pages have the same display format as the first page, but I'm unsure on this.
OS: Arch Linux
Zathura Version (--version):
zathura 0.5.4
girara 0.4.1 (runtime: 0.4.1)
(plugin) pdf-mupdf (0.4.1) (/usr/lib/zathura/libpdf-mupdf.so)
(plugin) ps (0.2.7) (/usr/lib/zathura/libps.so)
This happened after upgrading, and down-grading solves this. Full version after down-grading:
zathura 0.5.2
girara 0.3.9 (runtime: 0.4.1)
(plugin) pdf-mupdf (0.4.1) (/usr/lib/zathura/libpdf-mupdf.so)
(plugin) ps (0.2.7) (/usr/lib/zathura/libps.so)
This issue also occurs with the latest git version (which is also 0.5.4, not sure if they differ).
Here is an example pdf that reproduces the issue:
[drawing.pdf](/uploads/5163f12ac117f1f8bc7af61e2f6a2d50/drawing.pdf)https://git.pwmt.org/pwmt/zathura/-/issues/386Highlight current index in Index Mode2023-11-03T17:04:55+01:00a bHighlight current index in Index ModeIn Index Mode, it'd be nice if the index that the currently open page belongs to is automatically highlighted/updated.In Index Mode, it'd be nice if the index that the currently open page belongs to is automatically highlighted/updated.https://git.pwmt.org/pwmt/zathura/-/issues/385`recolor` causes flashes when zooming2024-03-04T10:41:39+01:00a b`recolor` causes flashes when zoomingWhen `recolor` is set to `true`, zooming in and out with `-`/`+` will cause the pages' colors to flash between normal colors and `recolor`ed colors. The effect is extremely distracting and painful to look at.When `recolor` is set to `true`, zooming in and out with `-`/`+` will cause the pages' colors to flash between normal colors and `recolor`ed colors. The effect is extremely distracting and painful to look at.https://git.pwmt.org/pwmt/zathura/-/issues/384Option to display epub pages continously2023-12-03T13:15:31+01:00a bOption to display epub pages continouslyIs there a way to remove the margin/gap between epub pages? There should be an option to display them in a continuous/gapless way. Setting `page-padding` to `0` doesn't remove this effect, unfortunately.
![image](/uploads/e17b3c9132bf19...Is there a way to remove the margin/gap between epub pages? There should be an option to display them in a continuous/gapless way. Setting `page-padding` to `0` doesn't remove this effect, unfortunately.
![image](/uploads/e17b3c9132bf196941142d2dd7e2b38e/image.png)https://git.pwmt.org/pwmt/zathura/-/issues/382Option to display page thumbnail in place of the "Loading..." text2023-10-22T11:17:42+02:00blankieblankie@nixnetmail.comOption to display page thumbnail in place of the "Loading..." textWhen scrolling a document with a lot of empty space, I tend to go a page past a piece of content, since I would scroll past a page (and ignore the "Loading..." text since the document has a lot of blank space). A quick thumbnail would le...When scrolling a document with a lot of empty space, I tend to go a page past a piece of content, since I would scroll past a page (and ignore the "Loading..." text since the document has a lot of blank space). A quick thumbnail would let me know if a page has content (so I can wait for it to load) or nothing (so I know to scroll past).https://git.pwmt.org/pwmt/zathura/-/issues/380Remapping <Button1> makes mouse selection not work correctly?2023-09-27T08:30:42+02:00user202729Remapping <Button1> makes mouse selection not work correctly?Is it possible to remap <Button1> while still allow selection to work correctly?
Currently if I do something simple like `map <Button1> exec` (which is a no-op), whenever I hold the mouse button to select some text on the page, the star...Is it possible to remap <Button1> while still allow selection to work correctly?
Currently if I do something simple like `map <Button1> exec` (which is a no-op), whenever I hold the mouse button to select some text on the page, the starting point of the selection is always the start of the page instead of the point where the mouse button is pressed down.
For a specific use case, I want to make highlight of hints by `f` opaque, while making highlight of search result by `/` or `?` semitransparent.https://git.pwmt.org/pwmt/zathura/-/issues/379:map command should display the current mapping if given only one argument2023-09-27T04:16:20+02:00user202729:map command should display the current mapping if given only one argumentAs in the title.
Currently if I execute `:map a`, then it will just raise an error "Invalid number of arguments passed: 1 instead of at least 2".
However, the behavior in e.g. Vim, qutebrowser (there the command is `:bind` instead) is ...As in the title.
Currently if I execute `:map a`, then it will just raise an error "Invalid number of arguments passed: 1 instead of at least 2".
However, the behavior in e.g. Vim, qutebrowser (there the command is `:bind` instead) is that it will display the current mappings instead.
It would be preferable to change the behavior to this, because currently as far as I can see there's no way to check the current mapping as well.https://git.pwmt.org/pwmt/zathura/-/issues/378:map command should give an error if given extraneous unused argument2023-09-27T04:14:55+02:00user202729:map command should give an error if given extraneous unused argumentAs far as I can see, if I write
```
:map <F7> set highlight-transparency 1
```
then the `highlight-transparency` is considered the optional argument for `:set` shortcut function, and the `1` is silently dropped.
I suggest raising an e...As far as I can see, if I write
```
:map <F7> set highlight-transparency 1
```
then the `highlight-transparency` is considered the optional argument for `:set` shortcut function, and the `1` is silently dropped.
I suggest raising an error if there's an extraneous argument instead.
(or maybe do something useful with it? For example it's possible to implement `:map <F7> set "highlight-transparency 1" | focus_inputbar /` to map one key to execute two shortcut functions?)https://git.pwmt.org/pwmt/zathura/-/issues/377Adding available shortcut functions to the documentation2023-09-27T04:10:09+02:00user202729Adding available shortcut functions to the documentationIn several sections of the documentation, all the shortcut functions that can be used is listed.
https://git.pwmt.org/pwmt/zathura/-/blob/develop/doc/man/zathurarc.5.rst#map-mapping-a-shortcut ("Shortcut functions" session)
https://git...In several sections of the documentation, all the shortcut functions that can be used is listed.
https://git.pwmt.org/pwmt/zathura/-/blob/develop/doc/man/zathurarc.5.rst#map-mapping-a-shortcut ("Shortcut functions" session)
https://git.pwmt.org/pwmt/zathura/-/blob/develop/doc/configuration/map.rst#shortcut-functions
However, it appears that many shortcut functions are not listed in the documentation. The complete list should be in https://git.pwmt.org/pwmt/zathura/-/blob/develop/zathura/config.c#L537-567 .
As an aside, it would be useful to list the shortcut function along with what's the default keybinding for it as well.https://git.pwmt.org/pwmt/zathura/-/issues/376[feature request] highlighting2023-09-24T20:23:53+02:00zeyad elkholy[feature request] highlightingi searched a lot for feature of highlighting in zathura but i didn't get it i didn't know why you didn't add it or where i can get it. mupdf and poppler both have this feature in it. it painful for me to searching for another pdf reader,...i searched a lot for feature of highlighting in zathura but i didn't get it i didn't know why you didn't add it or where i can get it. mupdf and poppler both have this feature in it. it painful for me to searching for another pdf reader, i tried a lot of them but nothing like zathura, and i need this feature for my school studying, you can provide this feature in plugin or in the main applicationhttps://git.pwmt.org/pwmt/zathura/-/issues/374[feature request] Define a dbus handler that can execute any command (includi...2023-09-21T20:41:50+02:00Rodrigo Morales[feature request] Define a dbus handler that can execute any command (including those that are not registered with girara_inputbar_command_add)In `config.c` [(link to specific lines)](https://git.pwmt.org/pwmt/zathura/blob/9ab68dd1ee3640e56e4e4575112fcae44f8e40ca/zathura/config.c#L508-532), I've noticed that there are some commands that are defined to be evaluted in the input b...In `config.c` [(link to specific lines)](https://git.pwmt.org/pwmt/zathura/blob/9ab68dd1ee3640e56e4e4575112fcae44f8e40ca/zathura/config.c#L508-532), I've noticed that there are some commands that are defined to be evaluted in the input bar.
This makes it possible to call those commands using the `ExecuteCommand` handler. For example, I can show the document info in a Zathura instance by executing the following command in a terminal.
```
dbus-send --type="method_call" --dest=org.pwmt.zathura.PID-25400 /org/pwmt/zathura org.pwmt.zathura.ExecuteCommand string:"info"
```
There are some commands which can't be executed through `ExecuteCommand` since an attempt to do that results in Zathura showing `Not a valid command: <<command>>`.
I propose that all commands are available to be called through Dbus. I believe this would be beneficial for users since users would have more options to control Zathura through Dbus. Personally, I would like to execute the commands for navigation (e.g. `navigate next`, `navigate previous`, `scroll up`, `scroll left`), so that I can move through Zathura from Emacs without leaving the buffer where I'm editing text.
Currently, Zathura commands that can be called through the DBus handler `ExecuteCommand` are those that are defined using `girara_inputbar_command_add`, so if we plan to add all commands, we would need to add as much `girara_inputbar_command_add` lines as the number of commands. I believe a more convenient way to do this is to define a handler in `dbus-interface.c` that can evaluate absolutely any Zathura shortcut function. It would behave as `ExecuteCommand`, but the difference is that commmands needn't to be registered through `girara_inputbar_command_add`.https://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/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.