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

Tex Studio crashes if moving around in a reasonably large (100 pages) PDF with embedded PDF graphs #3961

Closed
rtayloressex opened this issue Jan 27, 2025 · 19 comments

Comments

@rtayloressex
Copy link

Hi. The latest update to tex studio has brought a new undesirable feature not present in the previous version. When you scroll in the PDF preview window faster than tex studio would seemingly like you get a little round blue circle then the whole system crashes. You then have to re-open tex studio and then re-open the file(s) you were editing. This has only happened since the update last month. It never happened before, including when working on the same files, in the previous version. It seems therefore that the update is unstable.

@sunderme
Copy link
Member

I can only reiterate what was asked when opening the issue

<!-- add as much describing information about your issue as necessary -->
<!-- remove empty sections -->
### Environment
This is important !!!!
- TeXstudio: <!-- VERSION 	-->
- Qt: <!-- SEE THE ABOUT SCREEN IN TXS -->
- OS: <!-- Windows(7,8,10), Mac, Linux (Distribution), ... -->
- TeX distribution: <!-- miktex, texlive, ... -->

### Expected behavior
okay

### Actual behavior
okay, pdf viweing crashes, that is fine.

### How to reproduce
Give an example, e.g. the pdf which crashes

@rtayloressex
Copy link
Author

Hi. Apologies.

It is

TeXstudio 4.8.5 (git 4.8.5)
Using Qt Version 6.8.1, compiled with Qt 6.8.1 R

Running on Windows 11

Using latest version of Miktex (no updates currently needed) running in Miktex console 4.12

the PDF involved is 100 pages with embedded PDF graphs. It's attached

CUSUMrevision2101MCedit.pdf

@rtayloressex
Copy link
Author

In case also useful ...

This is pdfTeX, Version 3.141592653-2.6-1.40.26 (MiKTeX 24.4) (preloaded format=pdflatex 2025.1.27)

@octaeder
Copy link
Contributor

not reproducable with the given document (and also not with my 1'008 pages pdf).

Win 10 pro on Intel
TeXstudio 4.8.6 (git 4.8.6beta1-4-gc4efbe39e)
Using Qt Version 6.8.1, compiled with Qt 6.8.1 R (I think this is 6.8.1-3)

@rtayloressex
Copy link
Author

rtayloressex commented Jan 27, 2025

Hi. Don't know what to say then, as it happens to me often, 5 times today already (but has only happened since I installed the last update of tex studio - never happened before that) when using the vertical scroll facility on the far right hand side of the PDF viewer. It also can happen if two latex files are open both with their PDFs open and I click back from the other to the big PDF I uploaded that is crashing - at that point the little blue circle keeps going round until the whole tex live process just crashes and closes.

In fact I can crash tex studio at will just by spinning this scroll facility up quickly on the big PDF ... it is basically very unstable.

Your tex studio version is not the same as I have been using. Is there another update?

@rtayloressex
Copy link
Author

rtayloressex commented Jan 27, 2025

The tex studio system tells me it is up to date when I check.

@rtayloressex
Copy link
Author

I might have to go back to tex works it seems :(

@octaeder
Copy link
Contributor

The texstudio version I used for the test is a local build of the source code (with msys2). You can test yourself builds generated automatically with each change in development. Select latest (at top) or one as you like and click the link. What was built can be seen to the left:

Image

Scroll down to Artifacts:

Image

Here you can download what you need for your system. The zip named at the end of the list is a portable version and needs no installation.

@rtayloressex
Copy link
Author

Thank you, but that is beyond my computing skills! I just want something off-the-shelf that runs reliably with the standard download. Tex Studio was exactly that until the last upgrade when this problem with it crashing started. It seems the latest upgrade is unstable. Shame as the version before the upgrade was brilliant. I hesitated to do the upgrade as it was working fine before. I wish I had not now.

@sunderme
Copy link
Member

you can go back to any version.

@rtayloressex
Copy link
Author

OK. Do you need to uninstall the latest release to install an older release, please?

@octaeder
Copy link
Contributor

octaeder commented Jan 27, 2025

no, otherwise you may loose your settings.

@rtayloressex
Copy link
Author

So just download and install older version of choice without uninstalling latest version? Thanks for your help. Much appreciated!

@octaeder
Copy link
Contributor

I would do so

@rtayloressex
Copy link
Author

rtayloressex commented Jan 28, 2025

Thanks. I installed 4.8.1 (which I think is the version I was running before the upgrade) in a different folder location from the latest version 4.8.6 and the problem has vanished when I run the older version but still happens with the new version. It does look like there must be something about the PDF viewer and the latest version that my windows 11 PC does not like ...

@octaeder
Copy link
Contributor

octaeder commented Jan 28, 2025

Thank you for sharing this with us. If you like you could run 4.8.5 (4.8.6 is next release in the future) with a complete default configuration to see what happens then. To do so, you need to end txs, then rename the config folder. The folder's name is texstudio and should be found under %appdata% (windows explorer will replace this with the correct path). Then start 4.8.5 and make your testing. After all you should restore the original name of the config folder.

Image

@rtayloressex
Copy link
Author

Hi. Not sure I'm of sufficient computing skills to do that I'm afraid. The older version is working and if no one else is having the problem then maybe it is just my machine ...

@octaeder
Copy link
Contributor

this is ok, thanks.

@sunderme
Copy link
Member

not reproducible
please come here again if a reproducible test case can be provided

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

3 participants