Bug 369632 - %u doesnt show current user anymore
Summary: %u doesnt show current user anymore
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: tabbar (show other bugs)
Version: 16.08.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-02 11:35 UTC by farmboy0
Modified: 2016-11-11 16:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description farmboy0 2016-10-02 11:35:33 UTC
In konsole profile you can define the appearance for the tab describtion.
One template you can use is User Name %u.
This currently shows only the current user logged in to KDE, not the user that is active in the console when you switched for instance with su.
This worked before.

Reproducible: Always

Steps to Reproduce:
1. Open konsole
2. Configure the profile to show %u in the tab description
3.Use su <username> to switch to another user

Actual Results:  
The username used to log into KDE is still shown

Expected Results:  
The <username> that was switched to with su is shown.
Comment 1 Kurt Hindenburg 2016-11-08 23:45:31 UTC
I can't reproduce this - you are on the latest version and Linux so it should work.  If you can provide an image and if anything unusual about your system.  The code uses /proc/ and getpwuid_r to find various info.  Also try running konsole from an xterm or another terminal to see if any errors print.
Comment 2 farmboy0 2016-11-09 19:12:18 UTC
This bug can be closed. It works again.
I am using Plasma 5.8.3 and konsole 16.08.02 now.
Not sure exactly when it was fixed.
Comment 3 Christoph Feck 2016-11-11 16:08:51 UTC
Thanks for the update, closing.