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 · 15 comments
Open

Minimizing ConEmu should return focus to the previous window #751

kuzzmi opened this issue Jun 28, 2016 · 15 comments
Projects

Comments

@kuzzmi
Copy link

@kuzzmi 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

@Maximus5 Maximus5 commented Jun 28, 2016

Attach your settings

@kuzzmi
Copy link
Author

@kuzzmi kuzzmi commented Jun 28, 2016

@ElCoyote85
Copy link

@ElCoyote85 ElCoyote85 commented Jul 28, 2016

Appeared there any solution?

@kuzzmi
Copy link
Author

@kuzzmi kuzzmi commented Dec 8, 2016

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

@wulfsolter
Copy link

@wulfsolter wulfsolter commented Feb 27, 2017

Same problem - Minimize does not give up focus.

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

@LeoSko
Copy link

@LeoSko LeoSko commented May 12, 2017

Same here - is there any progress?

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented May 12, 2017

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

@kuzzmi
Copy link
Author

@kuzzmi kuzzmi commented May 12, 2017

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

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented May 12, 2017

I wonder why...

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

@WhizK1D
Copy link

@WhizK1D 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

@calebmeyer calebmeyer commented Aug 29, 2017

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

@Maximus5 Maximus5 commented Aug 29, 2017

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

@calebmeyer
Copy link

@calebmeyer 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 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

@jpwhiting jpwhiting commented Apr 5, 2020

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).

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

Successfully merging a pull request may close this issue.

None yet
9 participants
You can’t perform that action at this time.