void-linux / void-linux/void-packages
vscode PDFViewer not working
Open
Nobody has claimed this yet.
bug
needs-testing
- Dominant language
- Shell
- Stars
- 3.4k
- Forks
- 2.8k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 299
Description
Is this a new report?
Yes
System Info
Void 6.6.35_1 x86_64 GenuineIntel uptodate rrFFFF
Package(s) Affected
vscode-1.91.0_1
Does a report exist for this bug with the project's home (upstream) and/or another distro?
No response
Expected behaviour
opening a pdf file shows its content
Actual behaviour
The PDFViewer opens, but the region is grey. The error console (in the menu: Help->Toggle Developer Tools) shows the following entry
caught TypeError: Promise.withResolvers is not a function
at viewer.mjs:12029:16
Steps to reproduce
open a pdf file from vscode
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce by opening a PDF in vscode-1.91.0_1, then use Help -> Toggle Developer Tools and inspect the viewer.mjs:12029 error reported in the issue. Done means the PDFViewer displays the PDF content instead of a grey region and no longer reports that Promise.withResolvers is unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100