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

Content gets cropped with a wrong center after moving the cursor out of zathura #435

Open
sebastinas opened this issue Dec 12, 2023 · 2 comments

Comments

@sebastinas
Copy link
Member

On GitLab by @uetcis on Dec 12, 2023, 06:16


Description:

As the title, this bug can be stably reproduced on my platform by following these steps:

  1. open a pdf file using zathura
  2. copy something (the message panel pops up at the bottom)
  3. move the cursor to another window
  4. now the content is cropped, and all attempts to zoom are centered at the wrong position

Environment:

OS: Artix Linux
WM: Hyprland (Wayland)

Reproduction confirmed on commit e68c0f5, though I'm pretty sure that this bug appeared earlier from last week in the release as this bug is discovered when I was using the packaged zathura release from Artix repo. If needed, I can try bisecting this when I have time.

A video of the reproduction of this bug can be downloaded from https://paste.fal.moe/RkHxTwjf.mp4

@sebastinas
Copy link
Member Author

On GitLab by @uetcis on Dec 12, 2023, 06:50


I tried earlier versions of zathura and found that 0.5.2 has this issue as well. I doubt if this is caused by a regression in my window manager.

@sebastinas
Copy link
Member Author

On GitLab by @sebastiancarlos on Dec 19, 2023, 11:11


I am having the same issue on Arch and Swaywm.

I noticed that the amount of displacement is proportional to the amount of text copied: If I copy just a few words, everything looks fine. If I copy several lines, the content is totally gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant