Bug 498036

Summary: window title & icon should reflect current session
Product: [Applications] konsole Reporter: Oswald Buddenhagen <ossi>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version: 24.12.0   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Oswald Buddenhagen 2024-12-29 19:01:11 UTC
the profile allows configuring the title and icon ... for the tab bar.
however, this doesn't help at all when trying to select the right konsole window in the task manager/switcher.

therefore, i suggest that the current session's name should be included in the window title, and the session's icon be set as the window icon. provided it's not the default session.

additionally, the configured tab title constructed from placeholders should be also included, provided the application didn't override the window title via an escape sequence.

some examples:

  ~ : bash -- Konsole
  ~ : bash -- Root Shell -- Konsole
  mc [user@host]:~ -- Midnight Commander -- Konsole
  mc [root@host]:~ -- Root Shell -- Konsole
  Mail -- Konsole

yeah, it's somewhat inconsistent and/or redundant, but it should serve the intended purpose well enough.