Log apps launched via unity-place-applications

Bug #632203 reported by Mikkel Kamstrup Erlandsen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GLib
Expired
Wishlist
Unity
Fix Released
Medium
Mikkel Kamstrup Erlandsen
unity-lens-applications
Invalid
Undecided
Unassigned
unity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The apps launched from Unity's applications' place are not logged in Zeitgeist. The ones launched from the launcher is - since it uses the libzeitgeist GIO module. The reason that the apps place isn't triggering the GIO module is because it uses the UnityAppInfoManager which constructs DesktopAppInfos in a way so that they don't have a desktop id (which causes the libzeitgeist gio module to discard the event since there isn't enough metadata to make it useful).

The Real Fix (TM) would be to have upstream GIO include the patch series here: https://bugzilla.gnome.org/show_bug.cgi?id=627836 and then UnityAppInfoManager can construct DesktopAppInfos just the way the libzeitgeist gio module likes it and everything would Just Work.

The slightly less elegant and less general solution would be to make the app launching in Unity's places code not use UnityAppInfoManager, but simply create the DesktopAppInfo itself in a way such that the appinfo has the desktop id set. - Or the totally gross hack would be to manually log the event directly from Unity's places code.

Related branches

Changed in unity:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → Medium
milestone: none → 2010-09-16
status: New → Triaged
Changed in glib:
status: Unknown → New
Changed in unity:
status: Triaged → Fix Committed
Changed in unity-place-applications:
status: New → Invalid
Changed in unity:
status: Fix Committed → Fix Released
Changed in glib:
importance: Unknown → Wishlist
Revision history for this message
Colin Watson (cjwatson) wrote :

unity (0.2.38-0ubuntu1) maverick; urgency=low

  * New upstream release:
    - Correct the offset of the quicklist so it doesn't jump to the right when
      expanding from a tooltip. Fixes (LP: #631446)
    - Log apps launched via unity-place-application (LP: #632203)
    - Fix launcher does not contract if a menu is open (LP: #631452)
    - Auto scroll speed is now corrected (LP: #633045)
    - Removes jittering when rubber band is in use on the launcher (LP: #632991)
    - Fix clicking on the right of the divider also triggers action on logo
      (LP: #636602)
    - Full i18n support (LP: #637128)
    - Avoids the crash on Super-key-shortcuts with places. (LP: #632460)
    - Pressing enter in search mode should activate the first result
      (LP: #620945)
    - Esc close the places view (LP: #599891)
    - Launcher shouldn't 'fold' when hovering on a quicklist (LP: #632079)
  * update debian/libunity0.symbols

 -- Didier Roche <email address hidden> Tue, 14 Sep 2010 20:11:57 +0200

Changed in unity (Ubuntu):
status: New → Fix Released
Changed in glib:
status: New → Confirmed
Changed in glib:
status: Confirmed → Expired
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.