Bug 99037

Summary: Preferred Apps Framework (was Wanted: Generic "E-mail" item in Internet menu)
Product: [Retired] Red Hat Linux Reporter: Toralf <bugzilla>
Component: redhat-menusAssignee: Havoc Pennington <hp>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: mitr
Target Milestone: ---Keywords: FutureFeature, MoveUpstream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-07-12 16:25:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Toralf 2003-07-12 11:14:32 UTC
Description of problem:
The Internet menu should perhaps contain a button "E-mail"/"Mail User
Agent"/"Mailer GUI"/whatever that would start the user's preferred application,
just like the web browser entry is supposed to start the "preferred" web browser
(Presumably. The current version starts mozilla regardless of the user settings,
of course, but there is a separate bugzilla entry on that.)

The .desktop entry would have an "Exec" pointing to something like:

#!/bin/sh

GNOME_MAILER="`gconftool-2 -g /desktop/gnome/url-handlers/mailto/command | cut
-d ' ' -f 1`"

if [ -n "$GNOME_MAILER" ]
then
  exec $GNOME_MAILER
else
  exec mozilla -mail
fi


Version-Release number of selected component (if applicable):
0.38-1

Comment 1 Havoc Pennington 2003-07-12 14:47:39 UTC
The naming convention is supposed to be "Mozilla Web Browser", 
"Evolution Email", etc., including the specific app name, which we can't 
do with a generic entry. Some menu items don't follow this convention, 
sometimes on purpose (Calculator, too insignificant to have a name), 
but sometimes it's a bug.

Anyway, it's deliberate that the web browser entry is now always mozilla
rather than being genericized.

If we had a solid "preferred applications" setting somewhere, then the way to do
this would be to rotate the menu item for your preferred browser into the menu.
e.g. if you preferred Mozilla, then you would get "Mozilla Web Browser" and 
if you preferred Galeon you would get "Galeon Web Browser"

But we don't have this, and it has to happen upstream because of the 
architectural/long-term impact.


Comment 2 Toralf 2003-07-12 16:08:02 UTC
Fair enough. A couple of more though:

1. There are currently two entries for the Mozilla web browser; one directly
under "Internet Applications", one under "More Internet Applications". The
former is installed by redhat-menus package, the latter by mozilla itself. Seems
to me that a cleanup is needed.

2. Preferences does have a "Preferred Applications". If the settings have no
effect, this entry should probably be removed.

Comment 3 Havoc Pennington 2003-07-12 16:25:01 UTC
1. I'm 99% sure is already filed as a separate bug report
2. is GNOME-specific and doesn't really do the right thing 
   (it changes what browser is launched if you click on on url 
   in gnome apps, but doesn't affect the menus)