Bug 52097 - Save As should point to same folder that was used to open a file if MRU list is used
Save As should point to same folder that was used to open a file if MRU list ...
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
Nightly (Please specify date)
All All
: P4 minor (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2011-10-27 12:17 UTC by Roman Bargezi
Modified: 2011-10-27 17:27 UTC (History)
1 user (show)



Attachments
Proposed patch for build 1182604 (1.67 KB, patch)
2011-10-27 12:19 UTC, Roman Bargezi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Bargezi 2011-10-27 12:17:58 UTC
When loading a file using the MRU, the Save As dialog does not open in the same directory as the file was opened from. This is especially annoying when exiting and being prompted with the file chooser pointing to the wrong location.

Here some reproduction steps:
- Start JMeter (e.g. from the "bin" directory)
- Open a .jmx file from the MRU list in the File menu (make sure the file is not in your start-up directory)
- Change something in the test
- Exit the application
- Choose yes when prompted to save
==> The file chooser will open in the start-up directory and not where the file was originally loaded from
Comment 1 Roman Bargezi 2011-10-27 12:19:29 UTC
Created attachment 27853 [details]
Proposed patch for build 1182604
Comment 2 Philippe Mouawad 2011-10-27 17:27:14 UTC
Applied, thanks, find it very useful. 


Date: Thu Oct 27 17:24:44 2011
New Revision: 1189877

URL: http://svn.apache.org/viewvc?rev=1189877&view=rev
Log:
Bug 52097 - Save As should point to same folder that was used to open a file if MRU list is used

Modified:
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/gui/action/Save.java
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/gui/util/FileDialoger.java
   jakarta/jmeter/trunk/xdocs/changes.xml