JDK-5080623 : SubMenu option in jnlp file is not working as expected in solaris Gnome
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_9
  • CPU: other
  • Submitted: 2004-07-30
  • Updated: 2005-03-16
  • Resolved: 2005-03-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b28Fixed
Description
Bug Description:
----------------
SubMenu option in jnlp file is not working as expected in solaris Gnome.
The menu is not created completely and displayed in solaris Gnome but its working fine in windows.

Jdk-Info:
---------
java version "1.5.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta3-b59)
Java HotSpot(TM) Client VM (build 1.5.0-beta3-b59, mixed mode)

Steps to reproduce:
-------------------
1. Install or extract jre1.5.0 b59 on any solaris_9 testing system.
2. Invoke JavaControlPanel (jre1.5.0/bin/ControlPanel) and Select "Advance" tab and in "ShortCut Creation" property select "Allow Always" option and Apply and close.
2. Run following jnlp from http://client20.india.sun.com:8081/JK/ShortCut/ShortCut5.jnlp
3. PopUp Window will appear asking to grand permission for certificate issued by suresh click yes.
4. Check the ShortCut in Gnome Menu/Applications

only Mytest2 will appear

Actually it should be

My Test App ----- MyTest1 --- Mytest2 ----  UpdateReadMe on Soalris 1a
					    UpdateReadMe on Solaris 1b
					    UpdateReadMe on Solaris 1c

but now it displayes only MyTest2 on application Menu,same problem is not reproducible in WindowsXP Home.

###@###.### 2004-07-30

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
31-08-2004

EVALUATION The published documentation for the submenu attribute says only: (from dev guide): The shortcut element can contain the optional online attribute, and the two optional sub-elements, desktop and menu. (from jnlp specification): The optional submenu attribute can be used to indicate an application's preference for where to place the menu item, and can contain any string value. The actual implementation is that the submenu element must be a string that can be used as a submenu in the native system. To achive multiple nested submenu's, this may require seperate strings for seperate platforms. On windows, you can specify multiple nested sub-menus by seperating them with a slash ("/") the example given uses "My Test App/MyTest1/Mytest2" . this works as expected on Windows, but not on Solaris Gnome. We have to find out if the Gnome implementation can be made to install multiple sub-menus using some other format, and if so, document that it may be necessary to uses OS specific information block such as: <information> <shortcut online="true"> <menu submenu="...GNome form ..."/> </shortcut> </information> <information os="Windows"> <shortcut online="true"> <menu submenu="My Test Apps/MyTest1/MyTest2"/> </shortcut> </information> If it is not possible with the current Gnome implementation, we need to doc that and fix in mustang. We may need to doc this anyway since characters allowed in path elements may vary from os to os. ###@###.### 2004-07-30
30-07-2004