The KF5 version doesn't launch from the kickoff menu or from krunner. This is due to the deprecated '-caption' argument in the Exec line of the .desktop file, it sould be replaced with -qwindowtitle Reproducible: Always
> it should be replaced with -qwindowtitle I tried this with recent kf5.12 based umbrello build. Any idea why using -qwindowtitle "MyCustomTitle" do not show the text in the application window title ?
No idea, but it works in all other KF5 apps, so it must be overridden somewhere in the Umbrello code.
(In reply to Antonio Rojas from comment #2) > No idea, but it works in all other KF5 apps, so it must be overridden > somewhere in the Umbrello code. On my development system (opensuse 13.1 x86_64) I got the following results: from libqt5-qttools-5.4.2-55.3.x86_64 /usr/lib64/qt5/bin/qdbusviewer-qt5 -qwindowtitle "MyTitle" -> "MyTitle" is shown in the app window title khelpcenter5-5.3.2-8.1.x86_64 /usr/bin/khelpcenter5 -qwindowtitle "MyTitle" -> "MyTitle" is shown in the app window title from kate5-15.04.2-13.1.x86_64 /opt/kf5/bin/kate -qwindowtitle "MyTitle" -> "MyTitle" is not shown KDE frameworks version is 5.12.0-71.1.x86_64 It looks that not only umbrello is affected.
Could be because umbrello (and kate) creates a new document named "Untitled" by default when opened, and that overrides the window title. kwrite doesn't seem to do that, and if you launch it with 'kwrite -qwindowtitle foo' you get 'foo' in the titlebar. But when you run 'kwrite bar -qwindowtitle foo' (so that it creates a new document called bar) the title shows bar, and the -qwindowtitle parameter is ignored.
(In reply to Antonio Rojas from comment #4) > Could be because umbrello (and kate) creates a new document named "Untitled" > by default when opened, and that overrides the window title. There is nothing special in Kf5 version of umbrello. It uses the same call to KMainWindow:setCaption() as the KDE4 version does. > kwrite doesn't seem to do that, and if you launch it with 'kwrite > -qwindowtitle foo' you get 'foo' in the titlebar. Umbrello's Mainwindow class is derived from KXMLGui and all window title related stuff is handled there, so it looks not to be a bug in umbrello.
Git commit 123926d18f060a7ef86cee81909f175e47add6f9 by Ralf Habacker. Committed on 23/08/2015 at 08:48. Pushed by habacker into branch 'master'. Fix 'KF5 version can't be launched from the menu'. M +1 -1 umbrello/umbrello.desktop http://commits.kde.org/umbrello/123926d18f060a7ef86cee81909f175e47add6f9
Git commit 947d7f4651a8b2478435796795036fa3ec8f0b7f by Ralf Habacker. Committed on 23/08/2015 at 11:16. Pushed by habacker into branch 'frameworks'. Fix 'KF5 version can't be launched from the menu'. M +1 -1 umbrello/umbrello.desktop http://commits.kde.org/umbrello/947d7f4651a8b2478435796795036fa3ec8f0b7f
(In reply to Ralf Habacker from comment #5) > (In reply to Antonio Rojas from comment #4) > > Could be because umbrello (and kate) creates a new document named "Untitled" > > by default when opened, and that overrides the window title. > There is nothing special in Kf5 version of umbrello. It uses the same call > to KMainWindow:setCaption() as the KDE4 version does. > > kwrite doesn't seem to do that, and if you launch it with 'kwrite > > -qwindowtitle foo' you get 'foo' in the titlebar. > Umbrello's Mainwindow class is derived from KXMLGui and all window title > related stuff is handled there, so it looks not to be a bug in umbrello. For the record: The doc of virtual void KMainWindow::setCaption(const QString &caption, bool modified); says: /** * Makes a KDE compliant caption. * * @param caption Your caption. @em Do @em not include the application name * in this string. It will be added automatically according to the KDE * standard. which second my statement in comment 5.
Git commit d31cae83987600e16aa14c48e071a56fcd9c580e by Ralf Habacker. Committed on 23/08/2015 at 19:13. Pushed by habacker into branch 'master'. Fix 'KF5 version can't be launched from the menu' in a frameworks independent way. M +4 -1 umbrello/CMakeLists.txt http://commits.kde.org/umbrello/d31cae83987600e16aa14c48e071a56fcd9c580e
Git commit 2968078e03c9fa330a97bdeca0219e45d8dad2d8 by Ralf Habacker. Committed on 24/08/2015 at 11:33. Pushed by habacker into branch 'Applications/15.08'. Fix 'KF5 version can't be launched from the menu' in a frameworks independent way. FIXED-IN:2.17.1 (KDE Applications 15.08.1) (cherry picked from commit d31cae83987600e16aa14c48e071a56fcd9c580e) Conflicts: umbrello/CMakeLists.txt M +5 -1 umbrello/CMakeLists.txt http://commits.kde.org/umbrello/2968078e03c9fa330a97bdeca0219e45d8dad2d8
Git commit bce6098a72d893a6dbd74c6f050faa5f8bf0288a by Ralf Habacker. Committed on 16/12/2015 at 18:15. Pushed by habacker into branch 'frameworks'. Fix 'KF5 version can't be launched from the menu' in a frameworks independent way. M +4 -1 umbrello/CMakeLists.txt http://commits.kde.org/umbrello/bce6098a72d893a6dbd74c6f050faa5f8bf0288a