Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running zathura with tabbed causes default binds to break #432

Open
sebastinas opened this issue Dec 7, 2023 · 5 comments
Open

running zathura with tabbed causes default binds to break #432

sebastinas opened this issue Dec 7, 2023 · 5 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@sebastinas
Copy link
Member

On GitLab by @tokisuno on Dec 7, 2023, 16:51


If I launch zathura wrapped in devour, ^u and ^d work fine. Typically if I run tabbed zathura, I use a function called "tab" in my fish config.fish, which just executes:

tabbed -c zathura {$argv} -e

The same behaviour happens when I type `tabbed -c zathura * -e` in the directory with all my pdfs.

@sebastinas
Copy link
Member Author

On GitLab by @jonathannerat on Dec 15, 2023, 21:22


Same things happens to me. I have a .desktop file with Exec=tabbed -c -r 2 zathura -e "" %U. Whenever I open any document looks like the mappings work (like o to open a document, or /something to search for something), but nothings happens until I switch to another tab and come back. Seems like rendering is stuck inside tabbed.

@sebastinas
Copy link
Member Author

On GitLab by @adrianFD on Dec 19, 2023, 22:53


Exactly the same. I have to switch to fullscreen mode in order zathura to be responsive. Freezes when launching with tabbed

@sebastinas
Copy link
Member Author

On GitLab by @RyanC1098 on Dec 20, 2023, 02:49


If I understand the initial bug report correctly, then I am experiencing the same problem. Tabbed works fine with other applications (e.g. st), Zathura works fine when not run inside Tabbed. But as of a week the two do not play well together. Some commands, like scrolling up and down, do work; but others only work if I switch back and forth between tabs, or if I wait for about 60 seconds. Even when opening a file there is about a 60 second delay. I tried rolling back to previous versions of Zathura, but the problem persists.

@sebastinas
Copy link
Member Author

On GitLab by @caleb-lindgren on Feb 12, 2024, 22:44


Experiencing the same bug as described by @jonathannerat. Downgrading to zathura 0.5.3 fixed it.

@sebastinas
Copy link
Member Author

On GitLab by @xezav on Mar 23, 2024, 22:14


I have the same issue as @jonathannerat. Press / to try searching, nothing happens and the pdf freezes, but if I tab to a different pdf and come back, the original pdf is no longer frozen and the search can proceed.

I don't use a desktop file, instead a script based on zathura-tabbed from https://web.archive.org/web/20180927142054/http://taitran.ca/vim/latex/markdown/2015/03/11/vim-latex-and-markdown-preview-scripts.html

I thought it may be possible to use feedkeys to try debugging this, but it creates a segfault when I try to bind it.

I tried adding some debug code to tabbed as well, but I had trouble getting it to show what keypresses it was passing or how it was processing them.

The problem does not appear in zathura by itself (untabbed), so maybe this isn't a bug in zathura. Still, zathura is the only program which doesn't behave correctly in tabbed, so hopefully something can be done to fix the integration between these great softwares.

@sebastinas sebastinas added bug Something isn't working help wanted Extra attention is needed labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant