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 197063 - Option to restore 6.8 initial directory choice of File > Open
Summary: Option to restore 6.8 initial directory choice of File > Open
Alias: None
Product: utilities
Classification: Unclassified
Component: Open File (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Jaroslav Havlin
Keywords: UI
Depends on:
Blocks: 146330
  Show dependency tree
Reported: 2011-03-24 19:48 UTC by Jesse Glick
Modified: 2011-09-01 15:55 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2011-03-24 19:48:43 UTC
See bug #146330 comment #10. Specifically the intent is for the default directory in the file chooser to be set to the parent of the selected file.
Comment 1 Jesse Glick 2011-03-24 20:06:59 UTC
In core-main #d93590275223 (for post-7.0 builds) I introduced a flag -J-Dnetbeans.openfile.197063=true which restores the 6.8 behavior for the more limited case that the file selection is in fact an open editor window (as opposed to e.g. an accidental node selection in the Projects tab). This would likely not be triggered in e.g. wobster's use case of setting up a tool, but it will be triggered when you probably want it - when browsing files located somewhere arbitrary on disk, if you ask to open a new file you probably are interested in something nearby. (Emacs's C-x C-f sensibly works this way.) If the flag proves desirable enough, a GUI option might be useful, though I am not sure where you would put it or what you would label it; or this could be the standard behavior.
Comment 2 Quality Engineering 2011-03-25 09:51:22 UTC
Integrated into 'main-golden', will be available in build *201103250400* on (upload may still be in progress)
User: Jesse Glick <>
Log: #197063: File > Open should start from edited file where applicable.
Currently controlled just by a system option.