Summary: | setCaption and setPlainCaption always append the application name | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kxmlgui | Reporter: | Maximiliano Curia <maxy> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | andydecleyre, aspotashev, j, konstantinos.smanis, maxmustermann1884, r.mitsuklavitt |
Priority: | NOR | ||
Version: | 5.0.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Maximiliano Curia
2016-12-23 15:48:46 UTC
The Konsole option "Show application name on the titlebar" still does apparently nothing, as of Konsole 18.04.2. This bug is still present in KXmlGui 5.49.0 and can be observed in Konsole 18.08.0 through the "Show application name on the titlebar" setting, which still has no effect. Could use QWindow::setTitle() instead. It is possible to get the window of a widget via QWidget::windowHandle(). Unfortunately, this won't work, because it is indeed the QPA that adds the application name. Qt developers would need to add a method to set the 'plain' window title. *** Bug 407146 has been marked as a duplicate of this bug. *** Qt QPA always adds the application name to the window title. You could ask Qt developers to add a way to avoid this via https://bugreports.qt.io/ Great, thanks! See https://bugreports.qt.io/browse/QTBUG-75535 Should I reopen this bug if/when the upstream bug is resolved, or should I open a new one? I am subscribed to the Qt ticket, no need to file a new one. |