[GLASSFISH-6231] GFv3Prelude: specifying instalation directory: poor user experience Created: 22/Sep/08  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: installation
Affects Version/s: V3
Fix Version/s: not determined

Type: Improvement Priority: Major
Reporter: Joe Di Pol Assignee: Snjezana Sevo-Zenzerovic
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: All
Platform: Macintosh

Issuezilla Id: 6,231


When installing GFv3 Prelude, the default installation directory
is $HOME/glassfishv3-prelude. That's cool. But the user experience
for changing this install location could be better. Of course I
could type in whatever I want – but that's sooooo 80's.

For example, let's say I want to install into $HOME/Desktop/glassfishv3-prelude
and I want to use the "..." file browse dialog. I have to do this:

1. Click "..."
2. Navigate to my home directory and select (but not double click) "Desktop"
3. Click "Chose"
4. Click the Installation Directory text field
5. Move my hands to the keyboard and append "/glassfishv3-prelude"
to the text field.

If I'm too hasty, and I don't do steps 4 and 5, then I end up with the glassfish
install spattered over my Desktop. Ugh. The file browse dialog also does
not give me the opportunity to do a "New" and create glassfishv3-prelude
while in the dialog. Something that I'm used to seeing in most file selection

The installer should optimize for the common case, and aid the user in
avoiding stupid mistakes (like installing directly into Desktop).
How about his for a heuristic:

When the installer gets the path back from the file dialog it checks
if the chosen directory is empty or not:

If the directory is empty, then use the path unchanged.

If the directory is not empty, then append "glassfishv3-prelude" to it.
Since we know it is unlikely the user wants to install into a non-empty
installation directory.

In the outside chance the user really did want to install into a
non-empty directory, then they can adjust the path in the fill-in field
by deleting the "glassfishv3-prelude".

So now for my use-case I no longer must do steps #4 and 5, cuz the installer
has done them for me.

GlassFish Version: V3Prelude B25
Mac OS X: 10.5.4 intel

Comment by scatari [ 23/Dec/08 ]

A better way to handle it would be to pop-up a dialog if the installation directory is non-empty asking the
user to confirm their choice, instead of adding text to the user selected path.

Comment by scatari [ 23/Dec/08 ]
      • Issue 6412 has been marked as a duplicate of this issue. ***
Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

Generated at Sat Feb 13 11:58:29 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.