microsoft / microsoft/vscode

切换回应用时窗口闪屏问题

Open
#335,747 1 comment 0 reactions 1 assignee Claimed by @aeschli View on GitHub
triage-needed
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Type: Performance Issue

在最大化窗口下,通过 Alt+Tab 或点任务栏切换回 CodeBuddy 时,窗口会出现一次缩放/屏闪效果,仅 CodeBuddy 有此现象、其它程序正常、且在多台不同设备上均能复现。建议:①提供"关闭窗口焦点动画/重绘"的设置项;②排查 Native Window Occlusion 在切换焦点时的整窗重绘逻辑。

When switching back to CodeBuddy via Alt+Tab or clicking the taskbar in full-screen mode, a window scaling/screen flicker effect occurs. This phenomenon is exclusive to CodeBuddy, with no issues in other programs, and has been consistently reproduced across multiple different devices. Recommendations: ① Add a setting to "Disable window focus animation/redraw"; ② Investigate the full-window redraw logic of Native Window Occlusion during focus switching

VS Code version: CodeBuddy CN 1.106.1 (b4c35ed08ffb428910211608831a314565c1256e, 2026-09-04T17:20:23.326Z)
OS version: Windows_NT x64 10.0.26200
Modes:

System Info

|Item|Value|
|---|---|
|CPUs|12th Gen Intel(R) Core(TM) i5-12600KF (16 x 3686)|
|GPU Status|2d_canvas: unavailable_software
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: unavailable_software
webnn: unavailable_software|
|Load (avg)|undefined|
|Memory (System)|15.85GB (5.43GB free)|
|Process Argv||
|Screen Reader|no|
|VM|0%|

Process Info

```
CPU % Mem MB PID Process
1 255 23996 buddycn
0 38 6300 crashpad-handler
0 115 6344 gpu-process
2 290 9552 window [1] (20260911224518 - argv.json - CodeBuddy CN)
0 140 17388 shared-process
1 253 19312 window
0 163 20744 extension-host [1]
0 98 14984 "K:\Program Files\CodeBuddy CN\CodeBuddy CN.exe" "k:\Program Files\CodeBuddy CN\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=20744
0 397 22804 extension-host [1]
0 89 24912 window
0 54 25360 utility-network-service
0 110 25528 file-watcher [1]
```

Workspace Info

```
| Window (20260911224518 - argv.json - CodeBuddy CN)
| Folder (20260911224518): 0 files
| File types:
| Conf files:;
```

Extensions (3)

Extension|Author (truncated)|Version
---|---|---
basedpyright|det|1.40.1
debugpy|ms-|2026.6.0
python|ms-|2026.4.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.