New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File dialog locations #1379
File dialog locations #1379
Commits on Jun 15, 2020
-
file dialog: use ./ as start dir by default
This swaps ~/ and ./ as the default directory. I have also made / the failover if both of those error. That *shouldn't* happen though. Note that / should be safe even on Windows, since NT supports POSIX-style paths. `/` should expand to NTFS's root, which is almost always `C:\`. XXX: might be worth setting the failover dir in the platform driver. `/` is probably not a good failover choice for iOS, although I'm not sure the file dialog even makes sense there, since they have their own system one? I'm not an iOS dev, so I'm not sure.
Configuration menu - View commit details
-
Copy full SHA for 9ec1249 - Browse repository at this point
Copy the full SHA 9ec1249View commit details -
file dialog: Add ShowFile*At methods
This adds the concept of a "starting directory", which may be set with a new setter method. If there is a problem with this directory, or it is an empty string, then the CWD is preferred, followed by the user home, followed by `/`. This also adds two new utility methods, ShowFileOpenAt, and ShowFileSaveAt which allow the starting directory to be explicitly set as arguments. This should not break the existing API.
Configuration menu - View commit details
-
Copy full SHA for d0e337a - Browse repository at this point
Copy the full SHA d0e337aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5561ca - Browse repository at this point
Copy the full SHA c5561caView commit details -
file dialog: break out effectiveStartingDir
Per @andydotxyz I have moved the logic to calculate the starting directory for the file dialog widget to it's own function.
Configuration menu - View commit details
-
Copy full SHA for db857e1 - Browse repository at this point
Copy the full SHA db857e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fbdb2f - Browse repository at this point
Copy the full SHA 6fbdb2fView commit details
Commits on Jun 16, 2020
-
break out just effectiveStartingDir
This implements just the effectiveStartingDir() and a basic test from PR fyne-io#1108. It does provide the ability to set a custom starting dir. Cherry picked from fyne-io#1111 to fyne-io#1108 to avoid future merge conflicts.
Configuration menu - View commit details
-
Copy full SHA for be9c018 - Browse repository at this point
Copy the full SHA be9c018View commit details -
Configuration menu - View commit details
-
Copy full SHA for a20d4ed - Browse repository at this point
Copy the full SHA a20d4edView commit details
Commits on Sep 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ec1f970 - Browse repository at this point
Copy the full SHA ec1f970View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7794089 - Browse repository at this point
Copy the full SHA 7794089View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ee7b21 - Browse repository at this point
Copy the full SHA 7ee7b21View commit details
Commits on Sep 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7a4a4a5 - Browse repository at this point
Copy the full SHA 7a4a4a5View commit details
Commits on Sep 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 78c6984 - Browse repository at this point
Copy the full SHA 78c6984View commit details -
Configuration menu - View commit details
-
Copy full SHA for 689a256 - Browse repository at this point
Copy the full SHA 689a256View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8a2269 - Browse repository at this point
Copy the full SHA e8a2269View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59c5fb7 - Browse repository at this point
Copy the full SHA 59c5fb7View commit details
Commits on Sep 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for de97723 - Browse repository at this point
Copy the full SHA de97723View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc607aa - Browse repository at this point
Copy the full SHA bc607aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d39cfd - Browse repository at this point
Copy the full SHA 4d39cfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d46f9ff - Browse repository at this point
Copy the full SHA d46f9ffView commit details
Commits on Sep 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 210fe34 - Browse repository at this point
Copy the full SHA 210fe34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2916628 - Browse repository at this point
Copy the full SHA 2916628View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c055c7 - Browse repository at this point
Copy the full SHA 9c055c7View commit details -
Merge pull request #1 from PucklaMotzer09/file_dialog_locations_fixes
Fix some issues related to ListableURI and dialog
Configuration menu - View commit details
-
Copy full SHA for f3e0660 - Browse repository at this point
Copy the full SHA f3e0660View commit details
Commits on Sep 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 347e49a - Browse repository at this point
Copy the full SHA 347e49aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5681882 - Browse repository at this point
Copy the full SHA 5681882View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60a46e4 - Browse repository at this point
Copy the full SHA 60a46e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7a6dd8 - Browse repository at this point
Copy the full SHA b7a6dd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20cbea5 - Browse repository at this point
Copy the full SHA 20cbea5View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc79d37 - Browse repository at this point
Copy the full SHA dc79d37View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5ce136 - Browse repository at this point
Copy the full SHA d5ce136View commit details
Commits on Oct 6, 2020
-
Merge pull request #2 from PucklaMotzer09/file_dialog_locations
File dialog locations
Configuration menu - View commit details
-
Copy full SHA for ac81a66 - Browse repository at this point
Copy the full SHA ac81a66View commit details
Commits on Oct 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 45233fe - Browse repository at this point
Copy the full SHA 45233feView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae3b91f - Browse repository at this point
Copy the full SHA ae3b91fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b5c3a3 - Browse repository at this point
Copy the full SHA 5b5c3a3View commit details
Commits on Oct 9, 2020
-
Merge branch 'file_dialog_locations' of git://github.com/charlesdanie…
…ls/fyne into file_dialog_locations
Configuration menu - View commit details
-
Copy full SHA for f57c675 - Browse repository at this point
Copy the full SHA f57c675View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1076d2b - Browse repository at this point
Copy the full SHA 1076d2bView commit details
Commits on Oct 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d3d7f45 - Browse repository at this point
Copy the full SHA d3d7f45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01b0988 - Browse repository at this point
Copy the full SHA 01b0988View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ed9a9e - Browse repository at this point
Copy the full SHA 4ed9a9eView commit details -
Move StartingLocation to SetLocation to be more generally useful
Also move setDirectory to setLocation to be consistent
Configuration menu - View commit details
-
Copy full SHA for c64e743 - Browse repository at this point
Copy the full SHA c64e743View commit details -
Configuration menu - View commit details
-
Copy full SHA for aeea2b7 - Browse repository at this point
Copy the full SHA aeea2b7View commit details