newly installed apps dont appear in applications unless unity is restarted

Bug #643298 reported by Omer Akram
40
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Mikkel Kamstrup Erlandsen
gnome-menus
Fix Released
Medium
unity-lens-applications
Invalid
Medium
Mikkel Kamstrup Erlandsen
gnome-menus (Ubuntu)
Fix Released
Medium
Unassigned
unity (Ubuntu)
Fix Released
Undecided
Unassigned
unity-place-applications (Ubuntu)
Invalid
High
Unassigned

Bug Description

if I install any application it does not appear in the applications place. after installing that app, if I logout and login again the app appears in its category

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Thanks for your awesome testing work Omer ;)

Omer, just a note, we try, in addition to upstream project (like unity-place-applications), to track the upstream status in "unity" upstream project too for milestone and so on. Thanks again :)

Changed in unity-place-applications:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

I was pretty sure i fixed this a few weeks ago, but I can confirm that it doesn't work here either...

Changed in unity:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → High
milestone: none → 2010-09-22
status: New → Triaged
Changed in unity-place-applications (Ubuntu):
status: New → Triaged
importance: Undecided → High
milestone: none → ubuntu-10.10
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

I looked into this, and my findings are quite odd...

 * WORKS: If you remove and app, it's removed from the apps place
 * WORKS: If you install an app which already in your local apt cache it will turn up in the apps place
 * NO WORKY: If you install an app that causes apt to download it, you can no longer see it in the apps place until you restart unity-applications-daemon (fx. by logging out)

Will look further into this. Any ideas are much welcome.

Changed in unity:
milestone: 2010-09-22 → 2010-09-24
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

More detetive work. I rebuild libgnome-menu with --enable-debug=yes and running it with MENU_VERBOSE=1 causes libgnome-menu to spill out massive amounts of debug data.

It shows that the newly installed .desktop file is indeed noticed. The menu tree is rebuild - but it doesn't pick up that new .desktop file in the menu tree.

So really, this bug is not in unity-place-files, but in libgnome-menu or something else related to this. Nonetheless I'll follow this rabbit hole until I reach the bottom :-)

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

I wrote a small test app that can reproduce the problem: http://paste.ubuntu.com/499129/

It reveals that the menu tree is not updated when apps are removed either. The reason that removals seem to work is that we have another layer of logic that catches this (Unity.AppInfoManager).

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

vuntz confirmed that this bug is also present in gnome-menus git master. I filed an upstream bug https://bugzilla.gnome.org/show_bug.cgi?id=630410.

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

I can confirm that the patch attached to the upstream bug fixes the problem here for me.

Changed in gnome-menus:
importance: Unknown → Medium
status: Unknown → New
Vish (vish)
Changed in gnome-menus (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in unity:
status: Triaged → Fix Released
Changed in unity-place-applications:
status: Triaged → Invalid
Changed in unity-place-applications (Ubuntu):
status: Triaged → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-menus - 2.30.3-0ubuntu2

---------------
gnome-menus (2.30.3-0ubuntu2) maverick; urgency=low

  * debian/patches/91_git_fix_cache_issues.patch:
    - Fix cache issues when adding new desktop file. This fixes newly installed
      apps dont appear in applications unless unity is restarted (LP: #643298)
 -- Didier Roche <email address hidden> Thu, 23 Sep 2010 21:56:25 +0200

Changed in gnome-menus (Ubuntu):
status: Triaged → Fix Released
Changed in gnome-menus:
status: New → Fix Released
Revision history for this message
Brian J. Cohen (brianjcohen) wrote :

I see this bug as being marked as "Fix Released". It's possible that what I'm seeing is just a different bug. Steps to reproduce:

1. Download any .deb package that ordinarily adds a launcher to the menus. I used the latest Google Chrome package from Google.

2. Install the package with `dpkg -i'.

3. Launcher does not appear in the Unity applications menu. You must restart Unity (I just logged out, and back in, to X) for it to appear.

Hope this helps. Keep up the good work!

Revision history for this message
Dmitry Kann (yktooo) wrote :

This bug isn't fixed, or there's a regression.

I've just installed VirtualBox from Oracle's Debian repository, but if I type 'virtual' in the search field it isn't listed. However, if I browse to "More Apps", I see it there.

Please reopen.

Changed in unity (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.