pwmt issueshttps://git.pwmt.org/groups/pwmt/-/issues2022-11-06T11:28:21+01:00https://git.pwmt.org/pwmt/zathura/-/issues/310Zathura - Backlink to the table of content on scrolling2022-11-06T11:28:21+01:00Volodymyr ProkopyukZathura - Backlink to the table of content on scrollingHi,
I'd like to propose a usability enhancement defined below to Zathura table of content (ToC) screen showed when pressing `Tab`.
It is very convenient to dynamically backlink / synchronize the current position in the document with th...Hi,
I'd like to propose a usability enhancement defined below to Zathura table of content (ToC) screen showed when pressing `Tab`.
It is very convenient to dynamically backlink / synchronize the current position in the document with the closes entry in the ToC by highlighting it with a different color. The actual position in the document and the lastly selected ToC entry may be highlighted with different colors.
Thank you,
Vladhttps://git.pwmt.org/pwmt/zathura/-/issues/309Zathura - Show the document metadata2022-11-08T11:43:06+01:00Volodymyr ProkopyukZathura - Show the document metadataHi,
I wanted to propose a feature request that shows document metadata detailed below.
Show document metadata in the status line or in a separate window.
It is very convenient being able to see the document metadata as in the screensh...Hi,
I wanted to propose a feature request that shows document metadata detailed below.
Show document metadata in the status line or in a separate window.
It is very convenient being able to see the document metadata as in the screenshot below
![image](/uploads/9c7b8f369c67457c276b4f967be896c5/image.png)
Thank you very much,
Vladhttps://git.pwmt.org/pwmt/zathura/-/issues/308Zathura - Show the link URL on hover2022-11-10T12:05:01+01:00Volodymyr ProkopyukZathura - Show the link URL on hoverHi,
I have a feature request related to improving Zathura security detailed below.
Show link content in the status bar or in a tooltip on hover in order to inspect the link before clicking.
Being able to inspect a link embedded into a...Hi,
I have a feature request related to improving Zathura security detailed below.
Show link content in the status bar or in a tooltip on hover in order to inspect the link before clicking.
Being able to inspect a link embedded into a PDF before clicking can prevent a lot of security incidents.
Thank you very much,
Vladhttps://git.pwmt.org/pwmt/zathura/-/issues/307Zathura - Hide the mouse cursor when inactive2022-11-07T10:51:05+01:00Volodymyr ProkopyukZathura - Hide the mouse cursor when inactiveHi,
I'm really impressed with the usage flexibility and comfort of Zathura! Thank you very much for the great product!
I have a feature request related to usability improvement detailed below.
Hide the mouse cursor when inactive for 5...Hi,
I'm really impressed with the usage flexibility and comfort of Zathura! Thank you very much for the great product!
I have a feature request related to usability improvement detailed below.
Hide the mouse cursor when inactive for 5 secs. When the mouse is moved the cursor appears again at the position where it was before hiding.
I'm playing sheet music using Zathura. Having the cursor disappear automatically frees me from moving each time the cursor out of scores.
Thank you very much,
Vladhttps://git.pwmt.org/pwmt/zathura/-/issues/306Allow opening EPUB if only fonts are encrypted2023-03-09T01:18:52+01:00Vlad-Stefan HarbuzAllow opening EPUB if only fonts are encryptedOpening a certain EPUB [0] returns "error: EPUB is locked by DRM". I am not very familiar with DRM mechanisms, but on a super quick inspection, it appears that the fonts are encrypted but the text is accessible. In this scenario, zathura...Opening a certain EPUB [0] returns "error: EPUB is locked by DRM". I am not very familiar with DRM mechanisms, but on a super quick inspection, it appears that the fonts are encrypted but the text is accessible. In this scenario, zathura should be able to open the EPUB.
[0]: https://vladh.net/t/the-problems-of-philosophy.epubhttps://git.pwmt.org/pwmt/zathura/-/issues/305Option to automatically run 'exec' on opening a file2022-11-16T17:28:51+01:00MaxOption to automatically run 'exec' on opening a fileUse-case: I have a database of PDF documents, and mostly I open them via database-related commands, using Zathura as the viewer. This allows me to save the last-opened timestamp for each document. Occasionally, however, I open documents ...Use-case: I have a database of PDF documents, and mostly I open them via database-related commands, using Zathura as the viewer. This allows me to save the last-opened timestamp for each document. Occasionally, however, I open documents from CLI or file manager, and in this case the fact of opening a document is not recorded in the database. If Zathura allowed running a specified command automatically when opening a file (expanding `$FILE` as usual), that could solve the problem. (Of course, I can map a key to such a command, but then I need to remember to use that key each time I open a doc; it would be nice to automate the process).https://git.pwmt.org/pwmt/zathura/-/issues/304How to prevent search wrap?2022-10-01T10:09:20+02:00Who Cares101@mailu.ioHow to prevent search wrap?Nothing more to say than what is in the title.
:DNothing more to say than what is in the title.
:Dhttps://git.pwmt.org/pwmt/zathura/-/issues/303[Bug] Crash while LaTeX compilation2022-09-12T11:18:57+02:00M St[Bug] Crash while LaTeX compilationWhile compiling a opened PDF via `pdflatex`, zathura crashes when I scroll / navigate inside the PDF.
I get the following error message:
```
error: expected object number
warning: repairing PDF document
error: cannot tell in file
error...While compiling a opened PDF via `pdflatex`, zathura crashes when I scroll / navigate inside the PDF.
I get the following error message:
```
error: expected object number
warning: repairing PDF document
error: cannot tell in file
error: cannot parse object (1237 0 R)
warning: cannot load object (1237 0 R) into cache
warning: content stream is not a stream (1237 0 R)
debug: ../zathura/render.c:519: emit_completed_signal(): Emitting signal for page 35
debug: ../zathura/render.c:971: page_cache_is_cached(): Page 35 is a cache miss
debug: ../zathura/render.c:1070: zathura_renderer_page_cache_add(): Page 35 is cached at cache index 5
error: object out of range (2511 0 R); xref size 1
warning: cannot load object (2511 0 R) into cache
error: cannot find page tree
```
I am using `zathura 0.4.9` on Arch Linux.https://git.pwmt.org/pwmt/zathura/-/issues/302[Feature request] Add "focus mode" option to emphasize a subsection of text?2023-09-14T17:42:24+02:00Keith Hughitt[Feature request] Add "focus mode" option to emphasize a subsection of text?**Motivation**
One of the major bottlenecks I've currently noticed when working with Zathura for PDF reading, is that it's very easy for me to lose my place.
When taking notes, for instance, I will often jump back-and-forth between rea...**Motivation**
One of the major bottlenecks I've currently noticed when working with Zathura for PDF reading, is that it's very easy for me to lose my place.
When taking notes, for instance, I will often jump back-and-forth between reading in Zathura, and writing some notes in Neovim.
Even when the windows are tiled & displayed side-by-side, however, I find that I often have to take a few moments each time I shift my focus back to Zathura, in order to figure out where I had left off.
**Possible solution**
One possible solution that could help with this, would be to implement support for enabling sentence/paragraph/<n-sentence>/<n-line> "emphasis", which can then be controlled & moved by the user, e.g. using arrow keys to slide it's position 1 unit forward/backward.
For example, the current text block that is in focus could be rendered normally, and all of the surrounding text could be dimmed.
Alternatively, the focus text could be highlighted, and the outside text could remain as-is.
Some inspiration: https://github.com/junegunn/limelight.vim
Just a thought..
Thanks for all of your work on Zathura! It is really wonderful and I use it every day. :pray:https://git.pwmt.org/pwmt/zathura/-/issues/301System freeze (for a few seconds) when exiting with :q2023-04-02T20:51:04+02:00gi1242 gi1242System freeze (for a few seconds) when exiting with :qWhen viewing a file type `:q` to exit. My system (Plasma/Wayland) freezes for about 20 seconds before zathura exits.
Here's my system info:
```
Operating System: Arch Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt V...When viewing a file type `:q` to exit. My system (Plasma/Wayland) freezes for about 20 seconds before zathura exits.
Here's my system info:
```
Operating System: Arch Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.15.60-1-lts (64-bit)
Graphics Platform: Wayland
Zathura 0.4.9-1, girara 0.3.7-1, gtk-3.24.34-1
```
Thanks in advance:https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/30set recolor-reverse-video "true" does not work for zathura-pdf-mupdf2022-08-09T12:01:57+02:00Ghost Userset recolor-reverse-video "true" does not work for zathura-pdf-mupdfHello recently, I decided to use zathura-pdf-mupdf for the extra performance mupdf gives over poppler. However the option set recolor-reverse-video "true" does not work as intended with zathura-pdf-mupdf. However, it does work perfectly ...Hello recently, I decided to use zathura-pdf-mupdf for the extra performance mupdf gives over poppler. However the option set recolor-reverse-video "true" does not work as intended with zathura-pdf-mupdf. However, it does work perfectly fine with zathura-pdf-poppler. I am using version 0.3.8-1. The expected output should be that the images are not recolored when the recolor process happens, however when using zathura-pdf-mupdf it ignores this option entirely and still recolors all images.https://git.pwmt.org/pwmt/zathura/-/issues/300Window not raised with synctex-forward (Plasma/Wayland)2022-08-20T17:41:01+02:00gi1242 gi1242Window not raised with synctex-forward (Plasma/Wayland)If you run `zathura --synctex-forward ...` on an already open file, it doesn't raise the window or demand attention on Plasma/Wayland. Would it be possible to do this? (Or at least have an option to do this?) Quite often if you have mult...If you run `zathura --synctex-forward ...` on an already open file, it doesn't raise the window or demand attention on Plasma/Wayland. Would it be possible to do this? (Or at least have an option to do this?) Quite often if you have multiple windows viewing the same PDF on different virtual desktops, `zathura --synctex-forward` chooses to open the PDF on an instance in a different desktop. This is fine; but it would be nice if it would also raise that window (or at least demand attention) so the user knows which window to look at.
Thanks in advancehttps://git.pwmt.org/pwmt/zathura/-/issues/299Document scaled wrong when dragged from one display to the other (Plasma/Wayl...2022-08-20T19:45:12+02:00gi1242 gi1242Document scaled wrong when dragged from one display to the other (Plasma/Wayland)Hi All,
1. Run Zathura under Plasma/Wayland, which multiple displays with different scaling.
2. Say one display is scaled 100%, and the other is scaled 200%
3. Open a PDF file. Zoom a bit (so it's not "fit to width").
4. Drag the window...Hi All,
1. Run Zathura under Plasma/Wayland, which multiple displays with different scaling.
2. Say one display is scaled 100%, and the other is scaled 200%
3. Open a PDF file. Zoom a bit (so it's not "fit to width").
4. Drag the window from one display to the other.
The Zoom gets completely messed up.
Thanks in advance.
GIhttps://git.pwmt.org/pwmt/zathura/-/issues/298[Feat] Remember recolor state as well2022-07-26T02:28:36+02:00explosion-mental[Feat] Remember recolor state as wellZathura remembers the page of the document whenever closed and reopened, as well as the zoom level or scalemode and the bookmarks. Adding one more flag to the zathura file 'cache' shouldn't add that much complexity.
situacion:
> I alwa...Zathura remembers the page of the document whenever closed and reopened, as well as the zoom level or scalemode and the bookmarks. Adding one more flag to the zathura file 'cache' shouldn't add that much complexity.
situacion:
> I always want to read this pdf in 'dark mode' (recolored).https://git.pwmt.org/pwmt/zathura/-/issues/297Bugs with hotkeys (a/s/d) in i3 WM2022-09-12T18:03:32+02:00Vasisualiy PupkinBugs with hotkeys (a/s/d) in i3 WMWhen the window of zathura managed by i3 in fixed mode -- bugs appears. After 2-4 changes from best-fit to full width mode and back -- the window don't react. Same behaviour with double- single-paged mode.
The bug does not appear if a w...When the window of zathura managed by i3 in fixed mode -- bugs appears. After 2-4 changes from best-fit to full width mode and back -- the window don't react. Same behaviour with double- single-paged mode.
The bug does not appear if a window is in floating mode in i3.
i3: 4.20
zathura: 0.4.5https://git.pwmt.org/pwmt/zathura/-/issues/296Uninstall zathura2022-08-20T13:57:25+02:00S M DUninstall zathuraIs there a clean procedure to have this uninstalled?Is there a clean procedure to have this uninstalled?https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/29zathura-pdf-mupdf does not build with version 1.20.0 of mupdf2022-09-26T18:32:50+02:00CR Culverzathura-pdf-mupdf does not build with version 1.20.0 of mupdfzathura-pdf-mupdf builds normally with mupdf 1.19.1. However, when attempting to build it with version 1.20.0 of mupdf, the build fails with the following output:
```
build $ ninja
[1/2] Compiling C object libpdf-mupdf.so.p/zathura-pdf...zathura-pdf-mupdf builds normally with mupdf 1.19.1. However, when attempting to build it with version 1.20.0 of mupdf, the build fails with the following output:
```
build $ ninja
[1/2] Compiling C object libpdf-mupdf.so.p/zathura-pdf-mupdf_search.c.o
FAILED: libpdf-mupdf.so.p/zathura-pdf-mupdf_search.c.o
cc -Ilibpdf-mupdf.so.p -I. -I.. -I/usr/local/include -I/usr/include/json-c -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c11 -g -march=skylake -O2 -pipe -fomit-frame-pointer -fPIC -pthread -DVERSION_MAJOR=0 -DVERSION_MINOR=3 -DVERSION_REV=8 -D_DEFAULT_SOURCE -Werror=implicit-function-declaration -Werror=vla -fvisibility=hidden -MD -MQ libpdf-mupdf.so.p/zathura-pdf-mupdf_search.c.o -MF libpdf-mupdf.so.p/zathura-pdf-mupdf_search.c.o.d -o libpdf-mupdf.so.p/zathura-pdf-mupdf_search.c.o -c ../zathura-pdf-mupdf/search.c
../zathura-pdf-mupdf/search.c: In function ‘pdf_page_search_text’:
../zathura-pdf-mupdf/search.c:44:13: warning: passing argument 4 of ‘fz_search_stext_page’ from incompatible pointer type [-Wincompatible-pointer-types]
44 | text, hit_bbox, N_SEARCH_RESULTS);
| ^~~~~~~~
| |
| fz_quad *
In file included from /usr/local/include/mupdf/fitz.h:70,
from ../zathura-pdf-mupdf/plugin.h:10,
from ../zathura-pdf-mupdf/search.c:7:
/usr/local/include/mupdf/fitz/structured-text.h:248:89: note: expected ‘int *’ but argument is of type ‘fz_quad *’
248 | int fz_search_stext_page(fz_context *ctx, fz_stext_page *text, const char *needle, int *hit_mark, fz_quad *hit_bbox, int hit_max);
| ~~~~~^~~~~~~~
../zathura-pdf-mupdf/search.c:3:26: warning: passing argument 5 of ‘fz_search_stext_page’ makes pointer from integer without a cast [-Wint-conversion]
3 | #define N_SEARCH_RESULTS 512
| ^~~
| |
| int
../zathura-pdf-mupdf/search.c:44:23: note: in expansion of macro ‘N_SEARCH_RESULTS’
44 | text, hit_bbox, N_SEARCH_RESULTS);
| ^~~~~~~~~~~~~~~~
In file included from /usr/local/include/mupdf/fitz.h:70,
from ../zathura-pdf-mupdf/plugin.h:10,
from ../zathura-pdf-mupdf/search.c:7:
/usr/local/include/mupdf/fitz/structured-text.h:248:108: note: expected ‘fz_quad *’ but argument is of type ‘int’
248 | int fz_search_stext_page(fz_context *ctx, fz_stext_page *text, const char *needle, int *hit_mark, fz_quad *hit_bbox, int hit_max);
| ~~~~~~~~~^~~~~~~~
../zathura-pdf-mupdf/search.c:43:21: error: too few arguments to function ‘fz_search_stext_page’
43 | int num_results = fz_search_stext_page(mupdf_page->ctx, mupdf_page->text,
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/mupdf/fitz.h:70,
from ../zathura-pdf-mupdf/plugin.h:10,
from ../zathura-pdf-mupdf/search.c:7:
/usr/local/include/mupdf/fitz/structured-text.h:248:5: note: declared here
248 | int fz_search_stext_page(fz_context *ctx, fz_stext_page *text, const char *needle, int *hit_mark, fz_quad *hit_bbox, int hit_max);
| ^~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
```https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/28failing to find mupdf2023-09-11T22:52:42+02:00shakhamfailing to find mupdf```
> meson --prefix=/usr/local -Db_lto=true --buildtype=release -Dstrip=true -Dc_link_args=-L/usr/local/lib,-L/usr/local/lib64 build/
The Meson build system
Version: 0.62.2
Source dir: /home/g/git-pkges/zathura-build/zathura-pdf-mupdf
B...```
> meson --prefix=/usr/local -Db_lto=true --buildtype=release -Dstrip=true -Dc_link_args=-L/usr/local/lib,-L/usr/local/lib64 build/
The Meson build system
Version: 0.62.2
Source dir: /home/g/git-pkges/zathura-build/zathura-pdf-mupdf
Build dir: /home/g/git-pkges/zathura-build/zathura-pdf-mupdf/build
Build type: native build
Project name: zathura-pdf-mupdf
Project version: 0.3.8
C compiler for the host machine: gcc (gcc 12.1.1 "gcc (Clear Linux OS for Intel Architecture) 12.1.1 20220706 releases/gcc-12.1.0-213-g65941a9109")
C linker for the host machine: gcc ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency zathura found: YES 0.4.9
Run-time dependency girara-gtk3 found: YES 0.3.7
Run-time dependency glib-2.0 found: YES 2.72.3
Run-time dependency cairo found: YES 1.16.0
Found CMake: /usr/bin/cmake (3.23.2)
Run-time dependency mupdf found: NO (tried pkgconfig and cmake)
meson.build:23:0: ERROR: C shared or static library 'mupdf-third' not found
A full log can be found at /home/g/git-pkges/zathura-build/zathura-pdf-mupdf/build/meson-logs/meson-log.txt
```
[meson-log.txt](/uploads/33c0b34c8b45cb0c43a5baf8c3b056b0/meson-log.txt)
```
> fd -H mupdf /usr/
/usr/local/lib/libmupdf-third.a
/usr/local/lib/libmupdf.a
/usr/local/lib/libmupdf.so
/usr/local/include/mupdf/
/usr/local/bin/mupdf-gl
/usr/local/share/doc/mupdf/
/usr/local/share/doc/mupdf/manual-mupdf-gl.html
/usr/local/share/man/man1/mupdf.1
```
```
> bat /etc/ld.so.conf
───────┬───────────────────────────────────────────────────────────────────────────────────────
│ File: /etc/ld.so.conf
───────┼───────────────────────────────────────────────────────────────────────────────────────
1 │ /usr/local/lib/
2 │ /usr/local/lib64/
3 │ /usr/lib/
4 │ /usr/lib64/
───────┴───────────────────────────────────────────────────────────────────────────────────────
> echo $LD_LIBRARY_PATH
/usr/local/lib /usr/local/lib64
```https://git.pwmt.org/pwmt/zathura/-/issues/295Vimtex doesn't work with Zathura anymore. Zathura is not linked with libsynct...2022-08-20T13:57:59+02:00Aleksand SVimtex doesn't work with Zathura anymore. Zathura is not linked with libsynctex. Viewer cannot find Zathura window ID.I just installed neovim with VimTeX plug-in. I can't view a compiled document anymore. I get the error messages from VimTeX:
```
Zathura is not linked with libsynctex!
Viewer cannot find Zathura window ID!
```
I have xdotool installed.I just installed neovim with VimTeX plug-in. I can't view a compiled document anymore. I get the error messages from VimTeX:
```
Zathura is not linked with libsynctex!
Viewer cannot find Zathura window ID!
```
I have xdotool installed.https://git.pwmt.org/pwmt/zathura/-/issues/294configuration for vertical scroll only (no horizontal scroll) with touchpad o...2022-07-03T06:42:55+02:00git labconfiguration for vertical scroll only (no horizontal scroll) with touchpad or touchscreenI'm happy mapping customized keyboard and mouse bindings for scroll actions. However, there seems no way to customize 2-finger touchpad or touchscreen bindings, which by default scroll both vertically and horizontally. Is there a method ...I'm happy mapping customized keyboard and mouse bindings for scroll actions. However, there seems no way to customize 2-finger touchpad or touchscreen bindings, which by default scroll both vertically and horizontally. Is there a method to make it vertical scroll only? Thanks!
I'm using zathura 0.4.7 shipped with Debian 11.