! 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 !
%d is treated as %f
Status:
CLOSED: FIXED

Comments

Description BTreeHugger 2006-08-24 15:01:56 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.6) Gecko/20060805 Firefox/1.5.0.6
Build Identifier: 

The %d option simply returns the output of %f

Reproducible: Always

Steps to Reproduce:
1. Create a custom action, test, with a command using %f, such as terminal -H -x echo %f
2.
3.

Actual Results:  
/path/to/file/filename

Expected Results:  
/path/to/file
or
/path/to/file/
Comment 1 Benedikt Meurer editbugs 2006-08-24 15:11:32 CEST
Created attachment 745 
Suggested patch

Should fix the problem.
Comment 2 Benedikt Meurer editbugs 2006-08-26 15:35:47 CEST
Committed with revision 22885.

2006-08-26	Benedikt Meurer <benny@xfce.org>

	* plugins/thunar-uca/thunar-uca-model.c(thunar_uca_model_parse_argv):
	  Substitute %d properly. Bug #2214.

Bug #2214

Reported by:
BTreeHugger
Reported on: 2006-08-24
Last modified on: 2009-07-17

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Version:
0.3.2beta2

Attachments

Suggested patch (925 bytes, patch)
2006-08-24 15:11 CEST , Benedikt Meurer
no flags

Additional information