pwmt issueshttps://git.pwmt.org/groups/pwmt/-/issues2023-09-27T08:30:42+02:00https://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/girara/-/issues/18Allow escaping the less-than button?2023-09-27T08:28:42+02:00user202729Allow escaping the less-than button?Currently, because of how the argument parsing of `feedkeys` is done https://git.pwmt.org/pwmt/girara/-/blob/develop/girara/shortcuts.c#L570-603 , it appears impossible to send literally the string `<F1>` for example. Common escapes like...Currently, because of how the argument parsing of `feedkeys` is done https://git.pwmt.org/pwmt/girara/-/blob/develop/girara/shortcuts.c#L570-603 , it appears impossible to send literally the string `<F1>` for example. Common escapes like `\<F1>` or `<lt>F1>` doesn't work.
These two usually works in Vim. I suggest implementing some option, for which `<Less>` or `<S-,>` appear to be the easiest and least likely to break some existing configuration.
```
2. A backslash is represented with "\\", double backslash, or "<Bslash>".
3. A real '<' is represented with "\<" or "<lt>". When there is no
confusion possible, a '<' can be used directly.
```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-pdf-mupdf/-/issues/39Version 0.4.1 render some pdf files wrong.2024-01-31T01:32:40+01:00amal gameVersion 0.4.1 render some pdf files wrong.For 0.4.0, it correctly render this pdf file.
Dimension of page 1 and 2 in this pdf file are more or less the same as the rest of the pages.
![0.4.0](/uploads/f104f28c83ea0d584aebf9e52d602b92/0.4.0.png)
For 0.4.1, it incorrectly render...For 0.4.0, it correctly render this pdf file.
Dimension of page 1 and 2 in this pdf file are more or less the same as the rest of the pages.
![0.4.0](/uploads/f104f28c83ea0d584aebf9e52d602b92/0.4.0.png)
For 0.4.1, it incorrectly render this pdf file.
Dimension of page 1 and 2 are way bigger than the rest of the pages, making the `a` and `s` key unusable in this file.
![0.4.1](/uploads/59919b9c0a6241b5dbc960c9c161ac80/0.4.1.png)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-pdf-mupdf/-/issues/38[feature request] support use javascript/css show/hide info in epub2023-09-17T18:32:14+02:00h left[feature request] support use javascript/css show/hide info in epubsome epub add a javascript button toggle info,
```javascript
<div id="content">
<p>This is the content</p>
</div>
<button onclick="toggleContent()">Toggle Content</button>
<script>
function toggleContent() {
var content = documen...some epub add a javascript button toggle info,
```javascript
<div id="content">
<p>This is the content</p>
</div>
<button onclick="toggleContent()">Toggle Content</button>
<script>
function toggleContent() {
var content = document.getElementById("content");
if (content.style.display === "none") {
content.style.display = "block";
} else {
content.style.display = "none";
}
}
</script>
```
or use css toggle content
I see it works in calibre but not in zathura, hope to support this featurehttps://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/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/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/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/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/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.