Bug 135429 - "Documentation" Submenu does not appear after package installation
Summary: "Documentation" Submenu does not appear after package installation
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: redhat-menus
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Seth Nickell
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks: 135876
TreeView+ depends on / blocked
 
Reported: 2004-10-12 17:20 UTC by John Ha
Modified: 2014-08-04 22:15 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-12-04 12:03:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.