Bug 135429

Summary: "Documentation" Submenu does not appear after package installation
Product: Red Hat Enterprise Linux 4 Reporter: John Ha <jha>
Component: redhat-menusAssignee: Seth Nickell <snickell>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: adstrong, dff, jturner, mikem
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-04 12:03:03 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:
Bug Depends On:    
Bug Blocks: 135876    

Description John Ha 2004-10-12 17:20:43 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Gecko/20040929 Epiphany/1.4.0

Description of problem:
I'm trying to create .desktop entries for the documentation packages
for the RHEL 4 Documentation CD. The current .desktop entry does not
show up in a "Documentation" submenu of the Main Menu, as it did in
previous releases. For example, the RPM that I built in beehive:

/misc/redhat/beehive/comps/docs/4E/rhel-ig-x8664-multi-en/4-1/noarch/rhel-ig-x8664-multi-en-4-1.noarch.rpm

installs the .desktop file on the users local system:

/usr/share/applications/rhel-ig-x8664-en.desktop

And here's the contents of that .desktop file:

[Desktop Entry]
Name=Installation Guide for x86, Itanium, AMD64 and Intel EM64T
Comment=Read about installing Red Hat Enterprise Linux
Exec=htmlview file:/usr/share/doc/rhel-ig-x8664-multi-en-4/index.html
Icon=//usr/share/doc/rhel-ig-x8664-multi-en-4/docs.png
Categories=Documentation;X-Red-Hat-Base;
Type=Application
Encoding=UTF-8
Terminal=false



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


How reproducible:
Always

Steps to Reproduce:
1. Create a documentation package specfile with a .desktop entry that
uses "Categories=Documentation;X-Red-Hat-Base;"
2. Build the RPM
3. Install the RPM.

Actual Results:  No "Documentation" submenu appears in the main menu
when a documentation package is installed.

Expected Results:  A "Documentation" submenu should appear that
includes a menu entry for any documentation packages installed on the
system.

Additional info:

Comment 1 Seth Nickell 2004-11-01 17:07:47 UTC
I'm not sure how to handle this, but the number of submenus is tightly
controlled and I don't think we should have a "Documentation" submenu
under the "Applications" menu.

Comment 4 Seth Nickell 2004-11-03 21:44:50 UTC
What items would be in this menu?

Comment 5 John Ha 2004-11-04 18:34:15 UTC
Technically, any items that use the
Categories=Documentation;X-Redhat-Base;" would use it.

For our purposes, all the Red Hat Enterprise Linux OS and product
manuals that we create RPMs for will install its files in
/usr/share/doc/<manual>/, and will create a desktop file in the menus
that calls htmlview.

Comment 6 Seth Nickell 2004-11-04 20:11:47 UTC
Sorry, let me rephrase. What are the specific menu items you are
considering for RHEL4?

Comment 9 Seth Nickell 2004-11-15 17:05:45 UTC
OK, added a patch to the RHEL-4 redhat-menus that should make this
work, but I don't know how to get it moved into the build.

Comment 11 John Ha 2004-11-23 22:39:26 UTC
I can confirm that the "Documentation" subdirectory does appear in the
Applications menu when a documentation RPM is installed. Thank you for
your work on this issue :)

Comment 12 Jay Turner 2004-12-04 12:03:03 UTC
redhat-menus-3.7.1-2 is included in re1201.0.  Closing out.