| Summary: | "Save As" for external files does not work as expected | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Andrey Loskutov <loskutov> | ||||
| Component: | Text | Assignee: | Andrey Loskutov <loskutov> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert | ||||
| Version: | 3.6 | ||||||
| Target Milestone: | 4.6 M5 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| See Also: |
https://git.eclipse.org/r/64250 https://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=b39c96b5b9ef219a62925929107ad06c6b1e8c74 |
||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Andrey Loskutov
Created attachment 259154 [details]
comparison before/after the patch
New Gerrit change created: https://git.eclipse.org/r/64250 Just validated that the original issue seem to be GTK specific (have no Mac) - on Windows 10 the file dialog shows right directory in any case (with/without patch). (In reply to Andrey Loskutov from comment #3) > Just validated that the original issue seem to be GTK specific (have no Mac) > - on Windows 10 the file dialog shows right directory in any case > (with/without patch). Moving to SWT. (In reply to Dani Megert from comment #4) > (In reply to Andrey Loskutov from comment #3) > > Just validated that the original issue seem to be GTK specific (have no Mac) > > - on Windows 10 the file dialog shows right directory in any case > > (with/without patch). > > Moving to SWT. Dani, FileDialog states in the javadoc, that the filter path argument must be a directory path. Here the client (editor) clearly violates this. Should SWT now make a breaking change and throw exceptions if this doesn't match, or should SWT parse and modify given argument, trying to resolve the path against file system? Also set/get will be not symmetrical anymore? (In reply to Andrey Loskutov from comment #5) > (In reply to Dani Megert from comment #4) > > (In reply to Andrey Loskutov from comment #3) > > > Just validated that the original issue seem to be GTK specific (have no Mac) > > > - on Windows 10 the file dialog shows right directory in any case > > > (with/without patch). > > > > Moving to SWT. > > Dani, FileDialog states in the javadoc, that the filter path argument must > be a directory path. Here the client (editor) clearly violates this. Sorry Andrey, I did not deeply look into it, just moved after I read "GTK specific". Gerrit change https://git.eclipse.org/r/64250 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=b39c96b5b9ef219a62925929107ad06c6b1e8c74 |