United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 5081170 ShortCuts are not arranged in the order mentioned in jnlp file.
5081170 : ShortCuts are not arranged in the order mentioned in jnlp file.

Details
Type:
Bug
Submit Date:
2004-07-31
Status:
Closed
Updated Date:
2005-04-05
Project Name:
JDK
Resolved Date:
2005-04-05
Component:
deploy
OS:
generic
Sub-Component:
webstart
CPU:
generic
Priority:
P4
Resolution:
Won't Fix
Affected Versions:
6
Fixed Versions:

Related Reports

Sub Tasks

Description
Bug Description:
----------------
ShortCuts are not arranged in the order mentioned in jnlp file when jnlp application is installed in Windows.

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

Steps to Reproduce:
-------------------
1. Install jre1.5.0 in WindowsXP Testing system.
2. Invoke JavaControlPanel and select all Security options in "Advance" tab.
3. Select "Allow Always" options in "ShortCut Creation".
4. Install following jnlp application "http://client20.india.sun.com:8081/JK/ShortCut/ShortCut5.jnlp"

check the shortcut created in Windows/Program Menu and compare the order with the attached jnlp file,In windows the shortcuts are arranged in Alphabetical order but in jnlp file the order is different.

<information os="Windows">
        <title>ShortCutTestCase1 on Windows</title>
        <vendor>Sun Microsystems, Inc.</vendor>
        <homepage href="homepage.html"/>
        <description kind="short">This is the test for related content on Windows</description>

                    <related-content href="readme.html">
                    <description kind="short">readme.html - native  content in cache </description>
                    *<title>UpdatedReadme on Windows 1a</title>*
                    </related-content>

                    <related-content href="readme.html">
                    <description kind="tooltip">readme.html - native  content in cache</description>
                    *<title>ChangedReadme on Windows 1b</title>*
                    </related-content>

                    <related-content href="readme.html">
                    <description kind="one-line">readme.html - native content in cache</description>
                    *<title>UpdatedReadme on Windows 1c</title>*
                    </related-content>

    <icon href="images/corn.jpg"/>
    <icon kind="splash" href="images/Splash.jpg"/>
    <shortcut online="true">         
    <desktop/>
    <menu submenu="My Test Apps/MyTest1/MyTest2"/>
    </shortcut>
    </information>

I have attached the snapshot of ShortCuts created in Windows/Program Menu for the same jnlp file and also the jnlp file(ShortCut5.jnlp) for verification.

###@###.### 2004-07-31

                                    

Comments
EVALUATION

we should try to get them in right order for mustang
###@###.### 2004-08-02

Refer to msdn article "http://support.microsoft.com/default.aspx?scid=kb;en-us;177482"
"Start menu and Favorites menu are not listed in alphabetical order".
The start menus are automatically sorted in alphabetical order. We can easily resort menu items in alphabetical order.

But Ms keeps the registry data structure of startmenu's menu order private.
And there's no Windows API declared to modify the menu order of startmenu on Windows.
In addition, JSR-58 doesn't mention the menu order. 
So, the feature can't be implemented in jws on windows.
(Although, we could do it in GNOME.)
###@###.### 2005-04-05 08:11:25 GMT
                                     
2005-04-05
WORK AROUND

Set menu names in alphabetical order.

<related-content href="readme.html">
   <title>1 UpdatedReadme on Windows 1c</title>
      <description kind="one-line">readme.html</description>
</related-content>
<related-content href="readme.html">
   <title>2 ChangedReadme on Windows 1b</title>
   <description kind="tooltip">readme.html</description>
</related-content>

###@###.### 2005-04-05 08:11:26 GMT
                                     
2005-04-05
PUBLIC COMMENTS

Related Contents menu shortcuts should be ordered as in the jnlp file.
                                     
2004-08-31
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
mustang


                                     
2004-08-31



Hardware and Software, Engineered to Work Together