pwmt issueshttps://git.pwmt.org/groups/pwmt/-/issues2022-05-10T20:08:28+02:00https://git.pwmt.org/pwmt/zathura/-/issues/287Subsequent links are incorrectly followed2022-05-10T20:08:28+02:00John JuttySubsequent links are incorrectly followedSuppose on page 3 of the PDF there is a link, let's say link number 5, and that link redirects to another page of the PDF, let's say page 25, which is itself full of links.
If you are on page 3, press `f`, type 5 and press enter, you wi...Suppose on page 3 of the PDF there is a link, let's say link number 5, and that link redirects to another page of the PDF, let's say page 25, which is itself full of links.
If you are on page 3, press `f`, type 5 and press enter, you will be redirected to page 25. So far s good.
But the zathura automatically clicks on link "5" on the new page (page 25 in the example).
Its like, once on the new page, zathura automatically press f, type 5 and press enter again on the new page. So the action is effectivelly carried out two times.
Here is a video of the bug: [video](https://youtu.be/BLI_IpIrdSc)https://git.pwmt.org/pwmt/zathura/-/issues/286:open navigation2022-05-10T17:33:31+02:00Dian Fay:open navigationhi! Right now completion makes opening files trickier or at least more effortful than necessary. In particular, pressing tab always completes the very first possible entry immediately, e.g. entering `:o <tab>` yields `:open /home/dian/mo...hi! Right now completion makes opening files trickier or at least more effortful than necessary. In particular, pressing tab always completes the very first possible entry immediately, e.g. entering `:o <tab>` yields `:open /home/dian/most/recent/file.pdf`, or `:o ~/downloads<tab>` yields `:open /home/dian/downloads/last/known/file/there.pdf` (even if that file doesn't exist anymore). I have a few ideas for improvements:
* use arrow keys to move up or down the current completion list, if one is visible
* tab-complete more like the shell over the union of recent files (filtered by current path, if any), openable files in the current path if it's a directory, and subdirectories visible from the current path (if a directory)
* initial tab press completes only to ambiguity (`:o <tab>` yields `:open /home/dian/` since I've never opened a pdf elsewhere, add `tax<tab>` to resolve up to `/home/dian/taxes/20`)
* subsequent tabs cycle through the current filtered list (keep pressing tab to cycle through tax years)https://git.pwmt.org/pwmt/zathura/-/issues/285Footnotes not followed correctly2022-05-07T08:45:48+02:00John JuttyFootnotes not followed correctlyWhen I press `f`, type the number corresponding to the link to the footnote, and press CR, I'm redirected to the start of the page that contains the footnote, not to the footnote itself (which is typically the same page I'm in).When I press `f`, type the number corresponding to the link to the footnote, and press CR, I'm redirected to the start of the page that contains the footnote, not to the footnote itself (which is typically the same page I'm in).https://git.pwmt.org/pwmt/zathura/-/issues/282goto2023-04-09T17:29:24+02:00yuan digoto```
map h goto previous
map l goto next
```
doesn't work. Description of man page is quite vague and I don't know how to make `h` `j` act like `pgup` and `pgdn`.```
map h goto previous
map l goto next
```
doesn't work. Description of man page is quite vague and I don't know how to make `h` `j` act like `pgup` and `pgdn`.https://git.pwmt.org/pwmt/zathura/-/issues/280sandbox issue: syscall=324 is blocked2022-04-22T10:51:53+02:00Tomare Omosandbox issue: syscall=324 is blockedOn my system
```
$ xuname
Void 5.16.18_1 x86_64-musl GenuineIntel uptodate rrnDDFFFFFF
$ zathura --version
zathura 0.4.9
girara 0.3.7 (runtime: 0.3.7)
(plugin) pdf-mupdf (0.3.7) (/usr/lib64/zathura/libpdf-mupdf.so)
(plugin) ps (0.2.7) (/...On my system
```
$ xuname
Void 5.16.18_1 x86_64-musl GenuineIntel uptodate rrnDDFFFFFF
$ zathura --version
zathura 0.4.9
girara 0.3.7 (runtime: 0.3.7)
(plugin) pdf-mupdf (0.3.7) (/usr/lib64/zathura/libpdf-mupdf.so)
(plugin) ps (0.2.7) (/usr/lib64/zathura/libps.so)
(plugin) djvu (0.2.9) (/usr/lib64/zathura/libdjvu.so)
```
under Wayland (compositor is river) the strict sandbox config option does not work:
`audit: type=1326 audit(1649938688.774:4): auid=1000 uid=1000 gid=1000 ses=1 pid=21759 comm="zathura" exe="/usr/bin/zathura" sig=31 arch=c000003e syscall=324 compat=0 ip=0x7f12ee42ba7c code=0x0`https://git.pwmt.org/pwmt/zathura/-/issues/279Export internal variables to other processes2022-08-20T13:59:46+02:00Hugo RaguetExport internal variables to other processesThis is a feature request.
Currently, it is possible to retrieve the page number of a document currently displayed on an instance of Zathura, through dbus-services. I would like to get acces to more internal variables, in particular the...This is a feature request.
Currently, it is possible to retrieve the page number of a document currently displayed on an instance of Zathura, through dbus-services. I would like to get acces to more internal variables, in particular the current zoom level and offset coordinates, either through dbus-services or through any other mechanism.
This would pave the way to sophisticated interactions with other softwares.
Let me mention right away that in my use case, it is the position of the mouse pointer over the document, within the coordinate system of the document, that I am after ; but the above (zoom level, offset coordinates even relative to width and height of the page) would be a good start if it is easier to do.https://git.pwmt.org/pwmt/zathura/-/issues/278Trouble with exec mapped to mouse button2023-11-07T00:38:48+01:00Hugo RaguetTrouble with exec mapped to mouse buttonI experience troubles when trying to map mouse buttons to exec commands.
`map <C-l> exec ls` works like expected, but after `map <Button3> exec ls` a click with Button 3 of the mouse spawns a process which fails with
Failed to execu...I experience troubles when trying to map mouse buttons to exec commands.
`map <C-l> exec ls` works like expected, but after `map <Button3> exec ls` a click with Button 3 of the mouse spawns a process which fails with
Failed to execute command: Failed to execute child process “/shorttitle” (No
such file or directory)
Note that in the above `/shorttitle` seems to be some random gibberish that might depend on the content of the currently open document.https://git.pwmt.org/pwmt/zathura/-/issues/277Enable Cursor2022-04-13T12:08:05+02:00Paul HeidekrügerEnable CursorHi!
Since I use full-screen magnification, it would be very convenient to have the ability to enable a cursor which can be moved with the usual Vim keys. Basically, since I'm zoomed in so far that a whole line doesn't fit on my screen, ...Hi!
Since I use full-screen magnification, it would be very convenient to have the ability to enable a cursor which can be moved with the usual Vim keys. Basically, since I'm zoomed in so far that a whole line doesn't fit on my screen, the magnification tool can follow the cursor and move the zoomed region automatically.
TL;DR: is it possible to enable a vim-like cursor for navigation? If no, at least I haven't found a way, would this be an interesting feature request? I know, niche use case, but maybe it would be useful for others too?
Many thanks,
Paulhttps://git.pwmt.org/pwmt/zathura/-/issues/276Avoid dbus connection in strict sandbox mode2023-01-18T12:02:10+01:00valoqAvoid dbus connection in strict sandbox modeWith 'set dbus-service false' in zathurarc the dbus service should not be used.
However, even with this setting set to false, we have an open file descriptor to the dbus socket in '/run/user/UID/bus'
The setting disables the SyncTeX f...With 'set dbus-service false' in zathurarc the dbus service should not be used.
However, even with this setting set to false, we have an open file descriptor to the dbus socket in '/run/user/UID/bus'
The setting disables the SyncTeX forwarding but seems to still initialize the dbus service connection.
This is relevant when using the strict sandbox setting, as the open socket connection to dbus is an easy way of sandbox escape.
Since we dont need this connection when the dbus-service is set to false (or when using the strict sandbox) we shoudl be able to avoid initializing this connection.
Im not quite sure where this initialization happens thoughhttps://git.pwmt.org/pwmt/zathura/-/issues/275[Question] Cache document in the background2022-10-13T21:33:36+02:00TornaxO7[Question] Cache document in the background## The "problem"
Hello! I've a PDF with more than 5000 pages. Luckily, zathura opens pretty fast, but as soon as I start to search a word with the `/` "command", zathura hangs and needs some time to react to it.
## Question ("Feature re...## The "problem"
Hello! I've a PDF with more than 5000 pages. Luckily, zathura opens pretty fast, but as soon as I start to search a word with the `/` "command", zathura hangs and needs some time to react to it.
## Question ("Feature request"?)
I'm wondering if it's possible to have an option where zathura is allowed to cache the whole document in a background-process or something like that to avoid the loading time if the user starts the `/` command for example.
## What have you tried?
I went through `man zathurarc` but I couldn't find such an option or I was just blind at that time o.Ohttps://git.pwmt.org/pwmt/zathura/-/issues/274rseq syscall not allowed in strict sandbox2023-03-06T07:25:50+01:00Simon Drseq syscall not allowed in strict sandbox# How to reproduce
```
$ zathura --version
zathura 0.4.9
girara 0.3.7 (runtime: 0.3.7)
(plugin) pdf-mupdf (0.3.8) (/usr/lib/zathura/libpdf-mupdf.so)
```
```
$ cat .config/zathura/zathurarc
set selection-clipboard clipboard
set sandbox s...# How to reproduce
```
$ zathura --version
zathura 0.4.9
girara 0.3.7 (runtime: 0.3.7)
(plugin) pdf-mupdf (0.3.8) (/usr/lib/zathura/libpdf-mupdf.so)
```
```
$ cat .config/zathura/zathurarc
set selection-clipboard clipboard
set sandbox strict
```
Running on Arch Linux, sway/wayland.
Try to open any pdf document or just start zathura
# Expected
A window opens.
# Observed
Zathura does not open and in journalctl you can find:
```
... audit[103187]: SECCOMP auid=1000 uid=1000 gid=984 ses=1 pid=103187 comm="zathura" exe="/usr/bin/zathura" sig=31 arch=c000003e syscall=334 compat=0 ip=0x7f81638183c6 code=0x0
```
334 corresponds to `rseq`.
Running zathura with `--log-level debug` shows that it allows some syscalls, but `rseq` is not in the list.
Wanted to fix it, but already seems to be fixed in `develop` in https://git.pwmt.org/pwmt/zathura/-/commit/0cfaac072df2bc0ca6693c6262ec5753076e3fe9, just not yet released.https://git.pwmt.org/pwmt/zathura/-/issues/273[feature] Can allow user to config mode (fullscreen) in zathurarc?2022-03-25T20:05:27+01:00Freed Wu[feature] Can allow user to config mode (fullscreen) in zathurarc?Now, zathura only allow user `zathura --mode=fullscreen`, but for `zathura.desktop`, user must write `~/.local/share/zathura.desktop` to override the system default to make zathura's mode to be fullscreen. It is troublesome. I think conf...Now, zathura only allow user `zathura --mode=fullscreen`, but for `zathura.desktop`, user must write `~/.local/share/zathura.desktop` to override the system default to make zathura's mode to be fullscreen. It is troublesome. I think config mode in zathurarc will be a good idea.https://git.pwmt.org/pwmt/zathura/-/issues/272`map <Space> scroll full-down` not working2022-03-25T09:25:24+01:00shakham`map <Space> scroll full-down` not workinghttps://git.pwmt.org/pwmt/zathura/-/issues/271Page number hidden when text is selected2022-03-20T10:14:40+01:00thecashewtrader thecashewtraderPage number hidden when text is selectedWhen a large amount of text is selected, the page number in the bottom right gets hidden/pushed out of sight.
Normally:
![image](/uploads/f57d919fc41eb80d69a8f4171fbd5d32/image.png)
When (large amounts of) text is selected:
![image](/u...When a large amount of text is selected, the page number in the bottom right gets hidden/pushed out of sight.
Normally:
![image](/uploads/f57d919fc41eb80d69a8f4171fbd5d32/image.png)
When (large amounts of) text is selected:
![image](/uploads/0f29fd0283611b5052ae615128d5d99c/image.png)https://git.pwmt.org/pwmt/zathura/-/issues/270[feature] Allow Counts in Mappings2022-03-15T18:26:18+01:00Jordan Mandel[feature] Allow Counts in MappingsI was trying to remap `j` and `k` to scroll more than once. A command I might like is
```
map [normal] j 40scroll down
```
The key thing is the `40`. The motivation for wanting to do this is that when I scroll with a touchpad it is v...I was trying to remap `j` and `k` to scroll more than once. A command I might like is
```
map [normal] j 40scroll down
```
The key thing is the `40`. The motivation for wanting to do this is that when I scroll with a touchpad it is very sensitive, so I was seeing if setting scroll-step to `1` and `j`/`k` to `40j` and `40k` respectively would be a workaround.https://git.pwmt.org/pwmt/zathura/-/issues/266Add non recursive mappings2022-02-11T10:46:20+01:00Dhruva NaikAdd non recursive mappingsIt would be great if remapping a certain keysequence didn't break all other default sequence which included it. For example, I remapped `G` to go the end of the last page instead of the beginning. However, this breaks `[page number]G` an...It would be great if remapping a certain keysequence didn't break all other default sequence which included it. For example, I remapped `G` to go the end of the last page instead of the beginning. However, this breaks `[page number]G` and I can no longer go to a particular page number I want. I believe adding non recursive mappings like `noremap` in vim would fix this.https://git.pwmt.org/pwmt/zathura/-/issues/264Quickmarks not preserved2023-05-07T16:09:52+02:00Eduardo BrayQuickmarks not preserved# Summary:
Zathura doesn't preserve the quickmarks added to a document when reopening the same file.
# Steps to reproduce:
1. `$ zathura file.pdf`
2. Create a quickmark: `mt`
3. Close Zathura `:quit`
4. Reopen the file: `$ zathura file....# Summary:
Zathura doesn't preserve the quickmarks added to a document when reopening the same file.
# Steps to reproduce:
1. `$ zathura file.pdf`
2. Create a quickmark: `mt`
3. Close Zathura `:quit`
4. Reopen the file: `$ zathura file.pdf`
5. Going to the quickmark with `'t` doesn't work
# Expected behavior
All quickmarks created in the file on previous sessions should work.
# System info:
* zathura 0.4.8
* girara 0.3.6 (runtime: 0.3.6)
* (plugin) cb (0.1.8) (/usr/lib64/zathura/libcb.so)
* (plugin) pdf-mupdf (0.3.7) (/usr/lib64/zathura/libpdf-mupdf.so)
* Operating System: Gentoo Linux
* Kernel Version: 5.15.16-gentoo (64-bit)
* Graphics Platform: X11
---
Thanks for this really good software!https://git.pwmt.org/pwmt/zathura/-/issues/263statusline with s key mode blocks bottom of page2022-01-26T03:09:28+01:00shakhamstatusline with s key mode blocks bottom of page```
System: Clear Linux 35670
zathura 0.4.8
girara 0.3.6 (runtime: 0.3.6)
(plugin) pdf-poppler (0.3.0) (/usr/lib64/zathura/libpdf-poppler.so)
```
reproduce:
- open a pdf
- make zathura fullscreen
- press `s`
- statusline is blocking bott...```
System: Clear Linux 35670
zathura 0.4.8
girara 0.3.6 (runtime: 0.3.6)
(plugin) pdf-poppler (0.3.0) (/usr/lib64/zathura/libpdf-poppler.so)
```
reproduce:
- open a pdf
- make zathura fullscreen
- press `s`
- statusline is blocking bottom of pagehttps://git.pwmt.org/pwmt/zathura/-/issues/262:help does nothing2022-02-06T04:55:06+01:00shakham:help does nothingSystem: Clear Linux 35670
zathura 0.4.8
girara 0.3.6 (runtime: 0.3.6)
(plugin) pdf-poppler (0.3.0) (/usr/lib64/zathura/libpdf-poppler.so)System: Clear Linux 35670
zathura 0.4.8
girara 0.3.6 (runtime: 0.3.6)
(plugin) pdf-poppler (0.3.0) (/usr/lib64/zathura/libpdf-poppler.so)https://git.pwmt.org/pwmt/zathura/-/issues/261zathura crahsed when openning epub in Double Page View2024-01-09T06:40:00+01:00prheonorzathura crahsed when openning epub in Double Page View*** longjmp causes uninitialized stack frame ***: terminated
Segmentation fault
![Peek_2022-01-19_22-37](/uploads/cdc1ee6a17575bf416fd9e2fa5abd63d/Peek_2022-01-19_22-37.gif)*** longjmp causes uninitialized stack frame ***: terminated
Segmentation fault
![Peek_2022-01-19_22-37](/uploads/cdc1ee6a17575bf416fd9e2fa5abd63d/Peek_2022-01-19_22-37.gif)