Bug 418392

Summary: Support setting window title with escape sequences
Product: [Applications] yakuake Reporter: nl6720 <bugs.kde.org>
Component: generalAssignee: Eike Hein <hein>
Status: REPORTED ---    
Severity: normal CC: bugs.kde.org
Priority: NOR    
Version First Reported In: 3.0.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description nl6720 2020-03-02 09:31:11 UTC
SUMMARY
Please add support for setting Yakuake's window title with xterm title escape sequences ( https://www.tldp.org/HOWTO/Xterm-Title-3.html#ss3.1 ).

Konsole supports this. In Konsole settings the option is called "Show windows title on the titlebar", in konsolerc it is:

[KonsoleWindow]
ShowWindowTitleOnTitleBar=true


Yakuake does not have such option.


STEPS TO REPRODUCE
1. in shell run: echo -en '\e]2;My title\a'
2. 
3. 

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
Yakuake's window title should change to "My title - Drop-down Terminal", similar to how it is in Konsole: "My title — Konsole".


SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.18.2
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Yakuake Version: 3.0.5+
Konsole Version: 19.12.2