! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-settings-manager does not ignore exec variables with no arguments in ap...
Status:
RESOLVED: INVALID
Product:
Xfce4-settings
Component:
Settings Manager

Comments

Description Maurizio Galli 2020-01-08 10:08:33 CET
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"]

Bug #16351

Reported by:
Maurizio Galli
Reported on: 2020-01-08
Last modified on: 2020-01-08

People

Assignee:
Xfce Bug Triage
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information