Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1292310

Summary: fedora-release-notes.webapp.desktop, line 7, has unnecessary escapes, and will not parse correctly (in some cases)
Product: [Retired] Fedora Documentation Reporter: Peter Trenholme <PTrenholme>
Component: release-notesAssignee: Release Notes Tracker <relnotes>
Status: CLOSED DUPLICATE QA Contact: Fedora Docs QA <docs-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: develCC: me, relnotes, wb8rcr, zach
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-17 19:58:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Trenholme 2015-12-17 01:29:23 UTC
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.)

Comment 1 Pete Travis 2015-12-17 19:58:35 UTC

*** This bug has been marked as a duplicate of bug 1290077 ***

Comment 2 Pete Travis 2015-12-17 20:00:20 UTC
Thanks for the heads up, Peter.  There was a similar report filed against the package - this one is for the document.  Either component gets to the right people, but since the other was filed earlier, we'll use that one.