Bug 184735

Summary: Main Menu - 3rd party applications should have improved logic about what default actions are enabled with their main menu entries
Product: [openSUSE] openSUSE 11.2 Reporter: Eric Ward <eward>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: captain.magnus, forgotten_CRPsQFwJ3b, sshaw, vuntz
Version: Final   
Target Milestone: Factory   
Hardware: Other   
OS: openSUSE 10.3   
Whiteboard: gnomeup-gnome-main-menu
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 341831    
Attachments: Patch proposed
Updated patch

Description Eric Ward 2006-06-13 23:04:03 UTC
Build - SLED10 1308

Problem -
Main Menu actions like "Uninstall" and "Upgrade" do nothing with 3rd party applications like Google Earth and Google Picasa entries.

Steps to Reproduce -
- Download and install either Google Earth for Linux or Google Picasa
http://picasa.google.com/linux/thanks-other.html
http://earth.google.com/download-earth.html
- After the installation, start the Google application. By doing so an entry will be added to the "Recently Used Applications"
- Right click on the Google application's main menu entry item and select the "Uninstall" or "Upgrade" action. Notice how the action fails and no feedback is given to the end user.

Expected Behavior -
Since we can't predict how 3rd party applications will be packaged and installed, we may need to be proactive and implement some improved logic so that only applicable actions are available for the various main menu entries.
Comment 2 Forgotten User CRPsQFwJ3b 2007-12-19 00:03:01 UTC
Created attachment 188149 [details]
Patch proposed

	* application-tile.c: Use get_package_name_from_desktop_item
	to determine if the Install/Uninstall actions should be present.
Comment 3 Forgotten User CRPsQFwJ3b 2007-12-19 00:35:05 UTC
Created attachment 188152 [details]
Updated patch

I forgot to free up the package name.

For some reason this patch slows down a bit the reordering of the tiles, which imho is kinda strange, because in theory this would mean that they are recreated?
Comment 4 JP Rosevear 2008-01-22 00:36:33 UTC
For scott to push upstream.
Comment 5 Magnus Boman 2008-04-30 02:55:55 UTC
Federico, did this one make it in?
Comment 6 Vincent Untz 2008-06-11 19:35:28 UTC
Looks like the patch never got committed? At least, I can't see it in svn nor in the package. Would be nice to have it committed...
Comment 7 Vincent Untz 2012-05-15 16:58:48 UTC
Sorry for the spam. I'm mass-closing gnome-main-menu/slab bugs: gnome-main-menu has gone unmaintained upstream because it's not usable in GNOME 3, and is not shipped since 12.1. I don't expect any maintenance updates for it in 11.4 either.