notes-app fails to launch on unity8 with mir - unable to authenticate it

Bug #1235179 reported by Gerry Boland
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
notes-app
Fix Released
Undecided
Unassigned
notes-app (Ubuntu)
Fix Released
Critical
Ugo Riboni
Saucy
Won't Fix
Undecided
Unassigned

Bug Description

notes-app fails to launch on unity8 with mir. Unity with Mir authenticates apps based on their desktop file. If a process tries to connect to Mir, and is not clear to unity8 it has a desktop file associated, that connection will be rejected and the app probably crashes.

This is happening with notes-app.

Note in the SurfaceFlinger case, the --desktop_file_hint=/path/to/desktop/file.desktop is added in explicitly by upstart-app-launch scripts. But this is not done for Mir.

Would suggest using this line in the desktop file, instead of the wrapper script:
Exec=qmlscene /usr/share/notes-app/Notes.qml %u (if they take a URL)

Related branches

Revision history for this message
Olivier Tilloy (osomon) wrote :

I’m not really sure why there is a wrapper script to launch the app in the first place. Maybe for autopilot tests?

Anyway, how come unity8 fails to associate /usr/bin/notes-app to /usr/share/applications/notes-app.desktop ?

Revision history for this message
Bill Filler (bfiller) wrote :

@ugo
please make the change per greyback's request

Changed in notes-app (Ubuntu):
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Ugo Riboni (uriboni)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:notes-app at revision 207, scheduled for release in notes-app, milestone ubuntu-13.04-month-5

Changed in notes-app:
status: New → Fix Committed
Ugo Riboni (uriboni)
Changed in notes-app (Ubuntu):
status: Confirmed → Fix Committed
Ugo Riboni (uriboni)
Changed in notes-app:
status: Fix Committed → Fix Released
Changed in notes-app (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Rolf Leggewie (r0lf) wrote :

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

Changed in notes-app (Ubuntu Saucy):
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.