microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.28k stars 29.31k forks source link

Jamming occurs when dragging the editor #151388

Closed wzs28150 closed 2 years ago

wzs28150 commented 2 years ago

Issue Type: Bug

My PC has multiple monitors, and when I drag editors from one to another, I find that they can't be dragged at all. At first I thought the mouse was broken, but I found that I could drag other folders smoothly

VS Code version: Code 1.67.2 (c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5, 2022-05-17T18:15:52.058Z) OS version: Windows_NT x64 10.0.22000 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 x 2304)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|31.67GB (19.25GB free)| |Process Argv|--crash-reporter-id 617cc13f-f7f8-4120-a9ec-9d48b91d01e7| |Screen Reader|no| |VM|0%|
Extensions (52) Extension|Author (truncated)|Version ---|---|--- gitee-code-settings-sync|Ale|0.1.21 appx-axml-language|ali|1.0.0 minicode|ali|1.6.14 theme-verdandi|be5|2.0.1 vscode-intelephense-client|bme|1.8.2 npm-intellisense|chr|1.4.1 vscode-eslint|dba|2.2.2 weibo-hot-news|dem|2.1.1 xml|Dot|2.5.1 gitlens|eam|12.0.7 EditorConfig|Edi|0.16.4 vscode-npm-script|eg2|0.3.25 prettier-vscode|esb|9.5.0 eva|eva|1.0.2 vscode-vibrancy|eyh|1.0.16 vue-pack|hol|1.0.0 beautify|Hoo|1.5.0 svg|joc|1.4.18 vscode-phpfmt|kok|1.0.31 vscode-fix-checksums|leh|1.1.0 sftp|lix|1.12.10 formate|Mik|1.2.1 vscode-language-pack-zh-hans|MS-|1.67.3 jupyter|ms-|2022.4.1021342353 powershell|ms-|2022.5.1 vscode-typescript-tslint-plugin|ms-|1.3.4 vscode-zhihu|niu|0.5.0 env-cmd-file-syntax|Nix|0.3.0 tslint-vue-tsx|nob|1.0.0 korofileheader|OBK|4.9.1 search-stackoverflow|par|2.2.0 layui-snippets-pfinal|PFi|0.0.4 material-icon-theme|PKi|4.18.0 vscode-css-peek|pra|4.2.0 minapp-vscode|qiu|2.4.6 vscode-commons|red|0.0.6 vscode-xml|red|0.20.0 echarts-enhanced-completion|ren|1.5.2 live-sass|rit|3.0.0 LiveServer|rit|5.7.5 win-opacity|ska|1.1.5 vscode-echarts-extension|sus|0.2.3 axml-highlight|Va|0.0.6 vscodeintellicode|Vis|1.2.21 volar|Vue|0.37.1 vscode-typescript-vue-plugin|Vue|0.37.0 debug|web|0.26.0 JavaScriptSnippets|xab|1.8.0 cloudmusic|YXL|9.10.2 tjgogo|zhe|0.1.2 material-theme|zhu|3.13.29 vscode-proto3|zxh|0.5.5 (2 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythonvspyl392:30443607 pythontb:30283811 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30445986 pythondataviewer:30285071 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 vsc1dst:30438360 pythonvs932:30410667 wslgetstarted:30449410 vscscmwlcmt:30465135 cppdebug:30492333 vscaat:30438848 vsclangdc:30486549 ```
joaomoreno commented 2 years ago

Can you share a screen recording?

bpasero commented 2 years ago

/gifPlease

vscodenpa commented 2 years ago

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.

If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette).

Happy coding!

wzs28150 commented 2 years ago

WeChat_20220607210704_20220607210757

bpasero commented 2 years ago

Thanks, that looks more like a Electron/OS issue to me. Does it reproduce when you configure window.titleBarStyle to native?

wzs28150 commented 2 years ago

I have two computers. This problem only occurs on my computer. The editor on my other computer is configured synchronously. It is normal

bpasero commented 2 years ago

Can you see if it still reproduces when disabling the GPU support in VSCode? You can do that by running VSCode from the command line like this: code --disable-gpu

If that helps, you can permanently configure this option via:

wzs28150 commented 2 years ago

Thank you. I'll try it later