Feature request: a Minimize/Restore (bring to front) hotkey.
When ConEmu's window is out of focus, it would bring to front.
When it has focus, it would minimize.
I can use Minimize/Restore to either restore the window from a minimized state or to minimize it. _If the window is out of focus, it'll be minimized._
I can use Restore (bring to front) to focus on ConEmu's window no matter what -- it can be either out of focus or minimized.
Minimize/Restore (bring to front) would be the ideal one-hotkey solution: one press to either focus or minimize ConEmu.
Right now I have to use both of these to activate/deactivate ConEmu. I use bring to front to activate ConEmu and minimize to hide it. I can't use Minimize/Restore to activate it because when the window is out of focus, it doesn't bring it to front, but minimizes it. I don't always want to minimize it, because I also use Always on top. So, at times I want to keep the window open and alt-tab to another window. To get focus back, I'm forced to use bring to front.
You just describe the behavior or "Minimize/Restore (Quake-style hotkey also)" and "Minimize/Restore (alternative)". So I do not see any sense in the suggestion.
@Maximus5 I didn't. The difference is that the Minimize/Restore (Quake-style hotkey also) _does not_ bring to front if the window is out of focus. Instead, it minimizes the window.
Okay, I figured out the Minimize/Restore hotkey works differently if Always on top is turned on or off.
When it's off, Minimize/Restore works like what I proposed. When it's on, Minimize/Restore doesn't focus on the window.
This is either a feature or a bug. If it's a feature, the proposed new hotkey is still needed for users of Always on top. If it's a bug, there's no need for a new hotkey, but the Minimize/Restore behavior could be fixed to be consistent regardless of the Always on top setting.
Of course I do not suggest you to enable "Always on top".
Both "Minimize/Restore" hotkeys do bring ConEmu window to front.

As I said before: yes, they do bring it to the front, as long as always on top is disabled.
Why do you not suggest me to enable Always on top? If it's not intended to be used, it shouldn't be an option.
Here, I use ctrl-莽 as Minimize/Restore:

After using whatever I need from the always-on-top ConEmu window, pressing Minimize/restore hides it instead of bringing focus back. If that's intended for always on top windows, I stand by the original feature request.
Also, I'm willing to help implement this if pointed in the right direction. I'm unfamiliar with ConEmu's codebase, so I'd rather have some idea of where to look. I assume it's not a difficult modification given all it needs to do is already implemented in the other hotkeys.
Why do you not suggest me to enable Always on top
I misunderstood you originally.
Just saw you fixed this on the latest release. Thank you! :+1:
As a heavy user of the Guake Terminal on Linux (which I believe is the most popular terminal with quake style option), I think pressing the shortcut key should hide the window if it's open (no matter if has focus or not), and display it if it's hidden.
This is the behavior you see in Guake: if it doesn't have focus and it's visible, you press the key twice, hiding and re-opening the window with focus.
Maybe the best solution is to add an option so that we can choose whether we want the Guake-style functionality (always show/hide regardless of the focus) or the bring-to-front functionality - or maybe we can have different shortcuts for the two things:
Any news on this issue? The funny things is that I was looking at the keyboard shortcuts and I saw that there are two settings:
And right now, there is NO difference between the two! So why not just make them do what they say: Restore/Minimize _only_ restores and minimizes, and the other one brings the window to the front (like @mrkishi wanted)
I'm still having issues with the "Minimize/Restore (Quake-style hotkey also)" hotkey on v161206. I have always on top enabled. When I click to a different window (leaving the ConEmu open) and press Ctrl+`, it causes the ConEmu window to reopen rather than close
Despite the age of the thread, I have still the same issue as @aroemen .
I would like to support @farzadmf suggestion to make the two hotkeys do exactly that. The issue is minor but it is a small nuisance and I believe it could be fixed in a way that makes everyone happy.
Unfortunately I have not much experience coding in C++ but I am willing to help if you point me in the right direction :)
Same issue here. If console is not in focus it will just reopen rather than close as I want.
Same issue here.
This issue does also annoy me. One thing that I didn't see in this thread is that the behavior seems to be different in different versions of Windows. I noticed that when I was on Windows 7, the behavior was as expected. That is, regardless of if ConEmu had focus or not, the toggle key would show/hide it. On Windows 10, the toggle key would only show/hide if ConEmu has focus. If it doesn't have focus, then the toggle key will focus is and replay the show animation, even if it was already showing.
I wish we had seen an "official" reply here from the maintainer(s) of the repository. The only workaround that I found for this "non-standard" issue is to enable "auto-hide on focus lose"
Tick this checkbox "General Size & Post Restore inactive windows by shortcut key"
After that first shortcut call will first activate window (even it wasn't minimezed before) and second will minimize it, so you don't have to double hit shortcut in case window is not minimized.
Most helpful comment
Tick this checkbox "General Size & Post Restore inactive windows by shortcut key"
After that first shortcut call will first activate window (even it wasn't minimezed before) and second will minimize it, so you don't have to double hit shortcut in case window is not minimized.