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.6k stars 573 forks source link

VoidTools Everything GUI tab attachment failure #2314

Closed pachuco closed 3 years ago

pachuco commented 3 years ago

Versions

Build ConEmu 210422 [32] OS: winXP x86 SP3 Shell: cmd

Problem description/Steps to reproduce

Everything's behaviour is to remain open in background/taskbar and provide windows with searches.

Attaching Everything GUI windows as tabs will work first time. Upon attempting to close windows, ConEmu will not exit, and eventually present a "End program"(hanging app) prompt for each Everything tab instance. Starting ConEmu instance again and attempting to attach Everything windows will fail. Restarting Everything process cures both(stops closing hang, Everything windows can be attached again).

Actual results

Exit hangs and subsequent attachment failures.

Expected results

I suspect that ConEmu expects window close to also mean application closing and fails on those expectations. Also, I think it's the hooking/injection that fails on attach reattempt. So maybe ConEmu should either detect above closing, or have the user mark the process.

Additional files

ConEmu.xml: ConEmu_settings.zip ConEmu logs(-log): ConEmu_logs.zip Logset1 is for successful attachment and exit hang. Logset2 is for failed attachment, then all ConEmu processes are killed from taskman simultaneously.

This is how it succeeds the first time: conemu_expected

This is how it fails subsequently: conemu_attachfail

This is how it hangs: conemu_hang

Maximus5 commented 3 years ago

Ho wo you try to start/attach everything?

pachuco commented 3 years ago

Right click on ConEmu's title bar, then Attach To..., then select my window.

Maximus5 commented 3 years ago

Do these windows have the same PID?

pachuco commented 3 years ago

Yes, they are opened by same Everything process.

Maximus5 commented 3 years ago

ConEmu is not a window manager. ChildGui is very limited and by design does not support more than one window per PID.

I would recommend you use the console analog of the tool to use it with terminal. Terminal is expected to run console applications ;)

es.exe works quite good as far as I know.