Cannot open .geo file through the windows file association
Closed this issue · 4 comments
When trying to open a .geo file directly from the windows file explorer, GeoEasy cannot open the file if the path contains any whitespaces. The file path received from the shell seems to be split up at every whitespace character, and the programs attempts to load each part individually. This is inconsistent with the regular Load function of the File menu, where such spaces cause no issues.
Eg. path D:\Test_folder\folder with space\testgeo.geo
OS: Windows 10
GeoEasy version: 3.2.1
I would speculate that the issue may be caused by the ability to load multiple files at once through the file browser from the File menu of the main window.
New binary development version is available on http://digikom.hu/english/geo_easy_e.html.
Please test it.
I tested the new version, and the file association works without issue.
The only inconsistency now is that the log window does not show the file was opened.
But I guess this is not really a big deal.
I ran into another bug though, concerning the saving of parameters. Should I open a new issue for that?
@MrClock8163 say:
I ran into another bug though, concerning the saving of parameters. Should I open a new issue for that?
Necessarily. (commits with fixes are tied to issues)
I understand that. The reason I asked is because the issue only arises when trying to save the parameters after opening a file through the file association.
But very well, I will open a new issue then.