Closed artagnon closed 1 year ago
You still see this issue?: Yes/No Yes
You visited the wiki?: Yes/No Yes
You can compile a TeX document manually?: Yes/No Yes
A clear and concise description of what the bug is.
Have a project in which the TeX and PDF are displayed side-by-side. Switch projects, and switch back to the project. On the PDF pane, I get:
Une erreur s’est produite lors de restauration de a vue : latex-workshop-pdf
The PDF view should be restored.
[10:44:18] Initializing LaTeX Workshop. [10:44:18] Extension root: /Users/artagnon/.vscode-insiders/extensions/james-yu.latex-workshop-9.0.1 [10:44:18] $PATH: /Users/artagnon/.yarn/bin:/Users/artagnon/.config/yarn/global/node_modules/.bin:/Users/artagnon/.rbenv/shims:/Users/artagnon/.rbenv/bin:/Users/artagnon/.cargo/bin:/Users/artagnon/.elan/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Library/Apple/usr/bin [10:44:18] $SHELL: /bin/zsh [10:44:18] $LANG: undefined [10:44:18] $LC_ALL: undefined [10:44:18] process.platform: darwin [10:44:18] process.arch: x64 [10:44:18] vscode.env.appName: Visual Studio Code - Insiders [10:44:18] vscode.env.remoteName: undefined [10:44:18] vscode.env.uiKind: 1 [10:44:18] Configuration for workspace: file:///Users/artagnon/src/maude [10:44:18] editor.acceptSuggestionOnEnter: "on" [10:44:18] latex-workshop.bind.enter.key: true [10:44:18] latex-workshop.docker.enabled: false [10:44:18] latex-workshop.docker.image.latex: "" [10:44:18] latex-workshop.hover.preview.mathjax.extensions: [] [10:44:18] latex-workshop.intellisense.package.enabled: true [10:44:18] latex-workshop.intellisense.update.aggressive.enabled: false [10:44:18] latex-workshop.intellisense.update.delay: 1000 [10:44:18] latex-workshop.latex.autoBuild.run: "onSave" [10:44:18] latex-workshop.latex.build.forceRecipeUsage: true [10:44:18] latex-workshop.latex.outDir: "%DIR%" [10:44:18] latex-workshop.latex.recipes: [ { "name": "lualatex 🔃", "tools": [ "latexmk" ] } ] [10:44:18] latex-workshop.latex.tools: [ { "name": "latexmk", "command": "latexmk", "args": [ "-lualatex", "--interaction=nonstopmode", "--halt-on-error", "--shell-escape", "%DOC%" ] } ] [10:44:18] latex-workshop.viewer.pdf.internal.keyboardEvent: "auto" [10:44:18] Creating a new file watcher. [10:44:18] watcherOptions: {"useFsEvents":false,"usePolling":false,"interval":300,"binaryInterval":1000,"awaitWriteFinish":{"stabilityThreshold":250}} [10:44:18] Creating PDF file watcher. [10:44:18] watcherOptions: {"useFsEvents":false,"usePolling":false,"interval":300,"binaryInterval":1000,"awaitWriteFinish":{}} [10:44:18] Creating Bib file watcher. [10:44:18] watcherOptions: {"useFsEvents":false,"usePolling":false,"interval":300,"binaryInterval":1000,"awaitWriteFinish":{"stabilityThreshold":250}} [10:44:18] Set $LATEXWORKSHOP_DOCKER_LATEX: "" [10:44:18] [Server] Creating LaTeX Workshop http and websocket server. [10:44:18] LaTeX Workshop initialized. [10:44:18] Trigger characters for intellisense of LaTeX documents: ["\\",",","{"] [10:44:18] Bibtex format config: {"tab":" ","case":"lowercase","left":"{","right":"}","trailingComma":false,"sort":["key"],"alignOnEqual":true,"sortFields":false,"fieldsOrder":[],"firstEntries":["string","xdata"]} [10:44:18] Current workspace folders: ["file:///Users/artagnon/src/maude"] [10:44:18] Found root file from active editor: /Users/artagnon/src/maude/paper.tex [10:44:18] Root file changed: from undefined to /Users/artagnon/src/maude/paper.tex [10:44:18] Start to find all dependencies. [10:44:18] Root file languageId: latex [10:44:18] Reset file watcher. [10:44:18] Parsing a file and its subfiles: /Users/artagnon/src/maude/paper.tex [10:44:18] Parse fls file. [10:44:18] Fls file found: /Users/artagnon/src/maude/paper.fls [10:44:18] Parse aux file: /Users/artagnon/src/maude/paper.aux [10:44:18] [Server] Server successfully started: {"address":"127.0.0.1","family":"IPv4","port":55505} [10:44:18] Added to file watcher: /Users/artagnon/src/maude/paper.tex [10:44:18] Added to file watcher: /Users/artagnon/src/maude/art.cls/art.cls [10:44:19] [Server] valdOrigin is http://127.0.0.1:55505 [10:44:19] Restoring the PDF viewer at the column 1 from the state: undefined [10:44:20] Snippet data loaded. [10:44:20] Manager.fileWatcher.getWatched: {"/Users/artagnon/src/maude":["paper.tex"],"/Users/artagnon/src/maude/art.cls":["art.cls"]} [10:44:20] Manager.filesWatched: ["/Users/artagnon/src/maude/paper.tex","/Users/artagnon/src/maude/art.cls/art.cls"] [10:44:20] BibWatcher.bibWatcher.getWatched: {} [10:44:20] BibWatcher.bibsWatched: [] [10:44:20] PdfWatcher.pdfWatcher.getWatched: {} [10:44:20] PdfWatcher.pdfsWatched: [] [10:44:20] PdfWatcher.watchedPdfVirtualUris: [] [10:44:20] PdfWatcher.ignoredPdfUris: [] [10:44:24] Checking for duplicate labels: /Users/artagnon/src/maude/paper.tex. [10:44:24] LOG command invoked: default
Nothing suspicious.
N/A.
Please write exact version numbers. Please don't write latest instead of exact numbers.
latest
No
If the answer is Yes, please write which one you are using. Write the versions of the remote extension.
N/A
I cannot reproduce this issue. It seems to be a local one. You may try uninstall and reinstall the extension, switch network, reinstall vscode or other approaches and see.
Preliminary questions [Required]
Disable all the other extensions except for LaTeX Workshop, restart VS Code, and check that you still see this issue. [Required]
You still see this issue?: Yes/No Yes
Make sure to visit the wiki FAQ before filling an issue.
You visited the wiki?: Yes/No Yes
If your issue is with compiling a document (not having to do with finding the root file of a project), check first that you can compile manually.
You can compile a TeX document manually?: Yes/No Yes
Describe the bug [Required]
A clear and concise description of what the bug is.
To Reproduce
Have a project in which the TeX and PDF are displayed side-by-side. Switch projects, and switch back to the project. On the PDF pane, I get:
Expected behavior
The PDF view should be restored.
Logs [Required]
LaTeX Workshop Output [Required]
Developer Tools Console [Required]
Nothing suspicious.
Screenshots
N/A.
Desktop [Required]
Please write exact version numbers. Please don't write
latest
instead of exact numbers.Additional questions
Are you using VSCodium?
No
Are you using the Snap or Flatpack versions of VS Code?
No
Are you using LaTeX Workshop with VS Code Remote?
No
If the answer is Yes, please write which one you are using. Write the versions of the remote extension.
N/A