http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5439
Christopher Brooks <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Hours Worked| |0.25 Status|ASSIGNED |RESOLVED Resolution| |FIXED Remaining Hours|0.75 |0.0 --- Comment #2 from Christopher Brooks <[email protected]> 2011-07-11 19:23:50 PDT --- T The issue here is that under Mac OS X, we are now using FileDialog instead of JFileChooser because FileDialog has the native L&F. The problem was that we were not getting the directory from the FileDialog. There are probably other bugs here, it would be good to have a better defined testsuite. To replicate the bug: 1. Under Mac OS X, start up with FileDialog: java -Dptolemy.ptII.useFileDialog=true -classpath $PTII ptolemy.vergil.VergilApplication 2. File->New->Graph Editor 3. Actors -> IO -> Drag a FileReader in. 4. Double click on the FileReader, hit Browse. 5. Browse to a directory outside the ptII tree, select a text file. Formerly, the path would be incorrectly set to a path inside the ptII tree. For example, if I selected /Temp/foo/bar/bif.txt, then the path would end up as /Users/cxh/ptII/bif.txt -- Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ Kepler-dev mailing list [email protected] http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
