← Back to team overview

unity-api-bugs team mailing list archive

[Bug 1227632] Re: Adds spaces when processing --xyz=%u args

 

Fix committed into lp:upstart-app-launch at revision 58, scheduled for
release in upstart-app-launch, milestone Unknown

** Changed in: upstart-app-launch
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Upstart Application Launcher.
https://bugs.launchpad.net/bugs/1227632

Title:
  Adds spaces when processing --xyz=%u args

Status in Upstart Application Launcher:
  Fix Committed
Status in “upstart-app-launch” package in Ubuntu:
  New

Bug description:
  Hi,

  When trying to launch music-app from music home scope on a music file, the resulting cmdline has superfluous space:
  /usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene /usr/share/music-app/music-app.qml --file= file:///home/phablet/Music/xyz.flac --desktop_file_hint=/usr/share/applications/music-app.desktop

  that is, --file=%u became two args, --file= and the URL

  I think this is in helpers.c/desktop_exec_parse() because it splits
  the string on % but joins it on " " instead of just joining the bits.

  Cheers,

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart-app-launch/+bug/1227632/+subscriptions


References