[Konsole-devel] [Bug 162326] Ability to define separate window and tab title formats
kavol
kavol at seznam.cz
Tue Feb 21 11:21:01 UTC 2012
https://bugs.kde.org/show_bug.cgi?id=162326
--- Comment #34 from kavol <kavol seznam cz> 2012-02-21 11:21:00 ---
(In reply to comment #32)
> (In reply to comment #30)
> You should get the latest code from the official repository:
> https://projects.kde.org/projects/kde/kde-baseapps/konsole/repository.
thanks, so getting master branch via git clone git://anongit.kde.org/konsole
> See the screenshots attached in https://git.reviewboard.kde.org/r/103978/ to
> find where to turn that global option on. Or just go to "Settings -->
> Configure Konsole"
ok, now I see that new option
> As for the barrier for testing, that is a general problem. There are some
> guides on techbase.kde.org, for example:
> http://techbase.kde.org/Getting_Started/Build/Example .
I'd say this is less than ideal, but this is not the right place to discuss ...
so, to my testing:
- I'm using the script from comment #31
1) "Show window title on the titlebar" OFF
1a) tab name blank
I get "Shell" as window title and tab names by default
I suppose this comes from the profile name ...
I see some room for improvement here:
* I cannot set empty string explicitly, as the profile name is used if the
input field is left blank
* I cannot use profile name explicitly, the drop down menu doesn't enlist such
option
- while at it, the konsole handbook would use some updating, because it even
doesn't list all the options available via the dropdowns ...
* all the tabs have the same names "Shell", better default would be to have
them numbered, i.e. like "%profile_name (%#)" => "Shell (1)"
after running the script, both window title and tab name change to "tab" (= tab
name set by the script)
this change persists when the script finishes => seems ok
1b) tab name set to %w
I get "username at host:pwd" by default, which is a title set by shell, I guess
running the script, I get "window" (= then name set by script) for both the
window title & tab name
after the script finishes, I get "username at host:pwd" back; I believe this is
reset by shell => seems ok
2) "Show window title on the titlebar" ON
2a) tab name blank
I get "Shell" on tab name and "username at host:pwd" on window title
seems ok, except for the possible improvements discussed in case 1a)
running the script, I get "window" on window title and "tab" on tab name
after it finishes, window title is reset, tab name stays => seems ok
2b) tab name set to %w
I get "username at host:pwd" both for window title and tab name
running the script, I get "window" for both of them, returning to
"username at host:pwd" after the script finishes => seems ok
what I am missing in cases 1b) and 2b) is the possibility that the "%w" value
would be used as default only until the tab name gets changed - i.e. the
behaviour like in cases 1a) and 1b) using own implicit value and not the one
provided by konsole itself (IOW, I'd like to be able to do the aboveproposed
change of default from "%profile_name" to "%profile_name (%#)" myself, not to
rely on common consensus what the hardcoded default should look like)
* one more suggestion, I guess it'd be more selfunderstanding to rename "Show
window title on the titlebar" to something like "Set window name to window
title instead of tab title", or do it the other way round, reverse the on/off
meaning and use something like "Use tab name for window title"
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the konsole-devel
mailing list