Skip to content
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

Win-Key shows ConEmu when 'Auto-hide on focus lose' is enabled (and focus was lost due to windows start menu) #139

Closed
FunkMonkey opened this issue May 9, 2015 · 11 comments

Comments

@FunkMonkey
Copy link

When Auto-hide on focus lose is enabled and ConEmu is focused and I use the win-key to open the start menu, ConEmu will hide (as expected), but using the win-key again makes ConEmu appear again (unexpected).

Thinking about it, the reason is clear: using win again will give focus to the previous window, which is ConEmu. Still I would like ConEmu to stay hidden.

Guess there should be an option if ConEmu is relivable by giving it focus again...

Thanks

@Maximus5
Copy link
Owner

Maximus5 commented May 9, 2015

Quake? Show your settings.

Anyway, I do not think there may be reasonable solution. Focus is given to ConEmu by Windows. No way to determine "origin" of GetFocus event.

@FunkMonkey
Copy link
Author

oh. yes. Quake-mode.

I'd propose, that in Quake-mode only (and wiht auto-hide enabled) ConEmu should not be shown when it gets the focus - it should only be shown when the user hits the hotkey for showing or opens a new console in ConEmu (f. ex. from context menu, etc.). No need to determine the origin of the focus event as it should be ignored completely.

This obviously could/should be a configurable option.

It is actually the behaviour of ConsoleZ in quake mode.

Thanks

@Maximus5
Copy link
Owner

Maximus5 commented May 9, 2015

ConEmu may be shown in TaskBar, either as "button" or in the status area.
When user clicks the icon - ConEmu have to be shown.
Obviously there was no global hotkey pressed.
Objections?

@FunkMonkey
Copy link
Author

Nope. You are right. Did not think of that. I actually don't have a taskbar icon for ConEmu. Does enabling Quake-mode in the first-start-options automatically set Don't show ConEmu Window on Taskbar? (because that option was enabled for me)

Thus my proposed behaviour actually only makes sense when all 3 options are set (quake-mode, auto-hide and don't show on taskbar) - I see that is a quite specific case...

I would (obviously) still like an option for not unhiding ConEmu on focus event, but I totally understand if it is too much of an edge case and not worth implementing.

@Maximus5
Copy link
Owner

Maximus5 commented May 9, 2015

I will think about an option.
You forget about an icon in TaskBar status area. It's clickable too.

@FunkMonkey
Copy link
Author

That is true, but in contrast to the taskbar icons, click handling for notification area icons is handled by the application itself, thus it shouldn't be a problem here as there doesn't need to be a focus event (and depending on the current implementation may not be currently either).

Thanks a lot for considering! :)

@Maximus5
Copy link
Owner

Maximus5 commented May 9, 2015

Agree

@Maximus5
Copy link
Owner

150513

@robmsmt
Copy link

robmsmt commented Apr 2, 2018

Was this included? Maybe I am missing something, I am having this issue in that when quake always on top is active it can lose focus. I am coming from guake on linux which is the functionality I am trying to mimic. If you accidentally click outside the window it'll lose focus meaning you'll type/control another window. Is there a way to force focus only on conemu whilst it's displaying?

@Maximus5 Maximus5 added this to To Do in Inspection via automation Apr 2, 2018
@Maximus5
Copy link
Owner

Maximus5 commented Apr 2, 2018

@robmsmt Didn't understand your question

@robmsmt
Copy link

robmsmt commented Apr 2, 2018

@Maximus5 - my mistake. Having properly set this it works as it should. This should be closed.

@Maximus5 Maximus5 closed this as completed Apr 3, 2018
Inspection automation moved this from To Do to Done Apr 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Inspection
  
Done
Development

No branches or pull requests

3 participants