Bug 388549

Summary: Cannot start umbrello from applications menu
Product: [Applications] umbrello Reporter: Andre Barboza <bmg.andre>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal CC: arojas, ralf.habacker
Priority: NOR    
Version: 2.24.0 (KDE Applications 17.12.0)   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 2.24.1 (KDE Applications 17.12.1)

Description Andre Barboza 2018-01-05 00:01:43 UTC
Description:

Cannot start umbrello from applications menu.

Additional info:

The desktop file exec command contains an invalid option.

$ cat -n /usr/share/applications/org.kde.umbrello.desktop
1 # KDE Config File
2 [Desktop Entry]
3 Type=Application
4 Exec=umbrello5 %u -qwindowtitle %c
5 Icon=umbrello
6 X-DocPath=umbrello/index.html
7 Terminal=false
8 Name=Umbrello

$ umbrello5 -qwindowtitle
umbrello5: Unknown option 'qwindowtitle'.
umbrello5: Use --help to get a list of available command line options.

Steps to reproduce:
1 - Open application menu
2 - Click on Umbrello
Comment 1 Christoph Feck 2018-01-05 01:59:28 UTC
umbrello has not yet been ported away from kdelibs4support, and uses KCmdLineArgs instead of QCommandLineParser. The commit that converted '--caption' to '-qwindowtitle' needs to be reverted meanwhile.
Comment 2 Ralf Habacker 2018-01-07 11:09:08 UTC
Git commit b4a20d4fb517033533244f14d8370e87f3c6483b by Ralf Habacker.
Committed on 07/01/2018 at 11:08.
Pushed by habacker into branch 'Applications/17.12'.

Fix 'Cannot start umbrello from applications menu'
FIXED-IN:2.24.2 (KDE Applications 17.12.2)

M  +0    -1    umbrello/CMakeLists.txt

https://commits.kde.org/umbrello/b4a20d4fb517033533244f14d8370e87f3c6483b
Comment 3 Antonio Rojas 2018-01-07 19:37:32 UTC
This patch makes it create a completely empty desktop file. Note that UMBRELLO_DESKTOP_OUT is now never defined
Comment 4 Ralf Habacker 2018-01-07 21:01:00 UTC
Git commit 95115e7067609c2df435cf7dd8b3628ae86767fd by Ralf Habacker.
Committed on 07/01/2018 at 21:00.
Pushed by habacker into branch 'Applications/17.12'.

Fixup of b4a20d4fb

Use the correct cmake variable.

M  +1    -1    umbrello/CMakeLists.txt

https://commits.kde.org/umbrello/95115e7067609c2df435cf7dd8b3628ae86767fd