sioyek icon indicating copy to clipboard operation
sioyek copied to clipboard

Sioyek auto-closes if opened with Vimtex

Open codeponics opened this issue 10 months ago • 2 comments

I have vim.g.vimtex_view_method set to 'sioyek' and have the exe specified to the exact .exe file. I have not touched any other setting. I am running Lunarvim with defaults. There are no errors or messages that occur trying to compile .tex but I see briefly a terminal window open/close in an instant blink. Happening with v2.0.0.

I tried going into :VimtexInfo and then copying the command myself to test if it would work on a regular commandline shell although I had to modify it a bit so cmd would accept it (add some quotes), and that works.

So, I can't really tell if the problem is with Vimtex or if it is with sioyek. But, I had success trying a different PDF reader like SumatraPDF (to have it open when Vimtex compiles) except I would really like to use sioyek. Is this happening for anyone else as well?

codeponics avatar Feb 28 '25 03:02 codeponics

I can't reproduce the issue, does the issue happen on the latest preview release here: https://github.com/ahrm/sioyek/releases/tag/sioyek3-alpha0?

ahrm avatar Feb 28 '25 08:02 ahrm

I can't reproduce the issue, does the issue happen on the latest preview release here: https://github.com/ahrm/sioyek/releases/tag/sioyek3-alpha0?

I tried using this version and it works. It also opens an empty command terminal just like v2.0.0 does but it seems like in v2.0.0, that terminal closes instantly. If that terminal is there, there is a pid and without it, there is no pid. Though, sioyek is just fine if I close the terminal. I'm not sure how to have this terminal disappear since it kind of bugs me to have it open every time sioyek opens from Vimtex.

For reference, I'm using the Windows release.

codeponics avatar Feb 28 '25 13:02 codeponics