Daily Usage Issues

NCrunch configuration wizards gets hidden under VS window

Started by dariusdamalakas on 6,827 views

Hi, I used to be getting this strange behaviour long time ago, but this week i have to constantly switch from one VS solution to the other (we've got 40+ microservices, and i need to make minor changes to most of them).

Issue and rough steps to reproduce:
When opening VS for a new project which has no NCrunch setting files, NCrunch automatically shows configuration wizard screen. That is usually fine, but sometimes if you click away on other windows, the configuration wizard gets hidden. Now, sine it is a modal window, you literally can not click anywhere else in VS - editor, solution folder, menus, nothing works. The only thing that is active is that window, which is hidden.
Conf window does not appear in taskbar, and i've tried getting to it using alt tab, and then clicking ctrl space and 'm' to move it, really no luck.
I cant even close VS - have to kill it with end task.

The only safe way to guard against this is to open .sln file and wait for config dialog to appear. Surely, not always i have the patience to wait as I like to do other things whilst VS is working. Happens both on dual monitor, and single monitor setups

Solution ideas:
a) make this window appear in taskbar
b) Do not show config window for new projects automatically
c) use default settings for new projects?

anything is fine. It's quite annoying. I would have not reported this, but this is getting in my way now, happened twice today already, and once yesterday.

Thnks

p.s. given that i only need to make a small change and i stull run NCrunch means i can not live without it :) great job, and awesome tool!

Edited

Hi, thanks for sharing this problem!

What you've described is defective behaviour. Normally, the modal should stay on top of VS at all times. If you select VS or click any window in VS, the modal should be brought to the front. The modal should also show on the taskbar.

Can you confirm which version of Windows you're running? Also, do you have any other significant VS extensions installed?
Windows 10, NCrunch and Resharper, no other extensions
I'm having trouble reproducing this problem. Are you running on VS2015?

Do you have any other software on your machine that uses modal dialogs? If so, can you make it behave the same way the NCrunch modal dialogs are behaving for you? I'm wondering if this might be some kind of system-level problem.

Edit: It would also be very interesting to know if the NCrunch 'About' modal dialog has the same behaviour. This dialog has a slight variation in how the dialog is created.

Edited

Sure, i can help reproducing this, but I need your help as well expalining when NCrunch configuration wizard is being shown when I open solution. I have removed all *ncrunch* files from the repo, and reopenend the project, but VS did not open the configuration wizard, instead, NCrunch was left as disabled. Can you explain on what conditiions this is triggered?
Make sure you've removed the .ncrunchsolution file and the .ncrunchsolution.user file. With these gone, NCrunch should show the wizard automatically when you enable it on the solution.

You can also trigger the wizard manually through the NCrunch menu.
No, that does not work. I have removed all "*ncrunch*" files from the repository. Opening solution in VisualStudio does not trigger the wizard dialog. Does NCrunch have a temp folder where it might cache its settings?

Also, triggering wizzard manually is pointless - it works as expected. The issue can be reproduced like this:

a) Start visual studio
b) Open solution file
c) before ncrunch wizard opens, navigate to another previously opened VS instance.
d) make sure that ncrunch wizard definitely opens.
e) In some cases you dont see wizard window at all, as it is completely hidden by other windows, in some cases you might see the wizard behind some VS toolbox window, especially if you use dual monitor setup. In that case, you can click on wizard at will be brought to front. But if you dont see it - then basta, VS won't respond to any clicks because of the wizard window, and the only way to proceed is to kill the VS process and restart. In second case wizard is not being shown automatically. This is in fact what I am seeing now - deleting nrunch solution files does not trigger nrunch config window.


NCrunch 2.26.0.1
I've included a speculative fix for this in v2.27. I'm wondering if you might be interested in giving it a try?

https://www.ncrunch.net/download.
Thanks. Downloaded and installed. As said above, not really sure how to definitely trigger config dialog. Will let you know if this still comes up with 2.27
Ok, had a chance to clone a repo with 2 .sln files. Opened them both at same time, navigated to other windows, came back, clicked on VS and it showed conf wizard window. Not a 100% confidence level, but it does look like this is working now. Thanks alot!

Post a reply

Log in to reply.