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 146538 - MySQL Server Properties dialog doesn't remember MySQL directory
Summary: MySQL Server Properties dialog doesn't remember MySQL directory
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: MySQL (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Rob Englander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-08 17:02 UTC by Patrick Keegan
Modified: 2008-09-23 18:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Keegan 2008-09-08 17:02:07 UTC
When you set out to register MySQL in the IDE, you need to fill paths to the admin tool, start command, and stop
command. These three things are all within the MySQL directory, but when you click each Browse button, it defaults to
your user dir. After you fill in one of the fields, the next Browse buttons should start from the folder that you last
chose.
Comment 1 David Vancouvering 2008-09-08 17:16:18 UTC
I agree, it would be nice to remember where you were last time you did a Browse...
Comment 2 Rob Englander 2008-09-22 15:47:42 UTC
Here's what I've done...

Any time you choose a file from the file browser using a Browse... button, the associated directory
is retained and used as the starting point for any subsequent Browse... click -- only if the Admin property
path is currently empty.  If the user navigates to a directory but then decides to Cancel, the directory is
not retained.  And if the user clicks Browse... for an Admin property that already has a path, that path is
used (which is how it works now).

Close the MySQL Properties dialog and the scenario starts over next time.

I considered retaining the default path so that next time the Properties dialog is launched it remembers where
you were.  Is that worthwhile?
Comment 3 Patrick Keegan 2008-09-22 15:53:20 UTC
That's definitely an improvement. I think it would be nice for it to remember the directory even after closing the
dialog, but I don't think doing that is as important as remembering it when you are in the dialog itself as most people
aren't going to return to that dialog often, if at all.
Comment 4 Rob Englander 2008-09-22 19:28:32 UTC
Will retain directory after closing dialog.  It's no problem.
Comment 5 Rob Englander 2008-09-22 20:42:02 UTC
4f1b79ee0e49
Comment 6 Roman Mostyka 2008-09-23 10:06:49 UTC
Verified with build 080923.
Comment 7 Quality Engineering 2008-09-23 18:01:38 UTC
Integrated into 'main-golden', will be available in build *200809231435* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/4f1b79ee0e49
User: Rob Englander <mindstream@netbeans.org>
Log: #146538 Remember the last directory where the user selected a path for MySQL admin property.