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

Plugin (supposedly) launches programs from main thread #3279

Closed
thomaseizinger opened this issue Oct 13, 2023 · 4 comments · Fixed by #3405
Closed

Plugin (supposedly) launches programs from main thread #3279

thomaseizinger opened this issue Oct 13, 2023 · 4 comments · Fixed by #3405
Assignees
Labels
bug Deficiencies in TeXiFy behaviour.
Milestone

Comments

@thomaseizinger
Copy link

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

CLion 2023.2.2

Operating System

Manjaro

TeXiFy IDEA version

0.9.1

What I did (steps to reproduce)

Have the plugin installed

Minimal example to reproduce the problem

N/A

Expected behavior

IDE to not freeze randomly

Actual behavior

CLion freezes at random occasions, even when no Tex files are open. I've been in contact with JetBrains support about this issue and as part of sending over threaddumps, they advised to disable this plugin because it apparently launches programs from the main UI thread.

image

Disclaimer: I've not verified this at all but I wanted to give you a heads-up as it sounds like something that might be worth looking into :)

@thomaseizinger thomaseizinger added bug Deficiencies in TeXiFy behaviour. untriaged Issue type still needs to be triaged or verified. labels Oct 13, 2023
@PHPirates
Copy link
Collaborator

Thanks for reporting this! I will try my best guess, but if you have some time to help it would be really helpful if you could do the following:

  • Make sure TeXiFy is enabled
  • go to Help > Diagnostic Tools > Debug Log Settings
  • add #nl.hannahsten.texifyidea.util.Log
  • restart the IDE (not sure if necessary)
  • Reproduce the problem, or in this case just use CLion for a bit I guess
  • go to Help > show log and upload idea.log here
  • If you still have the thread dumps they could be helpful as well (if they are not too big to upload here)

@PHPirates PHPirates removed the untriaged Issue type still needs to be triaged or verified. label Oct 14, 2023
@thomaseizinger
Copy link
Author

I think this might have been a false-positive. They made some other recommendations regarding X11 settings and the freezes are gone now :)

Thank you though!

Let me know if you are still interested in the thread-dumps.

@thomaseizinger thomaseizinger closed this as not planned Won't fix, can't repro, duplicate, stale Oct 26, 2023
@PHPirates
Copy link
Collaborator

Thanks for the comment, then my pure guess is that that was indeed causing the problems, however because TeXiFy is calling executables from the UI thread it popped up in the thread dump and hence the suggestion.
I will reopen the issue because I want to make sure that TeXiFy is not doing that, because it's bad practice even if it doesn't cause any freezes. I should be able to figure that out myself though :)

@Lakasabasz
Copy link

The same thing happens to me but in my case I just need to add the build configuration. Deleting the .idea folder does not help.

Rider: 2023.3.1
Plugin: 0.9.2

@PHPirates PHPirates self-assigned this Jan 15, 2024
@PHPirates PHPirates added this to the Next milestone Jan 15, 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.

3 participants