Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Previous focused window is incorrectly restored to focus #1509
ConEmu build: 180408 - 180411 x64
When Quake mode is enabled minimizing the console brings the window that had focus, when the console was restored, back into focus, even when another window has since gained focus.
The problem arises when ConEmu is minimized - either using shortcut or because Auto-hide on focus lose is enabled.
Steps to reproduce
App1 gains focus even though App2 was explicitly selected.
App2 retains focus.
While the source of the bugs might very well be related the issue isn't the same. I don't experience that a window doesn't actually regain focus, it's just that it's the wrong window.
If I, as I'm typing this comment, restore ConEmu and minimize it again (using the shortcut for both) I can continue typing my comment. As I understand the other issue that wouldn't be possible in that case.
My issue is that going from having ConEmu in focus and then focusing on different window from the one that was in focus when I opened ConEmu doesn't work. When ConEmu is minimized focus is returned to the window that had focus when ConEmu was restored, regardless of how far back in time that was.