You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is not related to compiling a document, or the document can be successfully compiled in the OS terminal but not in Visual Studio Code with this extension.
Environment*
Please write exact version numbers instead of descriptors such as latest.
Operating System: Linux x64 6.5.0-45-generic (Ubuntu 22)
Visual Studio Code Version: 1.93.1
LaTeX Workshop Version: v10.4.1
TeX Distribution Version: TeX Live 2022
The Issue*
Please briefly describe the issue you come across.
Text selection in landscape pages does not work using internal PDF viewer
Reproduction Steps
Please list out the steps to reproduce your bug. Include relevant environmental variables or any other configuration.
Command latex-workshop.view or latex-workshop.viewInBrowser
Try to select the words "portrait" or "landscape" with the mouse
Expected Behavior
What were you expecting to see? Include any relevant examples or documentation links.
Selecting "portrait" works, but selecting "landscape" does not work
Pressing Ctrl + A reveals that the selectable text is offset to the displayed one
Logs
LaTeX Workshop Output*
Please paste the whole log messages below, not parts of ones. The log should start with New log placeholder %WS1% registered.
[20:00:36.594][Commander] VIEW command invoked.
[20:00:36.595][Root] Current workspace folders: ["file://%WS1%"]
[20:00:36.596][Root] Try finding root from magic comment.
[20:00:36.596][Root] Found magic root %WS1%/test/test.tex
[20:00:36.646][Root] Found looped magic root %WS1%/test/test.tex .
[20:00:36.647][Root] Keep using the same root file: %WS1%/test/test.tex
[20:00:36.647][Event] ROOT_FILE_SEARCHED
[20:00:36.648][Event] STRUCTURE_UPDATED
[20:00:37.452][Viewer][Panel] Internal PDF viewer at http://127.0.0.1:43815/viewer.html?file=pdf..ZmlsZSUzQSUyRiUyRiUyRmhvbWUlMkZjaHJpc3RvcGglMkZnaXQlMkZzZW1leHAtdGhlc2lzJTJGdGVzdCUyRnRlc3QucGRm .
[20:00:37.453][Cacher][Watcher] Watched file://%WS1%/test/test.pdf by the .pdf watcher.
[20:00:37.455][Event] FILE_WATCHED: "file://%WS1%/test/test.pdf"
[20:00:37.996][Viewer] Open PDF tab for file://%WS1%/test/test.pdf
[20:00:38.721][Viewer] Handle data type: open
[20:00:39.125][Server] Preview PDF file: file://%WS1%/test/test.pdf
[20:00:39.493][Viewer] Handle data type: loaded
[20:00:39.499][Event] VIEWER_PAGE_LOADED
Developer Tools Console
Please paste the whole log messages below, not parts of ones. This console logs can sometimes be very important in many cases. To access the log, click Help -> Toggle Developer Tools -> Console.
console.ts:137 [Extension Host] stack trace: TypeError: Cannot set properties of undefined (setting 'size')
at Watcher.handlePolling (/home/christoph/.vscode/extensions/james-yu.latex-workshop-10.4.1/out/src/core/watcher.js:189:42)
at Timeout._onTimeout (/home/christoph/.vscode/extensions/james-yu.latex-workshop-10.4.1/out/src/core/watcher.js:162:13)
mainThreadExtensionService.ts:78 [James-Yu.latex-workshop]Cannot set properties of undefined (setting 'size')
mainThreadExtensionService.ts:79 TypeError: Cannot set properties of undefined (setting 'size')
at Watcher.handlePolling (vscode-file://vscode…e/watcher.js:189:42)
at Timeout._onTimeout (vscode-file://vscode…e/watcher.js:162:13)
console.ts:137 [Extension Host] rejected promise not handled within 1 second: TypeError: Cannot set properties of undefined (setting 'size')
console.ts:137 [Extension Host] stack trace: TypeError: Cannot set properties of undefined (setting 'size')
at Watcher.handlePolling (/home/christoph/.vscode/extensions/james-yu.latex-workshop-10.4.1/out/src/core/watcher.js:189:42)
at Timeout._onTimeout (/home/christoph/.vscode/extensions/james-yu.latex-workshop-10.4.1/out/src/core/watcher.js:162:13)
mainThreadExtensionService.ts:78 [James-Yu.latex-workshop]Cannot set properties of undefined (setting 'size')
mainThreadExtensionService.ts:79 TypeError: Cannot set properties of undefined (setting 'size')
at Watcher.handlePolling (vscode-file://vscode…e/watcher.js:189:42)
at Timeout._onTimeout (vscode-file://vscode…e/watcher.js:162:13)
console.ts:137 [Extension Host] rejected promise not handled within 1 second: TypeError: Cannot set properties of undefined (setting 'size')
console.ts:137 [Extension Host] stack trace: TypeError: Cannot set properties of undefined (setting 'size')
at Watcher.handlePolling (/home/christoph/.vscode/extensions/james-yu.latex-workshop-10.4.1/out/src/core/watcher.js:189:42)
at Timeout._onTimeout (/home/christoph/.vscode/extensions/james-yu.latex-workshop-10.4.1/out/src/core/watcher.js:162:13)
mainThreadExtensionService.ts:78 [James-Yu.latex-workshop]Cannot set properties of undefined (setting 'size')
mainThreadExtensionService.ts:79 TypeError: Cannot set properties of undefined (setting 'size')
at Watcher.handlePolling (vscode-file://vscode…e/watcher.js:189:42)
at Timeout._onTimeout (vscode-file://vscode…e/watcher.js:162:13)
console.ts:137 [Extension Host] rejected promise not handled within 1 second: TypeError: Cannot set properties of undefined (setting 'size')
console.ts:137 [Extension Host] stack trace: TypeError: Cannot set properties of undefined (setting 'size')
at Watcher.handlePolling (/home/christoph/.vscode/extensions/james-yu.latex-workshop-10.4.1/out/src/core/watcher.js:189:42)
at Timeout._onTimeout (/home/christoph/.vscode/extensions/james-yu.latex-workshop-10.4.1/out/src/core/watcher.js:162:13)
mainThreadExtensionService.ts:78 [James-Yu.latex-workshop]Cannot set properties of undefined (setting 'size')
mainThreadExtensionService.ts:79 TypeError: Cannot set properties of undefined (setting 'size')
at Watcher.handlePolling (vscode-file://vscode…e/watcher.js:189:42)
at Timeout._onTimeout (vscode-file://vscode…e/watcher.js:162:13)
console.ts:137 [Extension Host] rejected promise not handled within 1 second: TypeError: Cannot set properties of undefined (setting 'size')
console.ts:137 [Extension Host] stack trace: TypeError: Cannot set properties of undefined (setting 'size')
at Watcher.handlePolling (/home/christoph/.vscode/extensions/james-yu.latex-workshop-10.4.1/out/src/core/watcher.js:189:42)
at Timeout._onTimeout (/home/christoph/.vscode/extensions/james-yu.latex-workshop-10.4.1/out/src/core/watcher.js:162:13)
mainThreadExtensionService.ts:78 [James-Yu.latex-workshop]Cannot set properties of undefined (setting 'size')
mainThreadExtensionService.ts:79 TypeError: Cannot set properties of undefined (setting 'size')
at Watcher.handlePolling (vscode-file://vscode…e/watcher.js:189:42)
at Timeout._onTimeout (vscode-file://vscode…e/watcher.js:162:13)
console.ts:137 [Extension Host] rejected promise not handled within 1 second: TypeError: Cannot set properties of undefined (setting 'size')
console.ts:137 [Extension Host] stack trace: TypeError: Cannot set properties of undefined (setting 'size')
at Watcher.handlePolling (/home/christoph/.vscode/extensions/james-yu.latex-workshop-10.4.1/out/src/core/watcher.js:189:42)
at Timeout._onTimeout (/home/christoph/.vscode/extensions/james-yu.latex-workshop-10.4.1/out/src/core/watcher.js:162:13)
mainThreadExtensionService.ts:78 [James-Yu.latex-workshop]Cannot set properties of undefined (setting 'size')
mainThreadExtensionService.ts:79 TypeError: Cannot set properties of undefined (setting 'size')
at Watcher.handlePolling (vscode-file://vscode…e/watcher.js:189:42)
at Timeout._onTimeout (vscode-file://vscode…e/watcher.js:162:13)
console.ts:137 [Extension Host] rejected promise not handled within 1 second: TypeError: Cannot set properties of undefined (setting 'size')
console.ts:137 [Extension Host] stack trace: TypeError: Cannot set properties of undefined (setting 'size')
at Watcher.handlePolling (/home/christoph/.vscode/extensions/james-yu.latex-workshop-10.4.1/out/src/core/watcher.js:189:42)
at Timeout._onTimeout (/home/christoph/.vscode/extensions/james-yu.latex-workshop-10.4.1/out/src/core/watcher.js:162:13)
mainThreadExtensionService.ts:78 [James-Yu.latex-workshop]Cannot set properties of undefined (setting 'size')
mainThreadExtensionService.ts:79 TypeError: Cannot set properties of undefined (setting 'size')
at Watcher.handlePolling (vscode-file://vscode…e/watcher.js:189:42)
at Timeout._onTimeout (vscode-file://vscode…e/watcher.js:162:13)
console.ts:137 [Extension Host] rejected promise not handled within 1 second: TypeError: Cannot set properties of undefined (setting 'size')
console.ts:137 [Extension Host] stack trace: TypeError: Cannot set properties of undefined (setting 'size')
at Watcher.handlePolling (/home/christoph/.vscode/extensions/james-yu.latex-workshop-10.4.1/out/src/core/watcher.js:189:42)
at Timeout._onTimeout (/home/christoph/.vscode/extensions/james-yu.latex-workshop-10.4.1/out/src/core/watcher.js:162:13)
mainThreadExtensionService.ts:78 [James-Yu.latex-workshop]Cannot set properties of undefined (setting 'size')
mainThreadExtensionService.ts:79 TypeError: Cannot set properties of undefined (setting 'size')
at Watcher.handlePolling (vscode-file://vscode…e/watcher.js:189:42)
at Timeout._onTimeout (vscode-file://vscode…e/watcher.js:162:13)
(seems unrelated though? In web browser, developer console is empty)
Pre-checks*
Environment*
The Issue*
Reproduction Steps
latex-workshop.view
orlatex-workshop.viewInBrowser
Expected Behavior
Logs
LaTeX Workshop Output*
Developer Tools Console
(seems unrelated though? In web browser, developer console is empty)
Anything Else?
The text was updated successfully, but these errors were encountered: