Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

My Visual Studio Addin causes "operation is blocking user input" dialog on exit

$
0
0

Hi

I am writing an Addin that needs to show a dialog window.  The dialog window is a complex workflow window which displays steps of a complex process.   Workflow is performed on worker threads and state is communicated back to the view via a WPF view model.

I'd like to have this dialog modal.  If I have it modal, however, it often causes Visual Studio where it's running to get into a strange state. In this state I cannot use backspace or a few other keys in the text editor, and if I shutdown visual studio, I am presented with a dialog which says:

---------------------------

Microsoft Visual Studio
---------------------------
Microsoft Visual Studio has detected that an operation is blocking user input.  This can be caused by an active modal dialog or a task that needs to block user interaction.  Would you like to shut down anyway?
---------------------------
Yes   No   
---------------------------


How can I troubleshoot this? What are the rules here?  It's definitely my add-in that's causing this, but I am unsure how or why.  Any help?


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>