Skip to content
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

Only top-left quadrant of window drawn after display/resolution change #58608

Closed
fiendish opened this issue Sep 13, 2018 · 5 comments
Closed
Assignees
Labels
electron Issues and items related to Electron upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@fiendish
Copy link

Issue Type: Bug

Problem happens usually when I've just plugged in external monitors (dual side-by-side Dell U2718Q connected via USBC-DisplayPort cables) and woken my laptop (MacBook Pro 15-inch, 2017) up from sleep. But I can also sometimes reproduce it when switching between maximum and scaled less than maximum screen resolutions in macOS (10.13.6) system preferences.

Problem manifests as only the top-left quadrant of the window being drawn and the rest being blank white (as shown here in images). As you can see, it also affects the bug reporting window.

screen shot 2018-09-13 at 10 24 46 am

screen shot 2018-09-13 at 10 26 05 am

The problem fixes itself (the window fully paints) if I drag the window past the barrier between my displays and then back.

VS Code version: Code 1.27.1 (5944e81, 2018-09-06T09:14:32.385Z)
OS version: Darwin x64 17.7.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 1, 2, 2
Memory (System) 16.00GB (1.11GB free)
Process Argv /Applications/Visual Studio Code.app/Contents/MacOS/Electron .
Screen Reader no
VM 0%
Extensions (17)
Extension Author (truncated) Version
emojisense bie 0.4.1
markdown-preview-github-styles bie 0.1.3
vscode-svgviewer css 1.4.6
vscode-markdownlint Dav 0.20.0
jupyter don 1.1.4
gitlens eam 8.5.6
gc-excelviewer Gra 2.1.26
nbpreviewer jit 1.0.0
theme-dark-plus-contrast k3a 0.1.101
rainbow-csv mec 0.5.0
python ms- 2018.8.0
rewrap stk 1.9.1
vscode-gitmoji-snippets thi 3.2.0
vscode-lua tri 0.12.4
python-extended-snippets tus 0.0.1
markdown-all-in-one yzh 1.6.0
propertylist zho 0.0.2

(1 theme extensions excluded)

@bpasero
Copy link
Member

bpasero commented Sep 14, 2018

We are building exploration builds that use a much newer version of Electron (our UI framework). I wonder if this issue reproduces with one of these builds, could you try? Download:

@bpasero bpasero added info-needed Issue requires more information from poster and removed editor labels Sep 14, 2018
@fiendish
Copy link
Author

I am trying the exploration build now. So far so good, but if it happens again I'll report back.

@bpasero
Copy link
Member

bpasero commented Sep 17, 2018

Ok please do

@fiendish
Copy link
Author

fiendish commented Sep 21, 2018

I think I can pretty reliably confirm now that the exploration build does fix the problem after going back and forth between the different versions over several days.

@Tyriar Tyriar added upstream Issue identified as 'upstream' component related (exists outside of VS Code) electron-2.0.x-update electron Issues and items related to Electron and removed info-needed Issue requires more information from poster labels Sep 21, 2018
@bpasero
Copy link
Member

bpasero commented Jan 25, 2019

Closing this issue given that we plan to release VSCode stable early February with Electron 3.x. If you want to benefit from the fix already, consider to use our insiders version that already contains the fix: https://code.visualstudio.com/insiders/

@bpasero bpasero closed this as completed Jan 25, 2019
@bpasero bpasero added this to the December/January 2019 milestone Jan 25, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
electron Issues and items related to Electron upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

3 participants