[Xfce-bugs] [Bug 16351] New: xfce4-settings-manager does not ignore exec variables with no arguments in applications desktop files
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Wed Jan 8 10:08:33 CET 2020
https://bugzilla.xfce.org/show_bug.cgi?id=16351
Bug ID: 16351
Summary: xfce4-settings-manager does not ignore exec variables
with no arguments in applications desktop files
Classification: Xfce Core
Product: Xfce4-settings
Version: unspecified
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: Medium
Component: Settings Manager
Assignee: xfce-bugs at xfce.org
Reporter: maurizio.galli at gmail.com
Target Milestone: Xfce 4.14
If a desktop file contains exec variables such as %F with no arguments,
xfce4-settings-manager does not remove it.
Freedestop specifications are that " A command line may contain at most one %f,
%u, %F or %U field code. If the application should not open any file the %f,
%u, %F and %U field codes must be removed from the command line and ignored. "
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables
Example:
What doesn't work:
* Executing YaST Software Manager from the XFCE Settings Manager
> 2019-12-27 13:06:20 <1> localhost.localdomain(9888) [Ruby]
bin/y2start:22 y2base called with ["sw_single", "--arg", "%F", "qt",
> "-name", "YaST2", "-icon", "yast"]
What does works:
* Executing YaST Software Manager via right-click in an rpm file -> "Open
> with YaST Software"
>
> > 2019-12-27 13:14:13 <1> localhost.localdomain(13809) [Ruby]
> bin/y2start:22 y2base called with ["sw_single", "--arg",
> "/home/ytm/Downloads/vlc-3.0.8-2.4.x86_64.rpm", "qt", "-name", "YaST2",
> "-icon", "yast"]
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list