Menu

#2472 Multiple versions of the same file in cache

open
nobody
None
1
2020-08-06
2020-08-06
Anonymous
No

Hello, I'm working with version Texstudio 2.11.2 on Gnome 3.22.2. The problem I'm experiencing is that two versions of the same file are displayed by Texstudio. The most obvious indicator is that Texstudio claims that all labels have been defined multiple times. The implications are however more subtle: the two displayed versions are not always in sync, yielding unintended reverts of edits when saving the "wrong" version.

Steps to (probably) reproduce the issue:
1: my home has a symlink: home->/local/home
2: create a main .tex file inside the home
3: create an included .tex file in the same location with labels in inside (Having includes might not be necessary for the actual problem to show, but they seem to be an indicator that is easy to observe.)
4: compile and preview
5: open included .tex by clicking "go to source" in the PDF preview
6: close included .tex
7: open included .tex by clicking on its title in the structure view
8: close again and repeat from 5, if needed

Result:
Warning of multiply defined labels occurs in the included .tex file
The the file name of the opened file, displayed in the window header, differs in step 5 and 7. In my case, 5: "/local/home/..." and 7: "/home/..."

The serious part about this behaviour is that I experience out of date content in one of the displayed files from time to time. Sadly I didn't find a sequence of steps to reliably produce that.

The issue might be related to Bugs #933 and #1833, I didn't find more recent posts about it, an in particular no solution in a version later than mine. Please feel free to close my request if I overlooked something.

Discussion


Log in to post a comment.