Bug 480726 - Actual user not updated in title tab
Summary: Actual user not updated in title tab
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 23.04.2
Platform: openSUSE Linux
: NOR grave
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-02 10:18 UTC by Rafael Linux User
Modified: 2024-03-26 11:29 UTC (History)
1 user (show)

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


Attachments
After change of user using "su -", window title is not changed (63.40 KB, image/png)
2024-03-26 11:11 UTC, Rafael Linux User
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Linux User 2024-02-02 10:18:40 UTC
SUMMARY
The information about the server/user you are working with in the header of the window does not correspond to the information displayed in the active tab.


STEPS TO REPRODUCE
1. Add a new tab in Konsole
2. Login to a remote server and observe the server name in Konsole window.
3. Exit from that server (hold the same tab)
4. Login to another remote server (with distinct machine name)

OBSERVED RESULT
While tab info show correct IP/user, Konsole window title continue showing previous logged user@server_name data.

EXPECTED RESULT
To show in Konsole window tittle the correct machine data from selected tab. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I suggest to show in both (window title and tab name) IP+server_name@loged user.  In fact, in my intranet we usually do a double login: first "general_user" login and then "su -" (that's to say, "root" user). However, Konsole continue showing that user logged is "general_user", despite I'm using "root" account.
Comment 1 Kurt Hindenburg 2024-03-23 00:39:13 UTC
I can't reproduce the ssh issue on 23.08.x  Can you attach a screenshot?
Comment 2 Rafael Linux User 2024-03-26 11:11:55 UTC
Created attachment 167790 [details]
After change of user using "su -", window title is not changed

After changing to the "root" user with "su -", the user shown in the tab title for that console should also change, however, it still shows the user with which you connected to that server.
Comment 3 Rafael Linux User 2024-03-26 11:26:44 UTC
I have tried to reproduce the exact problem I was talking about, but I have not succeeded. However, the problem that does persist is with respect to the user when changing user with "your user", which corresponds to the screenshot I show.