[Bug] Dialog boxes get stuck
I've had this happen in previous versions of linqpad.
I don't think I reported it, but it is happening a lot more recently.
It shows a dialog box (has happened on query properties, and the save/cancel. Where somehow it doesn't think the dialog is in front, so clicking things does nothing.
I can still type into the text of the current query, but can't save, or close.
ctrl-f4 to close the current query, results in yet another dialog box that won't let you click or even use the keyboard inside it.
I think it may have something to do with accidently hitting F4 and F5 at the same time.
screenshot is all I can do, since it doesn't crash or anything.
I don't think I reported it, but it is happening a lot more recently.
It shows a dialog box (has happened on query properties, and the save/cancel. Where somehow it doesn't think the dialog is in front, so clicking things does nothing.
I can still type into the text of the current query, but can't save, or close.
ctrl-f4 to close the current query, results in yet another dialog box that won't let you click or even use the keyboard inside it.
I think it may have something to do with accidently hitting F4 and F5 at the same time.
screenshot is all I can do, since it doesn't crash or anything.
Comments
I have noticed this a few times, except that the Ctrl-F4 does not always produce another dialog box.
At the moment, the Save Query Dialog box is displayed in front and I can't click on anything else in LinqPad (which is what you would expect with a modal dialog box), but when I press Y or N (or any other letter) it types in the query window.
Clicks inside the dialog box are just ignored.
Clicks outside the dialog box result in a beep and the dialog flashes several times (as per normal) but then the highlight goes off the title bar (indicating it is not the focused window). Instead the main title (currently showing LINQPad 6 Beta -Roslyn=4.0.0-3.21370.20) is still highlighted indicating that it has the focus.
I don't think this was triggered by pressing F4 and F5 at the same time, as I was using the mouse to close the query.
I just got a similar sort of error (ie dialog box displayed, but focus is still in the editor) in a completely different scenario. This error was after I clicked on the Run button and the error is not from my script and possibly during compilation.
Not sure whether it is relevant, but I had run quite of few other queries (without closing the queries when I they had finished) and taskmanager showed Linqpad had 55 sub-processes.