Bug 432970 - Tab bar now shows the end of the hostname
Summary: Tab bar now shows the end of the hostname
Status: ASSIGNED
Alias: None
Product: konsole
Classification: Applications
Component: tabbar (show other bugs)
Version: 20.12.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-15 12:45 UTC by richlv
Modified: 2021-11-03 10:47 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description richlv 2021-02-15 12:45:38 UTC
SUMMARY

In previous versions, Konsole tab bar used to trim the end of the hostname (when there was a larger number of tabs) for tabs with SSH sessions - so "server123.some.company.domain" would become "server123.so...".
After upgrading to the latest Tumbleweed, the beginning is now trimmed, thus most of my tabs are titled "...company.domain".

STEPS TO REPRODUCE
1. Have a narrow window or many tabs.
2. Open SSH sessions in the tabs.

OBSERVED RESULT
Beginning of the hostname trimmed.

EXPECTED RESULT
End of the hostname trimmed.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-02-16 19:29:03 UTC
I believe this was an intentional change. This is one of those "can't please everyone" issues, sadly.
Comment 2 richlv 2021-02-16 19:45:20 UTC
What was the reasoning, if it indeed was intentional?
Comment 3 Nate Graham 2021-02-16 21:20:03 UTC
Probably a similar bug report from someone saying "my tab names are all the same at the end and get elided into invisibility; all the interesting stuff is at the beginning!"
Comment 4 richlv 2021-02-17 09:32:01 UTC
Right, I thought you had a specific request/commit in mind :)
Although, if we cannot find specific reasons, perhaps the change was accidental after all?
Comment 5 tcanabrava 2021-02-17 09:37:01 UTC
perhaps it's a longshot, but have you considered to use colors, or split screen for those? tabs *will* be to crowded and we will need to remove parts of the name.

on the splits, if you open them horizontally, you will have the full name of the sessions at all times, and you can expand / shrink them when you need to work on something fullscreen.
Comment 6 richlv 2021-02-17 10:08:43 UTC
Colours wouldn't work, as I open SSH sessions to many different hosts, it's not a smaller set.
Splitting wouldn't work as I prefer to work with fullscreen windows 99% of the time.
Showing the beginning on the tab title was perfect for me - but I do appreciate the suggestions for possible changes in the workflow/habits :)
Comment 7 richlv 2021-08-16 18:15:54 UTC
Heya, any thoughts on this?
This is a problem that makes Konsole harder to use every day for me - if we don't have a strong usecase to prefer the changed behaviour, perhaps it's easier to reverse :)
Comment 8 richlv 2021-11-03 10:20:09 UTC
Still the same in the latest KDE version in Tumbleweed - any thoughts on reversing this change?
Comment 9 Bug Janitor Service 2021-11-03 10:47:35 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/519