Delay in updating Konsole window title

Hello,
I am coming from gnome-terminal. In my .bashrc I run this every time I cd into a directory, to change the window (tab) title:

export PROMPT_COMMAND="printf '\e]0;$(pwd)\7'"

This works also in Konsole, but for reason there is some delay. The title changes, but it changes around 1 sec later, which is quite annoying.

Any idea why?

Looks like it’s behind a timer, I tried to measure it and it takes roughly two seconds to update

Found the bug report 472548 – Konsole is very slow to perform a title bar / tab bar update

2 Likes