United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6192439 Java Web Start apps should not create submenus under GNOME menu if unnecessary
6192439 : Java Web Start apps should not create submenus under GNOME menu if unnecessary

Details
Type:
Bug
Submit Date:
2004-11-08
Status:
Closed
Updated Date:
2010-04-02
Project Name:
JDK
Resolved Date:
2005-10-14
Component:
deploy
OS:
linux
Sub-Component:
webstart
CPU:
x86
Priority:
P4
Resolution:
Duplicate
Affected Versions:
5.0
Fixed Versions:
6

Related Reports
Duplicate:

Sub Tasks

Description
FULL PRODUCT VERSION :
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)

A DESCRIPTION OF THE PROBLEM :
On Windows, it is common to see a cluttered Start Menu full of submenus with the names of programs. On Linux with GNOME, however, the situation is much nicer: all installed programs, almost without exception, place their program icons in one of the predefined GNOME menus: Accessories, Internet, Programming, etc.

Java Web Start applications with a <menu> entry break this platform convention by creating a submenu in the GNOME Applications menu for each program. This may be necessary for applications with lots of menu items (related-content items), but it could be avoided for applications with a single menu item.

Instead of creating a new menu, and then creating the single menu item inside it, the menu item should be added at the base of the Applications menu (where "Browse Filesystem" is, for example).

Also, I think JNLP files need to be able to specify what category their applications go into, but this is probably out of the scope of this report.

REPRODUCIBILITY :
This bug can be reproduced always.
###@###.### 2004-11-08 23:21:17 GMT

                                    

Comments
EVALUATION

jsr-56 doesn't mention the details of submenu string.
jsr-56 : "submenu attribute: The optional submenu attribute can be used to indicate an application's preference for where to place the menuitem, and can contain any string value."

In tiger & mustang, "My App Menu/Menu 1" will create a submenu "Menu 1" under "My App Menu".

We can extend the meaning of "submenu" to fix this bug.
For example:
"[%Accessories%|ACC]" means if category Accessories menu exists in os, create it, otherwise, use ACC instead. 
Btw: a menu name can't include "|]" on windows . 

###@###.### 2005-04-05 04:26:11 GMT

This bug will be fixed  with 5101866.
###@###.### 2005-04-22 09:46:42 GMT

5101866 gives a more smart shortcut creation  on GNOME desktop.
If defining submenu like "Games" , javaws will create a shortcut at menu Applications/Games.
We could use any existing application menu like "Games", "Internet", etc. 

###@###.### 2005-04-26 02:48:03 GMT
                                     
2005-04-05



Hardware and Software, Engineered to Work Together