Maximus5 / conemu-old-issues

Old issues imported from googlecode. Project was moved to
https://conemu.github.io
6 stars 1 forks source link

Task working directory is ignored if ConEmu is already open #1660

Open Maximus5 opened 9 years ago

Maximus5 commented 9 years ago

Originally reported on Google Code with ID 1661

Required information!
OS version: Win8.1 x64
ConEmu version: 140723 alpha
Far version: N/A

*Bug description*
I have a task with command "C:\MinGW\msys\1.0\bin\bash.exe -i" (incl quote), and task
parameters "/dir "C:\src-gecko\inbound"" (excl quotes).
The conemu startup prefs are set to "specific named task", with the above task selected.

If ConEmu is already open, clicking the same pinned taskbar icon for it again, causes
a new console tab to open, but that tab has the wrong working directory.

*Steps to reproduction*
1. Ensure ConEmu task/startup options are set as above.
2. Click the pinned taskbar icon once
3. Observe ConEmu opening the startup tab (with correct working directory)
4. Click the pinned taskbar icon again (I do this by accident, when I forget it's already
open, after having collapsed the console using quake mode).

Expected:
A new tab opens, with working directory: "/c/src-gecko/inbound"

Actual:
A new tab opens, but with working directory: "/c/Users/Ed"

I believe this regressed sometime in the last year (helpful range I know - let me know
if there is an easy way to test old versions without installing them).

Let me know if I can provide any more info.

Thanks :-)

Reported by emorley@mozilla.com on 2014-08-04 13:02:03

Maximus5 commented 9 years ago
CygwinWorkDir

Reported by ConEmu.Maximus5 on 2014-08-04 13:09:43

Maximus5 commented 9 years ago
I don't believe that helps:
1) I can already get ConEmu to start bash in the correct directory (I'm not using "--login"
so it doesn't cd into the directory).
2) This only occurs when re-invoking ComEmu when it is already open, so must be related
to ComEmu behaviour differences when first opened, vs invoked again.

Reported by emorley@mozilla.com on 2014-08-04 13:24:06

Maximus5 commented 9 years ago
Check the same, please, with simple cmd.exe as shell (in the task).
Also, attach your ConEmuXml

Reported by ConEmu.Maximus5 on 2014-08-04 13:32:13

Maximus5 commented 9 years ago
(Sorry reposting with correct account)
This issue reproduces with a task like so:

command:
cmd.exe

task parameters:
/dir "C:\src-gecko\inbound"

Initial opening of ConEmu (and opening new tabs after that, using the ConEmu UI itself)
opens in "C:\src-gecko\inbound".
However clicking the taskbar icon again results in "C:\Users\Ed>"

My ConEmuXml is attached.

Reported by emorley@mozilla.com on 2014-08-05 16:00:50


Maximus5 commented 9 years ago
I've just updated to version 140815 (from 140723) and this is now fixed. Thank you :-)

Reported by emorley@mozilla.com on 2014-08-18 07:32:43