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

Minimizing ConEmu should return focus to the previous window #751

Open
kuzzmi opened this issue Jun 28, 2016 · 17 comments
Open

Minimizing ConEmu should return focus to the previous window #751

kuzzmi opened this issue Jun 28, 2016 · 17 comments

Comments

@kuzzmi
Copy link

kuzzmi commented Jun 28, 2016

Versions

ConEmu build: 160619 x32
OS version: Windows 10 x64
Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): N/A

Problem description

Hiding ConEmu using a hotkey Minimize/Restore (Quake-style hotkey also) doesn't bring focus to the previously focused window.

Steps to reproduce

  1. Open any window, e.g. Notepad.exe, put focus inside
  2. Bring ConEmu on top using a hotkey Minimize/Restore (Quake-style hotkey also)
  3. Start typing anything, e.g. ipconfig
  4. Hide ConEmu using a hotkey Minimize/Restore (Quake-style hotkey also)
  5. Start typing anything, e.g. Focus is not working :(

Actual results

The Focus is not working :( will be sent to, thus typed in, the ConEmu

Expected results

The Focus is not working :( will be sent to, thus typed in, the Notepad.exe

@Maximus5
Copy link
Owner

Attach your settings

@kuzzmi
Copy link
Author

kuzzmi commented Jun 28, 2016

Here it is

@ElCoyote85
Copy link

Appeared there any solution?

@kuzzmi
Copy link
Author

kuzzmi commented Dec 8, 2016

Nope, still the same. Is there a way I can help with this issue?

@wulfsolter
Copy link

Same problem - Minimize does not give up focus.

Link to my settings, which I think are pretty close to vanilla.

@LeoSko
Copy link

LeoSko commented May 12, 2017

Same here - is there any progress?

@Maximus5
Copy link
Owner

There would be no problems if you show ConEmu on the TaskBar.

@kuzzmi
Copy link
Author

kuzzmi commented May 12, 2017

Showing ConEmu on the task bar doesn't seem to fix the issue for me

@Maximus5
Copy link
Owner

I wonder why...

Run ConEmu.exe -basic -run {cmd} and recheck.

@WhizK1D
Copy link

WhizK1D commented Jun 13, 2017

I am also facing this exact issue. However, this does not seem to happen on another system I tested on, which has Windows 7. So I am guessing there is some change in the way Windows are being handled in Win 10 and ConEmu probably does not adhere to the same.

@calebmeyer
Copy link

I ran ConEmu64.exe -basic -run {cmd}, and minimizing with the hotkey Ctrl-` returned focus to the original cmd window.

It looks like the setting that affects this is the quake style slide down setting. With it enabled, conemu keeps keyboard focus when hiding using the hotkey. With it disabled, focus is returned to the previous window.

@Maximus5
Copy link
Owner

What about ConEmu.exe -basic -quake -run {cmd}? Same problem?

@calebmeyer
Copy link

calebmeyer commented Aug 30, 2017

Yeah, running with the quake flag, it holds keyboard focus when minimized using Ctrl-`

I'm on Windows 10 build 15063 (Creator's update) and version 161206 stable of ConEmu

@kkimdev
Copy link

kkimdev commented Nov 25, 2017

Having the same issue. Windows 10

Maximus5 added a commit that referenced this issue Apr 6, 2018
@Maximus5 Maximus5 added this to To Do in ConEmu via automation Apr 6, 2018
@Maximus5 Maximus5 moved this from To Do to Ready for Testing in ConEmu Apr 8, 2018
@jpwhiting
Copy link

Same here. When quake style is used the focus doesn't go back to the top window, When that option is off it works as expected (but doesn't look cool anymore since it's a regular window).

@naddeoa
Copy link

naddeoa commented Jun 22, 2021

I was able to get this working using quake mode by unchecking the "always on top" option. It works pretty much the same but also does focus correctly.

@mweiss237
Copy link

With the workaround provided by @naddeoa I also get the focus back on my last window. The always on top setting seems to actually affect the focus here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
ConEmu
  
Ready for Testing
Development

No branches or pull requests