Bug 492446

Summary: Window title keeps switching between current tab and something running in another one
Product: [Applications] konsole Reporter: kostadinshishmanov
Component: generalAssignee: Konsole Bugs <konsole-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kostadinshishmanov 2024-08-31 08:41:11 UTC
SUMMARY

Whenever you run something in a tab (in my case building something with portage) and open another tab, the window's title bar will keep switching between showing the thing that's running in the first tab, and the current active one. It can also be observed if you become root with `sudo su` in the first tab, and then go to the second one, and you will notice that the window's title bar says root@hostname instead of username@hostname. 

Bisect led to https://invent.kde.org/utilities/konsole/-/commit/9c72d6301dead5ce1e69f79c4416d8d12cf0d2d4

Video showing the issue: https://www.youtube.com/watch?v=c59fYsvcn2g

STEPS TO REPRODUCE
1. Open Konsole
2. Enable "Show window title on the titlebar" in Konsole's configuration
3. run a portage job or switch to root in one tab and open a second one
4. Look at the window's title and see that it keeps changing

OBSERVED RESULT

The window's title keeps changing between the current tab's title and the other one that's running something

EXPECTED RESULT

The window's title only shows the thing that's running in the current tab.

Operating System: Gentoo 2.15
KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.10.7-gentoo (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 31.0 GiB of RAM
Graphics Processor: AMD Radeon RX 6800
Comment 1 kostadinshishmanov 2024-11-09 18:11:51 UTC
Can't reproduce anymore. Bisecting to find the commit that fixed it led to c5e3aa26d3723ec9db9af3eb9b7da4c05359d5fd ("Fix Multiple Splits flicker / crashes").