Summary: | Tab name doesn't revert after closing mc | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | aditsu <aditsu> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED LATER | ||
Severity: | normal | CC: | adaptee |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
aditsu
2011-04-19 08:36:24 UTC
*** This bug has been marked as a duplicate of bug 271275 *** I don't think this is a duplicate, but a different bug. In bug 271275, the tab name reverts after pressing enter. In this bug it doesn't. (In reply to comment #2) > I don't think this is a duplicate, but a different bug. In bug 271275, the tab name reverts after pressing enter. In this bug it doesn't. From my experience, in this report the tab title will also be reverted after pressing ENTER. Or, just wait for one or two seconds after quitting mc then the tab title will be reverted, not showing 'mc' anymore for '%n'. I tested it in zsh and bash. Have you seen the youtube video I linked? OK, I watched that video. But I think you misunderstood something. Your tab title is composed of 3 parts: %d for directory, %n for process name, and %w for window title set by escape code. In both my experiment and your video clip, the %n part reverts from 'mc' to 'zsh' after mc exits. Yes, the %w part still shows "mc [...]" even after another command top is executed. But that behavior is correct: if no escape code is ever sent to clear or change that window title, it will just stay the same . It is not konsole that is responsible for changing the window title . Konsole just shows the window title for %w as it is. Try ` echo -en "\e]0;window title\a" ` in the shell, and you will understand what I mean. Oh, I see... so the window title is a persistent attribute of the shell, that has no connection with konsole or the life cycle of programs. Then the problem is that mc is setting the title and not reverting when I close it. I'll see if I can find something about that. Technically, that window title is a persistent attribute of the terminal (no, not shell)which is emulated by konsole. I think the thing is explained and accepted. I will close it. Alright, thank you. |