-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved window closing #25
Conversation
…main windows is hidden)
Awesome! Thanks! :) I'll take a closer look one of the next days. /Regin On Saturday, January 17, 2015, HellBrick notifications@github.com wrote:
|
Apparently there is some weird bug in this implementation that typically manifests after a long period of idle: Switcheroo doesn't recognize the windows as closed and they stay grayed out. After the main window is re-opened everything works fine again. I'm not sure why it happens yet, probably need to add some logs to track this down. |
This feature is simply amazing! It gives a much better experience when closing windows -- and I really like the animation when the window is removed. I experienced the weird bug that you describe above a few times. I'm also not sure in which cases it happens, but hopefully it won't be too difficult to track down :) I have just a few comments on the code:
Keep up the good work @HellBrick! 👍 |
Glad you liked it ;)
However, I just got an alternative idea on how to move view model back to On your second question: yeah, sure it can. I brought Caliburn just for its |
Haha - you are totally right about I like the solution that you describe above - it seems to be the right way to go about it 👍 (If /Regin |
I've cleaned up the stuff we discussed. There's still the bug to hunt down, but I probably won't have the time to deal with it until the weekend. |
Good news! I've finally tracked down and fixed the bug. It turned out to be a very silly issue that I completely overlooked when searching for something more intricate. |
It's looking great! And nice work on tracking down that bug! Thanks @HellBrick! |
I'll include this change in the next release of Switcheroo, but if anybody wants to try it out before then, there's a build with the feature available here: http://teamcity.codebetter.com/viewLog.html?buildId=180068&tab=artifacts&buildTypeId=Switcheroo |
I'm using Switcheroo 0.9.1.98. I followed this issue thread to here. I thought the "leave the Switcheroo overlay open after closing a window" issue would be fixed, but it isn't. The issue is that when I search for a program in Switcheroo intending to close all of the windows for that program, any prompt by the program when closing will reset Switcheroo to the unfiltered state forcing me to search again. |
I just tried it with Visual Studio on 0.9.1.98 and it works as intended: http://i.imgur.com/aJPemOm.png I think more info on how to reproduce the issue may be helpful, probably in a separate issue (I guess #23 should be closed by now, since the feature that was requested in it was implemented by this PR). |
@jaredbidlow Does it happen when you try to close a window of a specific program? @HellBrick #23 has been closed now :) |
@kvakulo Excel2010. |
Ok, that's the way it's working currently: whenever the Switcheroo overlay is reopened the filtering is cleared. There's work in progress on closing several windows at the same time (#48) - that might help in above scenario. Otherwise feel free to raise a new issue and describe the functionality you would like to have added to Switcheroo. / Regin |
Check this out, I've implemented a prototype of #23. I played with it for a while and I don't think extra highlighting of the windows that can't be closed is even needed.