Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6570320

Java Web Start shortcut creation non functioning properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 6u1
    • deploy
    • x86
    • windows_xp

      J2SE Version (please include all output from java -version flag):
      java version "1.6.0_01"
      Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
      Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)

      Operating System Configuration Information (be specific):
      Windows XP PRO SP2
      IE 7.0

      Hardware Configuration Information (be specific):
      Sony VIAO laptop 2.8 Gz
      1.25 GB RAM


      Bug Description:
      Java Web Start shortcut creation non functioning properly.

      There are a few things here that I believe are all related. The shortcut seems to get created very agressively. No matter what setting I choose, it seems to want to create a shortcut. Earlier I had this set to "never allow" which, works correctly.

      We found these problem because we allow query strings to be sent to our app. What seems to happen is this:
      1) User clicks on a link
            Shortcut gets created
            -- Always without prompting.
            User does whatever...
            User exits.
      2) User clicks on shortcut to restart app
            Everything works as expected
            User does whatever...
            User exits.
      3) User clicks on a link to our app (same URL) that has a query string
            Everything works as expected...startup behavior of our app is customized from query string info
            User does whatever...
            User exits.
      4) User click on shortcut to restart app
            The shortcut, which used to work, now brings up the application as it did in case 3!
            -- This should not happen. The shortcut should not have been altered.

      Watching my desktop as our app starts, the shortcut (when started from a link), disappears and then reappears. Nothing else on the desktop is altered, so is appears that it is getting deleted and then re-created...however the position is unchanged.

      For general query string behavior, I am not sure if it should ever be remembered in the shortcut. However, if is does, it seems that the query string information should be remembered from when the first time it was created...not regenerated every time.

      Issues we need fixed (in order of priority)
      -------------------------------------------
      1) Query string should nto re-write shortcut
      2) Prompts should work as defined.

      ==============================================================================
      Steps to Reproduce (be specific):

      See above
      Additional information in regard to the no-prompt issue:
      With this in JNLP file:
                      <shortcut>
                              <desktop/>
                              <menu/>
                      </shortcut>
       
      Case 1
      ------
      1) In advanced options, set to "Prompt User"
      2) Delete test application from webstart cache via the control panel
      3) Click on a link to the jnlp file
      Errant Result -> Shortcut gets created without prompting.

      Case 2
      ------
      1) In advanced options, set to "Prompt User if hinted"
      2) Delete test application from webstart cache via the control panel
      3) Click on a link to the jnlp file
      Errant Result -> Shortcut gets created without prompting.

      If there is no shortcut hint in the JNLP file, case 2 does not prompt or create a shortcut. Case 1 creates shortcut regardless of the shortcut hint

            Unassigned Unassigned
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: