Version: 2.8 (using Devel) OS: Linux In 4.8 there seems to be a regression regarding window/tab titles: I use %w (title set by shell) for my window / tab titles, and frequently when the title should change (examples: switching user, an application which shows progress such as gentoos emerge) the window titles are not changed. Reproducible: Sometimes Steps to Reproduce: - Use %w in the window title - Have an application which changes the title (e.g. a simple su -) Actual Results: Title does not change Expected Results: Title changes OS: Linux (x86_64) release 3.1.0-gentoo Compiler: x86_64-pc-linux-gnu-gcc
Thanks for reporting! However, I failed to observe the reported problem using the "su -" example. The tab title does change, although with a little delayment instead of immediately. I also tried mc, which also updated the tab title as expected. Maybe that extra little delayment is what you actually means by regression. I guess that is an side effect of commit 1c1981501b6e3bcd433840bf36f7851f06772322 which fixes bug 175755. I will take a look at it.
The problem seems to be that the title doesn't change unless there is some user input, e.g. creating a new tab will leave the title as "Shell" forever, until I press enter, which will then change the title to match my $PS1 after a 1~2 seconds delay. This behavior is very easy to notice with Gentoo, where during an emerge session the title will stay as "emerge: (1 of n) xxx/yyy-version Compile". Pressing enter will then change the title to be whatever package being compiled/installed at the moment.
Git commit 36bd1828f373a1a04b8f9d740ca014722ca0597a by Jekyll Wu. Committed on 29/11/2011 at 06:49. Pushed by jekyllwu into branch 'master'. Revert "Ensure %w and %# are also expaned in the 'Copy input' dialog" That fix is not good enough because it makes '%w' being updated only after keystroke instead of immediately . The issue of updating title is actually a little more complicated than I have understood. Revert it because the regression should influence more users than the fixed problem does. Need to spend more time to find a better fix. CCBUG: 175755 CCBUG: 287536 This reverts commit 1c1981501b6e3bcd433840bf36f7851f06772322. M +0 -8 src/Session.cpp M +8 -0 src/SessionController.cpp http://commits.kde.org/konsole/36bd1828f373a1a04b8f9d740ca014722ca0597a