ConEmu
ConEmu copied to clipboard
New console is opened instead of just activating in Quake mode on Windows 10
Versions
ConEmu build: 180506 [64]. OS version: Windows 10 x64 1803 Rus Used shell: git-bash, cmd, powershell.
Problem description
New console tab is opened when activating in Quake mode on Windows 10 Taskbar.
Steps to reproduce
- Enable Quake Mode.
- Hide console.
- Press "locked ConEmu" icon on Windows 10 Taskbar ("Single button for all consoles").
Actual results
ConEmu Quake mode activates, a new console is created.
Expected results
ConEmu Quake mode activates, no new console is created.
You started normal ConEmu console, but change it behavior after that. I suppose both instances have different AppID - About/SysInfo.
Tried again. It seems not true, a new default console tab is created every time I activate it through Taskbar instead of Ctrl-`. Even if I kill all related processes and start it anew.
Check AppID
Normally started AppID: 49922b4d6ae2ce22bcf871b666573d5f::166 Quake mode AppID: 49922b4d6ae2ce22bcf871b666573d5f::166 [lost focus, it hid] Task bar activated AppID: 49922b4d6ae2ce22bcf871b666573d5f::166
Did you save settings after activating quake mode?
What are the properties of pinned shortcut?
Yes, I saved.
Tried to re-pin again after saving and restarting, still opens new console.
If not in quake mode and is hidden by Ctrl-`, then TaskBar pinned button launches a new window, not even a tab. And even in this case they both share the same AppID.
Update: pinned shortcut is "C:\Program Files\ConEmu\ConEmu64.exe", "C:\Program Files\ConEmu".
If not in quake mode and is hidden by Ctrl-`, then TaskBar pinned button launches a new window
You saved settings for Quake mode, don't you? So, why do you talk about "not in quake mode"?
Yes, I saved in q/mode, then reported.
Then I turned it off and restarted again, then tried Ctrl-` and activating of hidden not-in-q-mode software using taskbar. And reported again.
I'm totally lost. What are you doing, why, and what is the problem?
When you change Q mode pinned shortcut is not obliged to restore application in different mode.
Thank you for your patience. Let me clear it.
Q-mode: hiding and then reactivating the window using Taskbar creates a new console tab.
Normal mode: hiding (Ctrl-`) and then reactivating the window using Taskbar creates a new window.
- Close (terminate) all ConEmu instances
- Change properties of the TaskBar pinned item - add
-logswitch - Reproduce
I get the same behavior. I tried to add -log to the shortcut but it didn't seem to like that.
I have settings Single Instance Mode Quake Style slide down
...both enabled.
I think the issue is due to the icon being pinned. Normally when not pinned in Quake Mode, when the console is hidden, there is no task icon. So, you can't click on it to open a new instance/tab. But, if pinned clicking on it, opens a new instance/tab.
Even if you turn off quake mode and leave single instance on, it doesn't seem to respect that. For example... open a powershell window and run cmder. Then run cmder again, you will get a second instance. This seems like maybe a conemu setting and not a cmder setting?
Workaround - turn off quake mode, you can still use the hotkey to open/close the console as well as clicking on the icon. You just don't get the fancy slide down animation.
FYI - this is running as a portable app, installed by scoop. Not sure if that makes a difference.
Then run cmder again, you will get a second instance.
@PilotBob ConEmu is not cmder. cmder.exe is a third-party launcher for ConEmu.exe. I don't know exactly which exe have you pinned and what have you clicked in the task bar, but I can give a recommendation - use ConEmu without cmder. There is no profit in third-party launcher.