Bug report #12623

Project templates should be stored relative to config folder

Added by Paolo Cavallini about 5 years ago. Updated over 2 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Project Loading/Saving
Affected QGIS version:2.8.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:20740

Description

The path to project templates is currently stored absolute in the .ini config file. So when preparing a default config to be used with the --configpath option, the templates will be searched in the absolute (often wrong) directory, rather than in the relative one.
Better make absolute/relative optional, or follow the choice for project layers.

History

#1 Updated by Stefan Blumentrath about 5 years ago

The same applies to a lot of settings related to Processing (e.g. paths to providers like SAGA or GRASS) and also model or script folder.
Would be nice to be able to have variables available here or if paths to providers could be read from PATH...
That would make --configpath more portable between different computer (and possibly OSes).

#2 Updated by Giovanni Manghi about 3 years ago

  • Regression? set to No
  • Easy fix? set to No

#3 Updated by Paolo Cavallini over 2 years ago

  • Subject changed from Project templates should be store relative to config folder to Project templates should be stored relative to config folder
  • Status changed from Open to Feedback
  • Description updated (diff)

Seems OK now in QGIS 3.

#4 Updated by Giovanni Manghi over 2 years ago

  • Resolution set to fixed/implemented
  • Status changed from Feedback to Closed

Also available in: Atom PDF