Summary: | Cannot remove "- Konsole" suffix from the titlebar | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Jason Tibbitts <j> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | john.b.little, mail, octoploid, rdieter |
Priority: | NOR | Keywords: | triaged |
Version: | 18.08.2 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/konsole/d1e5296ef4e423182012a49c1e902718330798e1 | Version Fixed In: | 19.04 |
Description
Jason Tibbitts
2016-06-16 17:31:55 UTC
Here is a translation of the section you quoted: The application name is added by Qt, so you should report it directly to Qt developers. And that's why I mentioned that the option should be removed from Konsole if it's not possible for Konsole to control this. You can use this hack: diff --git a/src/main.cpp b/src/main.cpp index 26d3da990b6a..a99ce6b25a2f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -93,8 +93,8 @@ extern "C" int Q_DECL_EXPORT kdemain(int argc, char* argv[]) KLocalizedString::setApplicationDomain("konsole"); - KAboutData about(QStringLiteral("konsole"), - i18nc("@title", "Konsole"), + KAboutData about(QStringLiteral(""), + i18nc("@title", ""), QStringLiteral(KONSOLE_VERSION), i18nc("@title", "Terminal emulator"), KAboutLicense::GPL_V2, Can confirm that this behavior does still exist with Konsole 18.08.2 and Qt 5.11.2. We should remove the option for now, and consider reporting the problem to the Qt developers. Git commit d1e5296ef4e423182012a49c1e902718330798e1 by Kurt Hindenburg, on behalf of Andrew Smith. Committed on 22/11/2018 at 15:06. Pushed by hindenburg into branch 'master'. Remove option to hide application name from titlebar Summary: Since the application name is added by Qt, it is no longer possible to remove the trailing '- Konsole' so the GUI option is obsolete. FIXED-IN: 19.03 Test Plan: Change settings for existing Konsole and notice that the checkbox doesn't change anything. After applying this the checkbox should be removed. Reviewers: #konsole, konsole-devel, hindenburg Reviewed By: #konsole, hindenburg Subscribers: konsole-devel Tags: #konsole Differential Revision: https://phabricator.kde.org/D17049 M +1 -5 src/MainWindow.cpp M +0 -13 src/settings/GeneralSettings.ui M +0 -5 src/settings/konsole.kcfg https://commits.kde.org/konsole/d1e5296ef4e423182012a49c1e902718330798e1 Just stumbled on this bug report with a recent comment. A partial, kludgy, work around with X for this Qt "feature" is to use xprop: xprop -id $WINDOWID -format _NET_WM_NAME 8u -set _NET_WM_NAME "whatever" For example, with bash, PROMPT_COMMAND='xprop -id $WINDOWID -format _NET_WM_NAME 8u -set _NET_WM_NAME "$PWD"' |