Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.55k stars 571 forks source link

conemu-inside: focus changed #2174

Open gerhardol opened 4 years ago

gerhardol commented 4 years ago

Versions

ConEmu build: 200713 x32 OS version: Windows 19041 x64 (same in other versions) Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): git-bash (independent)

Problem description

ConEmu inside enables a nice integration of the terminal in other applications. In my case it is https://github.com/gitextensions/gitextensions There are a number of issues related to the integration, som listed in: https://github.com/gitextensions/gitextensions/milestone/27 This is mostly about https://github.com/gitextensions/gitextensions/issues/6220.

One problem with enabling the ConEmu integration though is that the application pops over and under when finishing. Especially the pop under. As I normally have many instances of GitExtensions open at the same time, I have to check what repo that is in focus after executing some operations.

This should be configurable somehow, in a settings file or macro. I have noticed #1984 but not any way to disable requesting focus.

Steps to reproduce

Only an example of pop over. If that is addressed, I assume that pop under is disabled too.

  1. Make sure Consule Emulator in Settings-Advanced is enabled.
  2. Perform a slightly longer Git operation like fetch --al with a few remotes
  3. Alt-tab to another app on top of GE/Console Emulation.
  4. Notice that the window pops over when operation is finished.

Use ConEmu

Actual results

GE/ConEmu requests focus when finished

Expected results

Focus not requested. There may be situations where user input is needed (new host or so). This is hard to determine from the application point ofview. However, if the choice is never focus and always focus, never focus should be at least an option.

Additional files

No specific settings what I know

Maximus5 commented 3 years ago

https://github.com/gitextensions/gitextensions/issues/6220#issuecomment-721431043