This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 138271 - Bugs in handling of Webstart splash screen, icons
Summary: Bugs in handling of Webstart splash screen, icons
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Java Webstart (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P2 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-25 19:19 UTC by _ gtzabari
Modified: 2010-01-11 04:29 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2008-06-25 19:19:28 UTC
dev build 200806111204

1) Properties -> Application -> Splash Screen. When one specifies a filename with spaces in it, Netbeans does not encode
them into %20. As a result Webstart does not find the splash screen and the default one is displayed instead. I believe
the same is true for Properties -> Application -> Webstart -> Icon

2) For both these input fields, clicking on "Browse" brings up a JFileChooser. This chooser has two problems:

a) When it pops up, the default directory should be equal to the same directory of the existing splash screen, instead
it points to the user home directory so so every time you have to navigate back to the correct directory.

b) it accepts directories when it shouldn't so if you type the directory of the existing splash screen and hit ENTER (to
browse its contents) it instead closes and returns the directory name without a filename.
Comment 1 Milan Kubec 2008-07-04 13:23:41 UTC
2 b) fixed.

http://hg.netbeans.org/main/rev/6564768aaf7a

Comment 2 Quality Engineering 2008-07-05 04:05:01 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #300 build
Changeset: http://hg.netbeans.org/main/rev/6564768aaf7a
User: Milan Kubec <mkubec@netbeans.org>
Log: #138271: filechoosers for icons should not accept folders
Comment 3 Milan Kubec 2009-10-05 13:36:45 UTC
Ad 1) the path doesn't have to be encoded because the image is copied to dist folder during build, so there won't be any
path in final jnlp file, just the name.

Ad 2a) changing the rest of the issue to enhancement.
Comment 4 Antonin Nebuzelsky 2010-01-11 04:29:09 UTC
Changing the default component owner to tzezula.