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

[Request] In Quake Style mode, if out of focus, shortcut should minimize instead of focus #1420

Closed
ScottBeeson opened this Issue Jan 24, 2018 · 17 comments

Comments

Projects
6 participants
@ScottBeeson

ScottBeeson commented Jan 24, 2018

With Quake Mode enabled, if I open the console it slides in/down as expected (opened). If it has focus and I use the shortcut again, it slides out/up, as expected (closed). However, if the console is open and does not have focus, and I hit the shortcut key, the console gains focus, disappears, and slides in/down (the opening animation again). I would prefer if it hid even though it doesn't have focus.

To rephrase: when the window doesn't have focus but is visible, if I hit the shortcut key, it gains focus. I would like it to hide.

This may be a bug, but I'm assuming not. Sorry if so. Also I searched and didn't find anything related.

I'm using version 161022 even though I've updated a couple times it sill says "Obsolete, recommended update to 161206 stable". Not sure what's happening there. (I figured out the version issue, had an old portable version installed. I am on latest now (180114) and exhibits the same behavior)

@Maximus5

This comment has been minimized.

Owner

Maximus5 commented Jan 24, 2018

If ConEmu doesn't have focus, the shortcut activates the window. This is by design and previous requests.

@ScottBeeson

This comment has been minimized.

ScottBeeson commented Jan 25, 2018

That makes total sense if "Always on top" is not checked. But I would prefer it to close. Can we get a setting for this behavior?

@Maximus5

This comment has been minimized.

Owner

Maximus5 commented Jan 25, 2018

The purpose of hotkey is to switch "focused state".
If ConEmu has focus - hide it, if it does not have focus - user shall be able to type commands immediately after hotkey is pressed.

@ScottBeeson

This comment has been minimized.

ScottBeeson commented Jan 26, 2018

The purpose of hotkey is to switch "focused state".

The description for the hotkey literally says "Minimize/Restore (Quake-style hotkey also)". It says nothing about focus. There is a completely separate hotkey for "Set focus to ConEmu".

Regardless of that, I'm telling you, as a user, I would like a hotkey or setting that allows me to toggle the visibility, regardless of focus, when using Quake Style.

@Maximus5

This comment has been minimized.

Owner

Maximus5 commented Jan 26, 2018

"Set focus to ConEmu" is intended for ChildGui only.

@Maximus5

This comment has been minimized.

Owner

Maximus5 commented Jan 26, 2018

What is the visibility? Should ConEmu get focus if it is covered by other windows? If it is covered by 95%? Or 95% of ConEmu is visible?

@ScottBeeson

This comment has been minimized.

ScottBeeson commented Jan 26, 2018

As I said, I have "Always On Top" checked and that's the context I'm speaking in.

Regardless of that, think of the Quake Style. It's a drawer. It slides open and closed. There should be a shortcut to toggle that state regardless of focus or visibility. Open. Close.

@bgshacklett

This comment has been minimized.

bgshacklett commented Jan 27, 2018

I have to agree with @ScottBeeson. The Quake-Style-Slidedown hotkey is currently controlling two separate boolean states:

  • Conemu is open (not minimized to the tray).
  • Conemu is in focus.

I would personally prefer that it control only the open/minimized state. I normally work in a multi-monitor configuration. I may be doing work on another monitor and find that I wish to hide ConEmu so that I can see the windows under it. To do so, I must hit the hotkey twice, and endure a jarring flash as the ConEmu window disappears before sliding down again while it's brought into focus.

To state this in a standard feature/bug request format:

Steps to reproduce (Requires Multiple Monitors):

  1. Ensure that the "Quake style slide down" feature is enabled on the Main > Quake style page.
  2. Open a program of your choosing on the monitor where ConEmu is/will open.
  3. If use the Quake hotkey to bring ConEmu into the foreground.
    • note: This may be considered the "starting state" for reproducing the issue.
  4. Set the current focus to a program on another monitor.
    • note: At this point, the user has decided that they wish to view the program opened in step 2.
  5. Use the Quake hotkey, with the intent to minimize ConEmu and allow the program opened in step 2 to be seen.

Expected behavior:

  • The ConEmu window slides up, out of the way, and the desired program is visible.

Actual Behavior:

  • The ConEmu window disappears for a brief moment, then slides down from the top of the screen; the ConEmu window now has focus.
  • The hotkey must be pressed once more to minimize the ConEmu window.

While I can certainly see the utility of a key that would bring focus to ConEmu, it believe it would be more intuitive, and more useful for multi-monitor users, if this was a separate hotkey. I've briefly tried the "Auto-hide on focus lose" option, but found that unsuitable, as I may wish to have the ConEmu window remain open while I do work on another monitor.

@Maximus5

This comment has been minimized.

Owner

Maximus5 commented Jan 28, 2018

Do you have "Restore to active monitor" enabled?

@Maximus5 Maximus5 added this to To Do in Inspection via automation Jan 28, 2018

@bgshacklett

This comment has been minimized.

bgshacklett commented Jan 28, 2018

I do not. That's an interesting thought, but I don't believe it fits my workflow. I generally like to know that the terminal is going to be on my "main" monitor; also, a couple of my monitors are different sizes than the rest, which could make things awkward. I'll give it a shot for a while, though, and see how it feels.

@ScottBeeson

This comment has been minimized.

ScottBeeson commented Jan 29, 2018

@bgshacklett Thank you so much for expressing my thoughts so much more clearly! 😄

@rfdunn

This comment has been minimized.

rfdunn commented Feb 2, 2018

I "third" this. I'd really like the Open/Close functionality rather than Open/Focus/Close (or at least the compromise of the toggle). I use 3 monitors and this is pretty much the only thing that annoys me about ConEmu.

I often have several Visual Studios open - one on each monitor - and I want to jump between them whilst moving in and out of my console, and having to refocus it then hide it just feels like an encumbrance to me.

@bgshacklett

This comment has been minimized.

bgshacklett commented Feb 4, 2018

Just wanted to report back on the "Restore to active monitor" option. I tried it for a while and found that it didn't serve the purpose of this request.

@pl0xy

This comment has been minimized.

pl0xy commented Apr 1, 2018

Just want to add another 👍 +1 to this request. I've recently switched to using ConEmu in Quake Style and I was surprised that this functionality wasn't already available.

Having the option to have the hotkey swap to only min/maxing would be great. :D

@itpropaul

This comment has been minimized.

itpropaul commented Apr 4, 2018

Please consider me another user desiring simple open/close functionality to the Quake Style hotkey feature. By the way, I recently stumbled across ConEmu and just want to express a huge thanks for this amazing software!

@ScottBeeson

This comment has been minimized.

ScottBeeson commented Jun 7, 2018

Hooray!!! It does exactly what I expect now. Thanks!

@ScottBeeson ScottBeeson closed this Jun 7, 2018

ConEmu automation moved this from Ready for Testing to Done Jun 7, 2018

@itpropaul

This comment has been minimized.

itpropaul commented Jun 8, 2018

Awesome, this is great! Thanks @Maximus5 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment