-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
VSCode is not compatible with Ubuntu 24.04 with wayland default #212430
Comments
https://askubuntu.com/questions/1512758/window-cursor-wont-lock-in-games-with-ubuntu-24-04-multi This article says that maybe Ubuntu 24.04 wayland + multi-screen is the cause, I will try it |
24.04 wayland + single screen, not work |
Working just fine on 24.04 LTS with wayland enabled by adding flags to the .desktop file. I have installed using .deb package from official website and not a snap package. Device is a Macbook Pro 13,2 (2016 Touchbar 13"). Using internal display. |
I tried deb from official webside / apt / snap , Unfortunately, it's still the same problem. |
I also encountered the same problem |
@skbtwiz Hi, can you please share those flags? I'm hoping that forcing Wayland will fix the blurriness when using fractional scaling. I've googled the problem but all the issues are from 1-2 years ago and the flags from them seem to be removed in the current version of Chromium. |
This is work for me: /usr/share/applications/code.desktop
|
Same issue on ubuntu 24.04 |
@liheyuan Thank you! It worked, the window is not blurry anymore. |
I'm having the same issue, vscode and vscode-insiders installed from snap store. Using two displays with different resolution. chromium adjusts scale factor automatically after running Ubuntu 22.04 using wayland Tried running : Any help is appreciated |
Have you tried single screen and is it working properly? |
@liheyuan Thanks, this seems to fix my issue. |
@liheyuan code nor code-insiders don´t launch on ubuntu 22.04.4 when running any of the commands I described earlier, independently if I have external displays or not. |
It may be caused by other reasons, the phenomenon is not similar. |
It's work , but after fixed this issue, I couldn't input Chinese in vscode by using fcitx5. I disabled wayland mode by uncomment this config in
It's work for me |
Hello, I'm not sure this is related to vscode or any other app, also after logging out every thing fixes. may wayland is the problem... |
When I try to open VSCode it opens for a 1s and it closes automatically. 💥 In Ubuntu 24.04.4 LTS (Windows system: XOrg) + VSCode 1.90.0
✔️ Using Ubuntu 24.04.4 LTS (Windows system: Wayland) works fine. |
Another try 1.90.0 with 24.04 LTS with wayland, sometimes works fine, sometimes UI not response.... Version: 1.90.0 |
I found that When in ubuntu 24.04 with wayland, vscode opens as a smaller & non-full screen window by default, and there are basically no problems at this time. Once enter the maxium window mode, it will easily trigger problems I mentioned, including unresponsive UI, mouse confusion, etc. |
Seems can be resolved by vscode configuration, Window: Title Bar Style to Custom instead of Native According to this issue #179746 |
I have a similar problem to many of the symptoms below.
Process:
Can be after a reasonable period of working fine. |
Have you tried "Change Title Bar Style" above? |
@liheyuan I tried. Didn't work for me. |
@WaKeMaTTa open vscode then crash seems to be Electron related problem try this electron/electron#41066 |
@liheyuan I tried the temporal solution that they propose in electron/electron#41066
but doesn't work 💥 |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
I upload the following video to show parts of the issue
Screencast.from.2024-05-10.18-43-29.webm
When my mouse is hovering over the popup or terminal, I actually click a lot of mouse or type a lot of keyboard, but vscode does not respond.
However, I disable wayland by editing '/etc/gdm3/custom.conf' , add following line
And reboot, everything works like charms.
Not sure if it's wayland bug or vscode problem, seems not compatible with wayland under linux.
The text was updated successfully, but these errors were encountered: