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

"Close ConEmu with last tab" is not saved #661

Open
AndreKR opened this Issue May 4, 2016 · 14 comments

Comments

Projects
None yet
4 participants
@AndreKR

AndreKR commented May 4, 2016

ConEmu build: 160428 x64
OS version: Windows 7 x64
Used shell version: cmd

Problem description

The setting "Close ConEmu with last tab" is not saved

Steps to reproduce

  1. Start with fresh setting
  2. Set Main -> Task Bar -> "Close ConEmu with last tab"
  3. Save settings
  4. Open settings again

Actual results

Checkbox is not set

Expected results

Checkbox should still be set

Maximus5 added a commit that referenced this issue May 4, 2016

@AndreKR

This comment has been minimized.

Show comment
Hide comment
@AndreKR

AndreKR May 10, 2016

I tried build 160504 and it almost works.
However, when ConEmu auto-attaches (for example when you run cmd via Start->Run), the checkbox is unset again and also ConEmu doesn't close anymore when the tab exits.
But, when you go to the settings of the attached ConEmu and set the checkbox again, it will exit after the tab exits.

AndreKR commented May 10, 2016

I tried build 160504 and it almost works.
However, when ConEmu auto-attaches (for example when you run cmd via Start->Run), the checkbox is unset again and also ConEmu doesn't close anymore when the tab exits.
But, when you go to the settings of the attached ConEmu and set the checkbox again, it will exit after the tab exits.

@paulcsiki

This comment has been minimized.

Show comment
Hide comment
@paulcsiki

paulcsiki Dec 21, 2016

With 161206 I can no longer check the "Close ConEmu with last tab" - I use the cmd auto attach feature as well.

Screencast: https://onedrive.live.com/redir.aspx?cid=4eab51c0d4ebb4e0&resid=4EAB51C0D4EBB4E0!6172&parId=4EAB51C0D4EBB4E0!3204&authkey=!AKX8QvPLk1Xxc9A&ithint=video%2cmp4

With 161206 I can no longer check the "Close ConEmu with last tab" - I use the cmd auto attach feature as well.

Screencast: https://onedrive.live.com/redir.aspx?cid=4eab51c0d4ebb4e0&resid=4EAB51C0D4EBB4E0!6172&parId=4EAB51C0D4EBB4E0!3204&authkey=!AKX8QvPLk1Xxc9A&ithint=video%2cmp4

@cobrabr

This comment has been minimized.

Show comment
Hide comment
@cobrabr

cobrabr Apr 23, 2017

The steps described by @AndreKR are exactly what I'm experiencing right now. If it helps, I'm running Win10 x64.

cobrabr commented Apr 23, 2017

The steps described by @AndreKR are exactly what I'm experiencing right now. If it helps, I'm running Win10 x64.

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Apr 23, 2017

Owner

Show your ConEmu.xml

Owner

Maximus5 commented Apr 23, 2017

Show your ConEmu.xml

@cobrabr

This comment has been minimized.

Show comment
Hide comment
@cobrabr

cobrabr Apr 23, 2017

There you go: ConEmu_xml.zip

Multi.LeaveOnClose is set to 00, if that's what you're wondering... 😉 It's what ConEmu itself saves, when I check that particular checkbox. When I uncheck it and then save, the value in the XML changes to 02.

cobrabr commented Apr 23, 2017

There you go: ConEmu_xml.zip

Multi.LeaveOnClose is set to 00, if that's what you're wondering... 😉 It's what ConEmu itself saves, when I check that particular checkbox. When I uncheck it and then save, the value in the XML changes to 02.

Maximus5 added a commit that referenced this issue Apr 23, 2017

gh-661: When ConEmu started with ‘-Detached’ switch (implied by DefTe…
…rm in some cases) option ‘Close ConEmu with last tab’ was unchecked.

  If old behavior is required, the switch ‘-NoAutoClose’ may be used.
@paulcsiki

This comment has been minimized.

Show comment
Hide comment
@paulcsiki

paulcsiki Sep 1, 2017

Any ideas why I can't select the checkbox?

Any ideas why I can't select the checkbox?

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Sep 2, 2017

Owner

Fixed long ago. What checkbox?

Owner

Maximus5 commented Sep 2, 2017

Fixed long ago. What checkbox?

@paulcsiki

This comment has been minimized.

Show comment
Hide comment
@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Sep 10, 2017

Owner

Show the command line of problematic ConEmu instance.

I do not observe any problems with my latest alpha build.

2017-09-10_20-41-11

Owner

Maximus5 commented Sep 10, 2017

Show the command line of problematic ConEmu instance.

I do not observe any problems with my latest alpha build.

2017-09-10_20-41-11

@paulcsiki

This comment has been minimized.

Show comment
Hide comment
@paulcsiki

paulcsiki Sep 12, 2017

Funny enough today when I try to reproduce the issue and get the argument list I can no longer reproduce the issue. The build number is the same too.

Funny enough today when I try to reproduce the issue and get the argument list I can no longer reproduce the issue. The build number is the same too.

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Sep 12, 2017

Owner

We can't move further without this information.

Owner

Maximus5 commented Sep 12, 2017

We can't move further without this information.

@paulcsiki

This comment has been minimized.

Show comment
Hide comment
@paulcsiki

paulcsiki Oct 17, 2017

@Maximus5 I just managed to reproduce this with version 170910. Command line is: "C:\Users\paulc\Downloads\cmder\vendor\conemu-maximus5\ConEmu64.exe" -SetDefTerm -Detached -MinTSA. Let me know if you would like to debug this on my machine.

@Maximus5 I just managed to reproduce this with version 170910. Command line is: "C:\Users\paulc\Downloads\cmder\vendor\conemu-maximus5\ConEmu64.exe" -SetDefTerm -Detached -MinTSA. Let me know if you would like to debug this on my machine.

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Oct 17, 2017

Owner

That means you enabled "Leave in TSA" option in the Default terminal.
So you ask ConEmu "never close, just minimize to the TaskBar status area".
So the behavior is expected.

Owner

Maximus5 commented Oct 17, 2017

That means you enabled "Leave in TSA" option in the Default terminal.
So you ask ConEmu "never close, just minimize to the TaskBar status area".
So the behavior is expected.

@paulcsiki

This comment has been minimized.

Show comment
Hide comment
@paulcsiki

paulcsiki Oct 17, 2017

@Maximus5 Thanks, that makes sense now. I would rather disable the checkbox or on click display a message why it keeps disabling itself.

@Maximus5 Thanks, that makes sense now. I would rather disable the checkbox or on click display a message why it keeps disabling itself.

Maximus5 added a commit that referenced this issue Oct 18, 2017

gh-661: Disable ‘Close ConEmu with last tab’ if it's prohibited.
Some switches (`-MinTSA`, `-NoAutoClose`, ...) tells ConEmu
to stay or minimize (into TaskBar status area) instead of
termination ConEmu process when all its consoles goes out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment