Bug 381087 - Newly ported KF5 .desktop Exec line contains an invalid -caption option preventing ksudoku from launching via the icon menu.
Summary: Newly ported KF5 .desktop Exec line contains an invalid -caption option preve...
Status: RESOLVED FIXED
Alias: None
Product: ksudoku
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR critical
Target Milestone: ---
Assignee: Ian Wadham
URL:
Keywords:
: 385792 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-06-11 03:46 UTC by Darin Miller
Modified: 2018-05-16 01:00 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Miller 2017-06-11 03:46:58 UTC
The org.kde.ksudoku.desktop file need to be updated to exclude the -caption option as I have been told this function has been deprecated in plasma5. The app fails to launch via the menu/icon in its current state.  

The following line in src/gui/org.kde.ksudoku.desktop need fixed:

   Exec=ksudoku %i -caption %c

Removing the "%i -caption %c" allows the app to launch without issue.
Comment 1 Darin Miller 2017-06-11 04:30:28 UTC
Forgot to mention, version 1.4 is not available in the Version drop-down.  But this bug applies to said version.
Comment 2 Rik Mills 2017-06-11 07:30:45 UTC
-qwindowtitle should be used in place of -caption AFAIK, for Qt5/KF5
Comment 3 Burkhard Lück 2017-06-11 09:04:23 UTC
Git commit 672b4e39f22f840034a8e66e1311175639bff3e3 by Burkhard Lück.
Committed on 11/06/2017 at 09:03.
Pushed by lueck into branch 'Applications/17.04'.

Fix .desktop: Qt5 apps accept qwindowtitle, not caption

M  +1    -1    src/gui/org.kde.ksudoku.desktop

https://commits.kde.org/ksudoku/672b4e39f22f840034a8e66e1311175639bff3e3
Comment 4 Antonio Rojas 2017-07-13 20:55:29 UTC
This got committed to the 17.04 branch, which is still KDE4 based. So now launching ksudoku is broken in 17.04.3
Comment 5 Rex Dieter 2017-07-21 11:17:18 UTC
Reverted 17.04 branch commit:

https://cgit.kde.org/ksudoku.git/commit/?id=15b9c4686b3adcea3d430bfd66716e95039490d0
Comment 6 Gregor Mi 2018-05-16 01:00:00 UTC
*** Bug 385792 has been marked as a duplicate of this bug. ***