Since the port to QCommandLineParser (b3f4bfbd), the "--title" option to set the dialogue title is accepted but has no effect. This is because Qt parses and actions it without passing it to the application. The option is still shown in the "--help" output. Test case: the tests/test script, which specifies a title for the message box tests but shows only "Question", "Warning", "Information" etc. as the window title.
Same problem here. Additionally, when running kdialog in a system with dual monitors, QCommandLineParser complains about missing "geometry" parameter. More details: https://www.reddit.com/r/kde/comments/5ix96k/kdialog_broken/
Possible patch https://phabricator.kde.org/D3727
Git commit 40f23a37f502354126f96a484c8f9c04143f413c by Kai Uwe Broulik. Committed on 21/12/2016 at 09:41. Pushed by broulik into branch 'Applications/16.12'. Store arguments before creating QApplication Qt removes certain arguments, such as title and icon, from argv before our QCommandLineParser gets a chance to parse them. CHANGELOG: Fixed command line arguments, such as --title and --icon not working FIXED-IN: 16.12.1 Differential Revision: https://phabricator.kde.org/D3727 M +9 -1 src/kdialog.cpp https://commits.kde.org/kdialog/40f23a37f502354126f96a484c8f9c04143f413c