Skip to content
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
Open

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

AndreKR opened this issue May 4, 2016 · 14 comments

Comments

@AndreKR
Copy link

@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 pushed a commit that referenced this issue May 4, 2016
@AndreKR
Copy link
Author

@AndreKR 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.

Loading

@paulcsiki
Copy link

@paulcsiki paulcsiki commented 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

Loading

@cobrabr
Copy link

@cobrabr 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.

Loading

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Apr 23, 2017

Show your ConEmu.xml

Loading

@cobrabr
Copy link

@cobrabr 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.

Loading

Maximus5 pushed a commit that referenced this issue Apr 23, 2017
…rm in some cases) option ‘Close ConEmu with last tab’ was unchecked.

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

@paulcsiki paulcsiki commented Sep 1, 2017

Any ideas why I can't select the checkbox?

Loading

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Sep 2, 2017

Fixed long ago. What checkbox?

Loading

@paulcsiki
Copy link

@paulcsiki paulcsiki commented Sep 2, 2017

Loading

@Maximus5
Copy link
Owner

@Maximus5 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

Loading

@paulcsiki
Copy link

@paulcsiki paulcsiki commented 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.

Loading

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Sep 12, 2017

We can't move further without this information.

Loading

@paulcsiki
Copy link

@paulcsiki paulcsiki commented 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.

Loading

@Maximus5
Copy link
Owner

@Maximus5 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.

Loading

@paulcsiki
Copy link

@paulcsiki paulcsiki commented 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.

Loading

Maximus5 pushed a commit that referenced this issue Oct 18, 2017
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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants