unity-api-bugs team mailing list archive
-
unity-api-bugs team
-
Mailing list archive
-
Message #00596
[Bug 1227632] [NEW] Adds spaces when processing --xyz=%u args
Public bug reported:
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,
** Affects: upstart-app-launch
Importance: Undecided
Status: New
** Affects: upstart-app-launch (Ubuntu)
Importance: High
Status: New
** Changed in: upstart-app-launch (Ubuntu)
Importance: Undecided => High
** Also affects: upstart-app-launch
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to upstart-app-launch in Ubuntu.
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
Follow ups
References