[konsole] [Bug 498036] window title & icon should reflect current session

Oswald Buddenhagen bugzilla_noreply at kde.org
Wed Jan 8 13:18:08 GMT 2025


https://bugs.kde.org/show_bug.cgi?id=498036

Oswald Buddenhagen <ossi at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WAITINGFORINFO              |---
             Status|NEEDSINFO                   |REPORTED

--- Comment #2 from Oswald Buddenhagen <ossi at kde.org> ---
> When I update a tab's title, that then becomes the first part of the window title

well, it doesn't for me; there is just nothing in front of the emdash.
... and this is caused by the "show window title on the titlebar" option.
this option should not exist, especially not as a global option.

i now see that the tab format string already supports the %w expando. this
should mostly address the need.
it would make sense to support conditionals in there, to avoid redundancy, but
still have a fallback when %w has the default value or is empty. there are
examples for useful syntaxes for that, e.g.
https://neomutt.org/guide/reference#3-511-%C2%A0status_format.

as an aside, the tab titling isn't terribly useful for the current tab, because
the info is redundant with what the visible terminal certainly shows anyway,
and it steals space from the other tabs, where it would be actually
interesting. so ideally, the current tab's title would "move" to the window
title, leaving the tab itself "mostly untitled" (what exactly to show instead
is an interesting question; you could intro a conditional for that as well, so
one could configure an arbitrary short(ened) title).

there is still the issue that the profile name should somehow end up in the
window title. one could introduce a format string for the window title, but
that seems terribly over-engineered to me; hard-coding the inclusion as
proposed above should be just fine. supporting a profile name expando would
make even less sense, as the format string is/would be profile-bound anyway, so
one can just put an appropriate identifier directly into the format string.

btw, the profiles and colorschemes living in .local/share rather than .config
is bogus. they are every bit part of the configuration as konsolerc is.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list