Bug 495461 - Tab title stops following the current directory
Summary: Tab title stops following the current directory
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: tabbar (show other bugs)
Version: 24.08.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-28 02:41 UTC by Łukasz
Modified: 2024-11-03 22:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Wrong directory in a tab title (42.01 KB, image/png)
2024-10-28 02:41 UTC, Łukasz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz 2024-10-28 02:41:34 UTC
Created attachment 175291 [details]
Wrong directory in a tab title

When the tab title is set to a default title, "%d : %n", at first it follows the current directory when switching directories but at some point it stops updating. The new tab is then opened in the wrong directory, not the current directory of the original tab.

I attach the screen showing the problem: the left tab's current directory is "~/Documents/PhD Studies" but the tab title incorrectly says "Universities". The right tab was open in the "~/Documents/Universities" directory, not in the left tab's current directory.

Steps to reproduce:
1. Open Konsole and set the tab title to "%d : %n".
2. Switch directories a few times until the tab title stalls.

Observed result: tab title doesn't change with the tab's directory changes.

Expected result: tab title follows the tab's current directory.

Software versions:
Konsole Version: 24.08.2
Operating System: openSUSE Tumbleweed 20241025
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.5-1-default (64-bit)
Comment 1 Oleksandr Natalenko 2024-11-03 22:51:25 UTC
Can confirm this behaviour in Arch Linux with the latest packages installed and fish shell in use.

Can also note that starting Midnight Commander updates the tab to the current folder, but simple cd doesn't.