Visual Studio 2019 Community 16.8.4 crashes when drag and drop Tab

Viewed 7035

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?

6 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

It's just started doing it today, been fine on this version up to this point. It only seems to be the docking so I have Visual Studio on the left hand side of the screen then I'm floating editor windows on the right. Seems to be OK like that.

I have VS2015 and the updates that are supposedly causing the crash weren't installed. Instead I got KB5001028 and KB4601056 installed on the 15th and docking any windows in Visual Studio crashed immediately. Removing those updates fixed the crashing partially. Now I'll get random crashes when docking and immediately switching windows, but not always.

Updating visual studio 2017 to its latest minor version, fixed issue for me.

For those who can't find a solution shall try this. For me, none of the solutions worked. I've updated to latest version and even tried all windows updates recommended.

Finally I figured it out that it was due to eXtra Buttons application. Once the eXtra Buttons is closed, everything was back to normal. Please share if this fix works.

Related