Run should run the command trimmed

Bug #767750 reported by Robert Roth
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Wishlist
Didier Roche-Tolomelli
unity-lens-applications
Fix Released
Wishlist
Unassigned
unity (Ubuntu)
Fix Released
Undecided
Unassigned
Natty
Won't Fix
Undecided
Unassigned
unity-place-applications (Ubuntu)
Fix Released
Wishlist
Unassigned
Natty
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: unity

Test case:
Install unity-place-applications 0.2.46-0ubuntu3.1 from natty-proposed. Then logout and login again in the session.
- press alt +F2
- run 'gedit '
-> gedit should run

The command entered in the alt+f2 dialog is not trimmed, thus when running e.g. 'gedit ' with a space character at the end, I get an error in the gedit window about my home directory being a directory. Also not that running ' gedit' with a trailing space does not do anything.

Expected result: the command entered in the alt+f2 prompt should be trimmed of trailing and leading whitespace characters.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unity 3.8.10-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
NonfreeKernelModules: fglrx wl
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
Date: Thu Apr 21 00:25:46 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Robert Roth (evfool) wrote :
Changed in unity:
status: New → Confirmed
Changed in unity (Ubuntu):
status: New → Confirmed
Changed in unity:
milestone: none → 3.8.12
importance: Undecided → Wishlist
Changed in unity (Ubuntu):
importance: Undecided → Wishlist
Changed in unity:
assignee: nobody → Didier Roche (didrocks)
David Barth (dbarth)
Changed in unity:
milestone: 3.8.12 → 3.8.14
Changed in unity:
status: Confirmed → Fix Committed
Changed in unity (Ubuntu):
status: Confirmed → Fix Committed
affects: unity (Ubuntu) → unity-place-applications (Ubuntu)
Changed in unity-place-applications:
status: New → Fix Committed
importance: Undecided → Wishlist
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

wasn't assigned to the right component when fix uploaded:

unity-place-applications (0.2.46-0ubuntu4) oneiric; urgency=low

  * Cherry-pick some fixes:
    - Allow the Core category to be included under All Applications (and hence
      show up in Dash searches as well). This means that one can now find Help,
      Home Folder, Computer, and Network. The ommision of this xdg category was
      probably a relic of our netbook launcher past (LP: #758042)
    - Fix illegal XML in unity-place-applications.menu.in. xmllint is happy now.
      Patch courtesy Daniel Holbert (LP: #72152)
    - trim the alt + F2 command line (LP: #767750)
    - ensure we are matching files as files (no space in the command). This
      enables to launch gvim rrr:rrr.txt which is matched (LP: #776731)

description: updated
Changed in unity-place-applications:
status: Fix Committed → Fix Released
Changed in unity:
status: Fix Committed → Fix Released
Changed in unity-place-applications (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted unity-place-applications into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in unity-place-applications (Ubuntu Natty):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the proposed package, I've followed the test case and the proposed package indeed fixes the issue, marking this as verification-done, thanks all.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-place-applications - 0.2.46-0ubuntu3.1

---------------
unity-place-applications (0.2.46-0ubuntu3.1) natty-proposed; urgency=low

  * Cherry-pick some fixes:
    - Allow the Core category to be included under All Applications (and hence
      show up in Dash searches as well). This means that one can now find Help,
      Home Folder, Computer, and Network. The ommision of this xdg category was
      probably a relic of our netbook launcher past (LP: #758042)
    - Fix illegal XML in unity-place-applications.menu.in. xmllint is happy now.
      Patch courtesy Daniel Holbert (LP: #772152)
    - trim the alt + F2 command line (LP: #767750)
    - ensure we are matching files as files (no space in the command). This
      enables to launch gvim rrr:rrr.txt which is matched (LP: #776731)
 -- Didier Roche <email address hidden> Thu, 26 May 2011 15:25:53 +0200

Changed in unity-place-applications (Ubuntu Natty):
status: Fix Committed → Fix Released
Changed in unity (Ubuntu):
status: New → Fix Released
Revision history for this message
Rolf Leggewie (r0lf) wrote :

natty has seen the end of its life and is no longer receiving any updates. Marking the natty task for this ticket as "Won't Fix".

Changed in unity (Ubuntu Natty):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.