[jaunty] %d parameter returns nothing

Bug #341035 reported by Γουργιώτης Γιώργος (aka Gourgi) on 2009-03-11
This bug affects 5 people
Affects Status Importance Assigned to Milestone
nautilus-actions (Ubuntu)

Bug Description

Binary package hint: nautilus-actions

The %d parameter when used should return the /path/to/selected/file-folder
but it simply doesn't work

Steps to reproduce :
Case 1:
- create an action and put in
  "Path" field : /usr/bin/gnome-terminal
  "Parameters" filed : --working-directory=%d
- make the action appear in folders and restart nautilus.
- Go to /etc/samba and run the action we created. gnome-terminal opens with
working-dir /home/<username>/

Case 2:
- create a bash script (test.sh) and put inside

echo $1 > /tmp/test
echo "----" >> /tmp/test

- this should echo the %d parameter in /tmp/test
- create an action and put in
  "Path" field : /path/to/test.sh
  "Parameters" filed: %d
- make the action appear in files and folders and restart nautilus.
- go to whatever file or folder you want and run the action we created. then
check /tmp/test. Is is empty !

here is the upstream bug i've reported

Thiago Teixeira (tvst) wrote :

Is there a solution to this, yet? None of my scripts work anymore...

Mike Durham (mdurhamesq) wrote :

I've found that %M doesn't work (passes nothing) in 64bit (Jaunty & Intrepid) but is ok in 32bit (Hardy & Intrepid)

Luigi Maselli (grigio) wrote :

I hate this regression!

It was OK on Intrepid 32bit and it is broken on Jaunty 32bit

Son (son.caokim) wrote :

I'm having this as well.
On Jaunty with an Acer Aspire One - 32 bits

Luigi Maselli (grigio) wrote :

I've seen a nacr update but this issue is still present

Didier Roche (didrocks) on 2009-04-13
Changed in nautilus-actions (Ubuntu):
assignee: nobody → Didier Roche (didrocks)
importance: Undecided → Medium
status: New → In Progress
Didier Roche (didrocks) on 2009-04-13
Changed in nautilus-actions (Ubuntu):
assignee: Didier Roche (didrocks) → nobody
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nautilus-actions - 1.4.1+svn521-0ubuntu2

nautilus-actions (1.4.1+svn521-0ubuntu2) jaunty; urgency=low

  * Fix %d parameter returning blank field and making most of scripts
    ununsable (LP: #341035)
    - debian/rules: add simplepatchsys include
    - add debian/patches/01_fix_%d_parameter_returning_blank_field.patch

 -- Didier Roche <email address hidden> Mon, 13 Apr 2009 10:11:03 +0200

Changed in nautilus-actions (Ubuntu):
status: Fix Committed → Fix Released
Scott Kitterman (kitterman) wrote :

JFTR, ack from motu-release. I accepted this.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers