#848180 setWindowTitle() includes application name in window title when configured not to do so #848180
- Package:
- src:qtbase-opensource-src
- Source:
- qtbase-opensource-src
- Submitter:
- Aaron Schrab
- Date:
- 2020-12-24 19:06:04 UTC
- Severity:
- normal
- Tags:
Dear Maintainer, After unchecking the "Show application name on the titlebar" option in the Configure Konsole dialog it still inludes " - Konsole" at the end of window titles. This occurs even after closing all Konsole windows and restarting the application. I first observed this with version 4:16.08.2-2 of both the konsole and konsole-kpart packages. I upgraded both of those to 4:16.08.3-1 from unstable to check if the issue was still present (and I again made sure to close all windows after the upgrade). Before I installed the version from testing yesterday I hadn't used this package in long time, so I can't say how long this bug has existed. Thank you for your work on Debian, Aaron
¡Hola Aaron! El 2016-12-13 a las 19:49 -0500, Aaron Schrab escribió: I can reproduce the issue, this seems to be a issue in kxmlgui rather than konsole. konsole calls setCaption or setPlainCaption depending on the value of the user setting, the first on documents that it would add the application name, and the second one that it wouldn't, but sadly this is no longer true ( since this was ported to qt5), as setCaption is implemented as a single call to setPlainCaption (and the responsible for adding the application name in the title is the qt qpa plugin). The setCaption and setPlainCaption documentation can be seen here: https://cgit.kde.org/kxmlgui.git/tree/src/kmainwindow.h While the implementation can be seen here: https://api.kde.org/frameworks/kxmlgui/html/kmainwindow_8cpp_source.html The qt documentation for setWindowTitle can be found here: http://doc.qt.io/qt-5/qwidget.html#windowTitle-prop kxmlgui is missing a way to workaround the setWindowTitle use of the qpa plugin, this may need to be scale to qtbase. Happy hacking,
reassign 848180 src:qtbase-opensource-src qtbase-opensource-src/5.7.1~20161021+dfsg-6 retitle 848180 setWindowTitle() includes application name in window title when configured not to do so thanks In data venerdì 23 dicembre 2016 16:36:15 CET, Maximiliano Curia ha scritto: Indeed, this is a Qt limitation: https://bugreports.qt.io/browse/QTBUG-75535 Hence, reassigning to Qt 5. Thanks,