-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Code starts with a blurry window until the window is reloaded #161231
Comments
Any ideas where this could come from? Is this reproducible for you @deepak1556 or is the error on my side? |
Same for me. At least I now have a workaround for the blurry window so thanks for that! |
This happens to me on Ubuntu if the laptop screen has fractional scaling and I position the second screen above the primary laptop screen. Text is blurry with fractional scaling until I disable then re-enable second screen, or reload the window. Vs code starts fine with sharp text if I leave the second screen at the default position on the right side, which is not very convenient. |
Reloading doesn't seem to fix the blurry window for me, even with those command line flags |
It's the same of #72759 |
Not really. This issue is way more specific. |
Merging to #72759 since it already tracks the blurry window under fractional scaling. |
#72759 is not at all the same. It's due to how gnome treats X applications under fractional scaling and could be argued is not at all related to vscode, but even if it were, it's when running vscode under xwayland. This issue is when running vscode under native wayland and is a bug in vscode itself with vscode rendering in a much smaller buffer than optimal. Probably due to some race condition in handling wayland events since reloading the window fixes it. Both issues results in blurry windows yes, but due to different problems, in different applications, under different windowing systems. |
@deepak1556 I'm not really happy with this. @Pajn that's pretty much what I was about to write ;) |
The other issue also has reports from users on native wayland, the reason for merging is to consolidate and test if a newer runtime addresses the issue. Please follow that issue for updates, there isn't much VSCode can do to address this issue than update to newer runtime version. |
I am experiencing blur on 1.74.2 without it fixing on reload. I downgraded to 1.73.0 and am able to get it to render sharp after the developer reload. I have to start it like this though: code --enable-features=UseOzonePlatform --ozone-platform=wayland --log debug --log debug
Warning: 'enable-features' is not in the list of known options, but still passed to Electron/Chromium.
Warning: 'ozone-platform' is not in the list of known options, but still passed to Electron/Chromium. It would be nice if it was sharp without a reload, but I'm happy I can even get it sharp on 1.73. Weird! |
Does this issue occur when all extensions are disabled?: Yes!
Steps to Reproduce:
code-insiders --ozone-platform=wayland --disable-extensions
Developer: Reload window
(you can also open another folder to reproduce this)This occurs on my KDE Wayland installation with a 4K display attached and set to 125% fractional scaling.
Before reloading the window:
After reloading the window:
The text was updated successfully, but these errors were encountered: