Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2019 Community 16.8.4 crashes when drag and drop Tab

Visual Studio 2019 Community 16.8.4 crashes when drag and drop Document Tab.

I have re-installed VS 2019 Community and it does not fix the problem. I have been using 2019 Community for a year now with no problem. Not sure if it is related to 16.8.4 or not.

Has anyone else had this problem? If so have you figured out how to fix it?

like image 257
Joe Avatar asked Feb 02 '21 21:02

Joe


2 Answers

[Workaround]

Edit %InstallRoot%\Common7\IDE\devenv.exe.config and %LocalAppData%\Microsoft\VisualStudio\16.0_xxx\devenv.exe.config and append the following text to the AppContextSwitchOverrides element’s value attribute:

;Switch.System.Windows.Interop.MouseInput.OptOutOfMoveToChromedWindowFix=true;Switch.System.Windows.Interop.MouseInput.DoNotOptOutOfMoveToChromedWindowFix=true

After restarting VS, you should be able to drag your VS windows around without crashing. https://developercommunity2.visualstudio.com/t/Unexpected-VS-crash-when-docking-or-spli/1323017#T-N1330689

like image 172
Kelin Avatar answered Nov 18 '22 05:11

Kelin


Indeed fixed in 16.8.5 as specified here: https://developercommunity2.visualstudio.com/t/Unexpected-VS-crash-when-docking-or-spli/1323017

like image 10
cyju Avatar answered Nov 18 '22 05:11

cyju