-
Notifications
You must be signed in to change notification settings - Fork 30.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal pdf viewer turns to grey (developer tools too) #92970
Comments
We don't ship a pdf viewer so this must be coming from one of your extensions. Please file this agains them |
@mjbvz, Hi, I am one of the developers of the extension. He says the Developers Tool of VS Code also turns to black. So, this issue might be related to VS Code itself.
|
This happens if a click "Toggle Developer Tools": I didn't do anything between shooting the two pictures. If you still says it's an extension related issue, than I move this conversation to Latex-Workshop repo. |
@tamuratak I use VirtualBox in this case, but I don't think it's the same problem here. I disabled 3D acceleration (I tried to enable, but the GUI collapsed the same way as the aforementioned issue), and I also tried all graphics controller in VBox -> Nothing changes... EDIT: I also tried |
Thanks for clarifying. This sounds like an electron (chromium) issue with your gpu under virtual box. @deepak1556 Is there anything we should do to follow up on gpu related issues like this? |
@mjbvz Unfortunately, I also have this issue on my physical machine (amdgpu driver) The open source version in arch repo does not have this issue. Edit: I have found a workaround for this. If I don't maximize the vscode window and hit preview, it is possible that the preview displays properly. Maximizing it then may still work, but doing some more resizing will certainly break it. It sounds similar to #92420 but updating to 1.43.2 does not resolve the problem. |
@invisiblearts does the issue happen even with
@mjbvz nothing specific, most of the issues are either an issue with chromium or vm, they can report it to upstream with a minimal repro. |
@deepak1556 no, it doesn't. I tend to believe that this is related to #91824. The issue-free community version archlinux provides is compiled with Electron 7.11.4, which has merged the patch. |
I use the Latex-workshop extension to create documents in VSCode, but something is wrong with the internal pdf viewer (tab). It start to display the pdf, it loads it, but suddenly the whole display (the viewer) turns to grey. If I close the tab and try it again the same happens as before.
I tired to check the developer tools to watch error log, but it doesn't contain any message, but after being opened for 4-5 sec it also turns to black. If I close the tab and try it again the same happens as before...
The only log I have is Latex-Workshop's one:
[22:21:17] Serving PDF file at http://localhost:43177/viewer.html?file=pdf..JTJGaG9tZSUyRmFmcmFua28lMkZ3b3Jrc3BhY2UlMkZpbmZva29tamVneXpldCUyRnNvdXJjZXMlMkZtYWluLnBkZg
[22:21:17] The encoded path is /home/afranko/workspace/infyzet/sources/main.pdf
[22:21:17] Open PDF tab for /home/afranko/workspace/infyzet/sources/main.pdf
[22:21:17] Handle data type: open
[22:21:17] Preview PDF file: /home/afranko/workspace/infyzet/sources/main.pdf
[22:21:17] Root file remains unchanged from: /home/afranko/workspace/infyzet/sources/main.tex.
[22:21:17] Handle data type: request_params
[22:21:20] Handle data type: close
I opened the issue here and in Latex-Workshop repo, because it also affect developer tools.
Does this issue occur when all extensions are disabled?: Yes, both of them.
The text was updated successfully, but these errors were encountered: