Bug report #17635
"Reloading QGIS" from the crash report dialog fails to reopen the project
|Affected QGIS version:||3.1(master)||Regression?:||No|
|Operating System:||Windows 10||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||25532|
I'm working on a project stored on the network and i get a crash
I click on the "Reload QGIS" button which is supposed to relaunch QGIS and reopen the project. Btw, this label is not really obvious that it would reopen the project. Maybe something like "Reload Project" instead?
Anyway... QGIS is relaunched but it fails to reopen the project as he tries to find it in the c:\osgeo4w\bin folder.
And in case of a path with spaces, it takes pieces of text for layers, returning "The layer is invalid: the layer xxx is invalid and could not be added to the project" in the messagebar.
#1 Updated by Harrissou Santanna about 3 years ago
- Affected QGIS version changed from master to 3.1(master)
Still true on 3.1
not only a file path containing a space is handled as different files but it also tries to open the file relative to C:/OSGEO4~1/bin instead of using the absolute path
Also note that it uses C:/ and not C://