Skip to content

Can't resize or maximize the window on monitors with below 100% display scaling (Wayland) #311247

Open

Description

Type: Bug

Just try to use Visual Studio Code on a monitor with below 100% display scaling and you'll see it's just broken and buggy as hell.

Here you can see my monitor is set to be 65% display scaling:

KDE Settings

I'm using the Flatpak version of Visual Studio Code on SteamOS.

This bug is very irritating and has been an issue for a few months already. I'm perfectly able to use Visual Studio Code on my other monitor that has 100% scale, but it just doesn't work on the 65% scale monitor. It use to work in the past, but sometime around the end of last year it stopped working and has been broken since then on monitors below 100% display scaling.

VS Code version: Code 1.116.0 (560a9db, 2026-04-15T00:28:13Z)
OS version: Linux x64 6.18.22-valve1-1-neptune-618-gcdf3a9c8043e
Modes:

System Info
Item Value
CPUs AMD Ryzen 7 8845HS w/ Radeon 780M Graphics (16 x 4614)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x1002, DEVICE=0x1900, DRIVER_VENDOR=Mesa, DRIVER_VERSION=26.0.4 ACTIVE
GPU1: VENDOR= 0x10de, DEVICE=0x28a0
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
Load (avg) 4, 2, 2
Memory (System) 62.07GB (31.03GB free)
Process Argv --extensions-dir=/home/deck/.var/app/com.visualstudio.code/data/vscode/extensions --reuse-window --crash-reporter-id 025d5521-d1c3-48d6-b8a6-68580de52838
Screen Reader no
VM 0%
DESKTOP_SESSION plasma
XDG_CURRENT_DESKTOP KDE
XDG_SESSION_DESKTOP KDE
XDG_SESSION_TYPE wayland
Extensions (21)
Extension Author (truncated) Version
copilot-chat Git 0.44.1
delphi-keybindings ale 9.8.1
delphi-pack ale 2.1.0
numbered-bookmarks ale 9.0.0
pascal ale 10.0.0
delphilsp Emb 1.1.0
delphi-programming Emb 1.0.0
remotehub Git 0.64.0
vscode-github-actions git 0.31.3
vscode-pull-request-github Git 0.136.0
debugpy ms- 2025.18.0
python ms- 2026.4.0
vscode-pylance ms- 2026.2.1
vscode-python-envs ms- 1.28.0
makefile-tools ms- 0.12.17
powershell ms- 2025.4.0
remote-repositories ms- 0.42.0
integrated-browser-on-activity-bar ole 0.0.13
chatgpt ope 26.415.20818
pdf tom 1.2.2
vscode-wakatime Wak 30.0.8

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
pythonvspyt551cf:31249601
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
6abeh943:31336334
envsactivate1:31464700
cloudbuttont:31379625
42190218_ostrepl:31403339
bj468946:31457056
use-responses-api:31390855
ec5jj548:31422691
cp_cls_t_966_ss:31454198
4je02754:31466945
8hhj4413:31478653
cp_cls_c_1081:31454833
conptydll_false:31489735
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
rl_b_098a3278:31497326
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
534a6447:31496642
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
67jbj424:31495046
7e187181:31496397
cpptoolson-v2:31475363
i2gc6536:31494041
30450953:31494756
ghj88844:31492074
ec1eg703:31491645
client_tst_t:31495907
ddid_c:31478207
1b2f8594:31494782
getcmakediagnosticsoff:31489825
ja75b849:31495667
nes-perm-reb-0:31490411
cp_cls_c_1082:31491634
55165474_sum_c:31495625
logging_disabled_new:31493366
output_3x:31496636

Activity

  1. SuzukiStumpy commented on May 6, 2026

    @SuzukiStumpy

    Just run into this exact same issue. Running VS Code 1.118.1 via Homebrew on Bazzite Linux.

    [edit: Adding the following to the command-line arguments for the application seems to have fixed the issue for me for now: --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-features=WaylandFractionalScaleV1]

  2. ShaunRoselt commented on Jun 11, 2026

    @ShaunRoselt
    Author

    Just run into this exact same issue. Running VS Code 1.118.1 via Homebrew on Bazzite Linux.

    [edit: Adding the following to the command-line arguments for the application seems to have fixed the issue for me for now: --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-features=WaylandFractionalScaleV1]

    Could you maybe explain what each of that arguments does and is for please? 🙏🏻

  3. added
    bug
    wayland
    upstream
    on Sep 28, 2026
  4. dharunashokkumar commented on Nov 10, 2026

    @dharunashokkumar

    same thing happening for me on fedora 44 kde plasma (wayland), vscode 1.144.1 rpm and vscodium also does it. my display scale was at 95% and the titlebar buttons go crazy, like when i move cursor little bit outside the close btn the minimize one gets hoverd insted, same for all the buttons and it gets more off the further u go along the bar. other kde apps are totaly fine

    setting scale back to 100% fixed it straight away so def something with the below 100% scaling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugupstreamwayland

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions