https://bugzilla.redhat.com/show_bug.cgi?id=1292310
Bug ID: 1292310 Summary: fedora-release-notes.webapp.desktop, line 7, has unnecessary escapes, and will not parse correctly (in some cases) Product: Fedora Documentation Version: devel Component: release-notes Severity: low Assignee: relnotes@fedoraproject.org Reporter: PTrenholme@gmail.com QA Contact: docs-qa@lists.fedoraproject.org CC: relnotes@fedoraproject.org, wb8rcr@arrl.net, zach@oglesby.co
Description of problem: When parsed by KConfigIni, these errors appear: "KConfigIni: In file /usr/share/applications/fedora-release-notes.webapp.desktop, line 7: " "Invalid escape sequence "\""." "KConfigIni: In file /usr/share/applications/fedora-release-notes.webapp.desktop, line 7: " "Invalid escape sequence "\$"." "KConfigIni: In file /usr/share/applications/fedora-release-notes.webapp.desktop, line 7: " "Invalid escape sequence "\""." "KConfigIni: In file /usr/share/applications/fedora-release-notes.webapp.desktop, line 7: " "Invalid escape sequence "\$"." "KConfigIni: In file /usr/share/applications/fedora-release-notes.webapp.desktop, line 7: " "Invalid escape sequence "\$"." "KConfigIni: In file /usr/share/applications/fedora-release-notes.webapp.desktop, line 7: " "Invalid escape sequence "\$"." "KConfigIni: In file /usr/share/applications/fedora-release-notes.webapp.desktop, line 7: " "Invalid escape sequence "\$"." "KConfigIni: In file /usr/share/applications/fedora-release-notes.webapp.desktop, line 7: " "Invalid escape sequence "\$"."
Version-Release number of selected component (if applicable): latest rawhide
How reproducible: Every time
Steps to Reproduce: run any KDE app (in GNOME or elsewhere)
Actual results: See description
Expected results: Epiphany display
Additional info:
The installed .desktop file works fine in GNOME, but causes errors when any KDE application that causes KConfigIni to run is started from a terminal in GNOME
This line 7 works fine in GNOME, and, when parsed by KConfigIni, no errors are produced.
Exec=sh -c "PROFILEDIR=$HOME/.config/epiphany/fedora-release-notes;DOC=/usr/share/doc/fedora-release-notes/index.html; [ -d $PROFILEDIR ] || mkdir -p $PROFILEDIR;epiphany --application-mode --profile=$PROFILEDIR $DOC || xdg-open $DOC "
(Note also the added "-p" option to the mkdir command. I seldom use epiphany, so I had no "epiphany" sub-dir in /.config. Adding the -p made it work.)