space in name field causes failure of media player interface to export
Bug #1031933 reported by
Alex Launi
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Sound Menu |
Invalid
|
High
|
Alex Launi | ||
WebApps: libunity-webapps |
Invalid
|
Medium
|
Alex Launi | ||
libunity |
Fix Released
|
High
|
Alex Launi | ||
indicator-sound (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
libunity (Ubuntu) |
Fix Released
|
High
|
Alex Launi |
Bug Description
Unity.init({ name: "My Webapp", ...});
works and will create a launcher icon/context/etc however if it fails when using the MediaPlayer API. The interface gets created on the context daemon bus, but the needed mpris bus does not get exported. This behaviour is NOT exhibited if that is modified to Unity.init({ name: "MyWebapp", ...});
Related branches
lp:~alexlauni/libunity/lp1031933
- Conor Curran (community): Approve
-
Diff: 16 lines (+6/-0)1 file modifiedsrc/unity-sound-menu-mpris.vala (+6/-0)
visibility: | private → public |
Changed in libunity-webapps: | |
assignee: | nobody → Alex Launi (alexlauni) |
importance: | Undecided → Medium |
Changed in indicator-sound: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in libunity-webapps: | |
status: | New → Confirmed |
Changed in indicator-sound: | |
assignee: | nobody → Conor Curran (cjcurran) |
importance: | Medium → High |
Changed in indicator-sound (Ubuntu): | |
status: | New → Confirmed |
Changed in libunity-webapps: | |
assignee: | Conor Curran (cjcurran) → Alex Launi (alexlauni) |
Changed in libunity: | |
status: | Confirmed → Fix Committed |
Changed in libunity: | |
milestone: | 5.14.0 → 6.8.0 |
Changed in libunity: | |
status: | Fix Committed → Fix Released |
no longer affects: | libunity (Ubuntu Quantal) |
Changed in libunity (Ubuntu): | |
status: | New → Fix Released |
assignee: | nobody → Alex Launi (alexlauni) |
importance: | Undecided → High |
To post a comment you must log in.
Looking over the libunity code at the moment, the entry point is
public MusicPlayer (string desktop)
Which internally this desktop string is used create a new DesktopAppInfo
http:// www.valadoc. org/#!api= gio-unix- 2.0/GLib. DesktopAppInfo. DesktopAppInfo
Going on the spec passing in names of apps won't work, we need the name of the desktop file.