unity-api-bugs team mailing list archive
-
unity-api-bugs team
-
Mailing list archive
-
Message #00597
[Bug 1227632] Re: Adds spaces when processing --xyz=%u args
** Branch linked: lp:~lool/upstart-app-launch/lp-1227632
--
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:
New
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