Microsoft/vscode

fix: flickering

Open

#193,908 建立於 2023年9月24日

在 GitHub 查看
 (2 留言) (1 反應) (1 負責人)TypeScript (10,221 fork)batch import
chromiumconfirmation-pendinghelp wantedupstream

倉庫指標

Star
 (74,848 star)
PR 合併指標
 (平均合併 11小時 43分鐘) (30 天內合併 1,000 個 PR)

描述

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.82.2
  • OS Version: macOS Ventura 13.5.2(22G91) (M1 Max with 32GB Memory)
Version: 1.82.2
Commit: abd2f3db4bdb28f9e95536dfa84d8479f1eb312d
Date: 2023-09-14T06:00:27.244Z (1 wk ago)
Electron: 25.8.1
ElectronBuildId: 23779380
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin arm64 22.6.0

Steps to Reproduce:

It just flickers when I am using

  1. vscode across two monitors (I am using two 28mq780) AND
  2. BetterDisplay with HiDPI.

To explain, BetterDisplay enables HiDPI by mirroring. Why is this useful? Because macOS doesn't allow HiDPI for monitors of resolutions less than 4K. HiDPI is possible technically, but Apply intentionally (to let people buy 4K monitors) doesn't support by built-in feature. So the open source project BetterDisplay does trick by mirroring. The mirroring is like fooling the OS that it's connected to hi-res monitor(4K) in fact it isn't.

https://github.com/microsoft/vscode/assets/28584151/573b23a0-6245-4973-84d8-090fe5a0bfb0

When scrolling, it always flicker. When not scrolling, it sometimes flickers.

I only executed vscode, not other applications. I also rebooted the computer.

But this happens repeatedly.

This happens only in vscode as far as I experienced. For example, when I open web browser and vscode simultaneously side by side, only the latter flickers.

I installed it by homebrew (visual-studio-code formula), and haven't given any custom options.

貢獻者指南