[Xfce-bugs] [Bug 16352] New: xfce4-settings-manager does not expand exec variables with no arguments in applications desktop files

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Jan 8 12:05:18 CET 2020


https://bugzilla.xfce.org/show_bug.cgi?id=16352

            Bug ID: 16352
           Summary: xfce4-settings-manager does not expand exec variables
                    with no arguments in applications desktop files
    Classification: Xfce Core
           Product: Xfce4-settings
           Version: 4.14.1
          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

xfce4-settings-manager does not expand exec variables when they have no
arguments.

How to reproduce:
1. add desktop file containing Exec=/usr/lib/YaST2/bin/sw_single_wrapper %F
added to xfce4-settings-manager
2. launch desktop file from xfce4-settings-manager

Expected behavior:
exec variable %F should be expanded to an empty string

Actual behavior:
exec variable %F is not expanded but passed as argument and fails

General notes:

1. In this example %F is needed by Yast Software so that we can select multiple
rpm packages in the file browser and install them all at the same time.

2. exec variables that are supported by the standard of  Freedesktop.org should
always be expanded.
https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s07.html

This issue only occurs when launching from inside xfce4-settings-manager.
Launching from Whisker menu with the same variable works as expected

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list