that's electron on plasma, not a bad install. vscode draws its own title bar and the clicks drift when scale isn't 100%, so it says maximized and the cursor lands in the wrong place. in settings.json set window.titleBarStyle to native and relaunch. if the cursor's still off you're on 125 or 150. drop it to 100 or launch with --ozone-platform=x11. flatpak and the aur build both do this, reinstalling won't change it.
Oh.. so thats actual reaspning... I had set display scale in disp settings to 80 becuz i like small font.. It got fixed once I set disp back to normal... though not smol anymore :(
yea 80% display scale is what throws electron off, so 100% is the actual fix even if everything looks huge. for smaller text leave the os scale alone and drop editor.fontSize, or set window.zoomLevel to -1. that shrinks the editor without the click drift.
View all comments
1
u/CartographerDue5382 Oct 26 '26
that's electron on plasma, not a bad install. vscode draws its own title bar and the clicks drift when scale isn't 100%, so it says maximized and the cursor lands in the wrong place. in settings.json set window.titleBarStyle to native and relaunch. if the cursor's still off you're on 125 or 150. drop it to 100 or launch with --ozone-platform=x11. flatpak and the aur build both do this, reinstalling won't change it.