Skip to content

Window offset and causes caret inaccurate #79466

@whiterkim

Description

@whiterkim

Issue Type: Bug

  1. Maximize the VS Code window.
  2. Minimize the window.
  3. Bring the window back by clicking the icon in taskbar.
    Observe the left up corner of the window.

Expect: The first pixel of the window should align the first pixel of the monitor.
Actual: The first pixel is a few pixels offset to the right down corner (at coordinate around 5, 5).

This causes the bottom edge and the right edge a few pixels clipped and more importantly, the mouse caret still thinks you are at the correct coordinate and the offset makes you caret inaccurate.

VS Code version: Code 1.37.1 (f06011a, 2019-08-15T16:17:55.855Z)
OS version: Windows_NT x64 10.0.18953

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (8 x 4200)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.79GB (5.27GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (11)
Extension Author (truncated) Version
vscode-idl kur 0.1.2
vscode-nmake-tools Mic 2.0.190801001
python ms- 2019.8.30787
remote-wsl ms- 0.39.2
cpptools ms- 0.24.1
csharp ms- 1.21.0
powershell ms- 2019.5.0
team ms- 1.149.2
trailing-spaces sha 0.3.1
vscode-hexdump sle 1.7.2
sort-lines Tyr 1.8.0
![ss](https://user-images.githubusercontent.com/11396021/63290884-4077ca80-c277-11e9-8acb-39d66049b223.png)

Metadata

Metadata

Assignees

Labels

electronIssues and items related to ElectronupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions