-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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... |
It did work for me. thanks |
Hi I can´t fix it, just uninstall snap and install via apt-get and done VS code work perfect. |
Installing without snap did help |
nope, installing from .deb does not fix vscode hanging on using the file open dialog, including trying to open a different workspace. |
Thanks @ken999999999999999 . |
my vsocde version
"Clicking on bottom half of applications switches to background application" "Strange UI issue with Electron apps on 24.04" "Issues with Wayland on 24.04" Now I open vscode with |
It is working fine so far. Thanks. |
Oh my god, I thought my computer was broken, but it turns out it's Electron that hasn't been updated for 24.04. |
Try upgrade to latest Ubuntu 24.04.1 It seems mutter ralated pkg fix this problem mutter (46.2-1ubuntu0.24.04.1) noble; urgency=medium [ Daniel van Vugt ] New upstream release 46.2 (LP: #2068598) |
Lucky you. If I disable Wayland, it freezes at black screen before logon screen. I don't have a workaround. Try not to completely downplay your own bug report, implying that you should just leave Wayland off and it's not a bug. Wayland is forced down most people's throat. Canonical thinks they can dictate like Microsoft. They need to get a grip on reality. |
Also disable Wayland can create issues in other software used. IMHO, this still a issue to be addressed. Disable it is just a workaround that works for some users. |
Appear to be related. |
I deleted the |
This worked for me. None of the solutions above. Thanks @hildogjr |
Thanks, finally this works for me on ubuntu 24 |
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: