! 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 expand exec variables with no arguments in ap...
Status:
RESOLVED: MOVED
Product:
Xfce4-settings
Component:
Settings Manager

Comments

Description Maurizio Galli 2020-01-08 12:05:18 CET
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
Comment 1 Git Bot editbugs 2020-05-28 23:16:04 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/153.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #16352

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

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Version:
4.14.1

Attachments

Additional information