Closed Raigiku closed 5 years ago
I have the same problem. Is there any help? Thanks.
I use win10 18277, and my Edge pdf viewer is broken too. I think the problem is caused by Edge.
I use win10 18277, and my Edge pdf viewer is broken too. I think the problem is caused by Edge.
I am experiencing the same issue but my Edge pdf viewer works fine so i think it is too early to say whether the two are correlated or not
Sorry guys, we had a bug about local resource path for windows. The plugin was updated to 0.4.1, could you try it again?
now it stop at this step
This bug is also affecting Linux :(
Using vsCode v. 1.29.0 now results in any PDFs opening to a black screen.
Hmm... :( @mac40 @Axinex We switched to new VSCode API for extensions, so it might be left something bad like cache. According to #30, plugin turned to fine after uninstall and re-install this. Could you try it?
@rodmoncada Please tell me your environment. (OS, VSCode version, Plugin version and so on...)
@tomoki1207 OS: Linux 4.15.0-38-generic #41-Ubuntu x86_64 GNU/Linux VSCode: 1.29.0 arch:x64 Plugin version 0.4.1 Exact same behavior as @Axinex
Thank you for all your help and time :+1:
Hmm... :( @mac40 @Axinex We switched to new VSCode API for extensions, so it might be left something bad like cache. According to #30, plugin turned to fine after uninstall and re-install this. Could you try it?
Upon uninstalling and reinstalling the extension, the same behavior persists.
@tomoki1207 I reinstalled and this is what shows up Then when I alt-tabbed back to chrome to upload that image and came back to VSCode, the previous text changed to this:
@rodmoncada @Axinex This behavior (the blank page is shown after PDF viewer was shown in a moment) might be caused by the size of pdf file is too large. Could you try it with lighter one?(like https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf)
I think these files were opened well until update, the new VSCode api seems to has implicit size limit. I'll continue investigation to avoid it.
@rodmoncada @Axinex This behavior (the blank page is shown after PDF viewer was shown in a moment) might be caused by the size of pdf file is too large. Could you try it with lighter one?(like https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf)
I think these files were opened well until update, the new VSCode api seems to has implicit size limit. I'll continue investigation to avoid it.
The file you linked does appear to open correctly, but I am concerned that should the file size limit be the root cause, then this file size limit is very low, as the file I am able to replicate my issue with is only 51KB in size. I have linked the problematic file below. palette.pdf
@Axinex Thank you reporting. As you said, palette.pdf is broken in my mac too. And the pdf file that is shown well is larger than it. It seems that problem not caused by size but caused by pdf format or else. 🤔
@johnking Did you mean "after updating this extension"? We had a bug in open pdf, so fixed it and extension is updated just now. Please try re-open a pdf file. If "Do you want to open it anyway?" shown like your screenshot, click this link.
It works! thanks so much @tomoki1207
I just barely installed the extension and I get the same problem as reported by @Raigiku in https://github.com/tomoki1207/vscode-pdfviewer/issues/31#issuecomment-439146307
Name: vscode-pdf Id: tomoki1207.pdf Description: Display pdf file in VSCode. Version: 0.4.3 Publisher: tomoki1207 VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=tomoki1207.pdf
Platform: OSX
I tried opening PDFs I generated using PDFKit, so filesize should not be an issue.
Same behavior, black screen (persit even after uninstall/reinstall) vscode ver: 1.31.1 vscode-pdf ver: 0.4.3 os: Arch Linux
Edit: Confirm, downgrade to 0.3.0 work like a charm
Also getting a black screen. I reverted to version 0.3.0 and it works. Seems that any version past 0.3.0 doesn't work
Also getting a black screen. I reverted to version 0.3.0 and it works. Seems that any version past 0.3.0 doesn't work
0.3.0 Working, Only working 0.3.0
@all Sorry a lot to keep you waiting. It was updating for recovery to work just now. Please try it. We'll continue to welcome to your report. Thank you.
@ALL Sorry a lot to keep you waiting. It was updating for recovery to work just now. Please try it. We'll continue to welcome to your report. Thank you.
Work, nice.
Closing as fixed it. If you still have problems, please create another issue.
The extension simply doesn't work VSCode version: 1.28.2 OS: Windows 10 64-bits