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

Inverse Search in Evince doesn't work with default template #3590

Closed
taaem opened this issue Jun 29, 2024 · 0 comments · Fixed by #3591
Closed

Inverse Search in Evince doesn't work with default template #3590

taaem opened this issue Jun 29, 2024 · 0 comments · Fixed by #3591
Labels
bug Deficiencies in TeXiFy behaviour.
Milestone

Comments

@taaem
Copy link
Contributor

taaem commented Jun 29, 2024

Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version

IntelliJ IDEA EAP

Operating System

Fedora 40

TeXiFy IDEA version

0.9.6

What I did (steps to reproduce)

  1. Do not create a runConfiguration but change the default template to use Evince as PDF viewer
  2. Run the compilation on the file
  3. Evince opens (it does not jump to the correct line on the first try)
  4. Try inverse search (Ctrl+Click)
  5. Nothing happens

Minimal example to reproduce the problem

This should be enough

\documentclass{article}
\begin{document}
    
\end{document}

Expected behavior

Inverse Search works.

Actual behavior

TeXiFy doesn't register the inverse search, because according to https://github.com/Hannah-Sten/TeXiFy-IDEA/blob/master/src/nl/hannahsten/texifyidea/startup/StartEvinceInverseSearchListener.kt the listener is only started if the current runConfiguration is Evince, but I think if no configuration is created this return false and thus the listener is never started even if the default template uses Evince.

@taaem taaem added bug Deficiencies in TeXiFy behaviour. untriaged Issue type still needs to be triaged or verified. labels Jun 29, 2024
@PHPirates PHPirates added this to the Next milestone Jul 11, 2024
@PHPirates PHPirates removed the untriaged Issue type still needs to be triaged or verified. label Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Deficiencies in TeXiFy behaviour.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants