[Bug 3583] New: When creating Desktop Short Cuts for JNLP files, javaws links to path specified by Firefox (temporary)

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Mon May 7 12:12:11 UTC 2018


https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3583

            Bug ID: 3583
           Summary: When creating Desktop Short Cuts for JNLP files,
                    javaws links to path specified by Firefox (temporary)
           Product: IcedTea-Web
           Version: 1.7
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: NetX (javaws)
          Assignee: jvanek at redhat.com
          Reporter: brian.smith at ge.com
                CC: unassigned at icedtea.classpath.org

When I click to launch my Java WebApp, Firefox opens the "Open with"
application, window, and I select IcedTea.

Firefox, by design, saves the downloaded file in:
/tmp/mozilla_<username>0/filename.jnlp

IcedTea-Web then starts.

Starting security dialog thread
Using firefox's profiles file: /xahome/smithbr/.mozilla/firefox/profiles.ini
Found preferences file:
/xahome/smithbr/.mozilla/firefox/uzlmvck5.default/prefs.js
Read 74 entries from Firefox's preferences
Proceeding with jnlp
JNLP file location: /tmp/mozilla_smithbr0/jnlp.jsp

When the short cut is created on the desktop, it links to the JNLP file
location, which can disappear on reboot. (/tmp is tmpfs)

One additional annoyance.

When I click on the link again, it downloads another jnlp as "jnlp-1.jsp", so
when IcedTea launches again, it now sees jnlp-1.jsp, and creates a new desktop
icon, which causes havoc as well.

Would it be possible to move the downloaded jnlp into a .cache/javaws type of
directory, and then use this to create the shortcut?  Also, by purging the file
from /tmp/mozilla_USERNAME0/, you can ensure only 1 icon is created.

Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20180507/f2991d5f/attachment.html>


More information about the distro-pkg-dev mailing list