Bug report #19672
QLR files are not stored with absolute paths even though the project setting is changed to absolute paths
Status: | Open | ||
---|---|---|---|
Priority: | High | ||
Assignee: | - | ||
Category: | Unknown | ||
Affected QGIS version: | 3.6.2 | Regression?: | Yes |
Operating System: | Windows | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 27497 |
Description
Qlrfiles are not stored with absolute paths even though the project setting is changed to absolute paths.
I do the following in QGIS 3.2 (Windows):
- In project settings change the setting to store absolute paths and not relative.
- Save the QGIS-project
- Add a shapefile
- Right click on the shapefile in the layer panel and select Export --> Save as Layer Definition File
When I open the qlrfile in a text editor, I can see that the qlr-file is stored with relative paths not absolute paths (see picture attached)
(I have checked that the absolute paths are used in the QGIS-projectfile)
When I save a qlrfile in QGIS 2.18.23, where the paths are changed to absolute in the project settings, the paths in the qlr-file is saved as absolute paths (see picture attached).
Tested with QGIS 3.2 and QGIS 3.3.0-48
Related issues
History
#1 Updated by Giovanni Manghi about 6 years ago
- Regression? changed from No to Yes
- Category changed from Data Provider to Unknown
#2 Updated by Paolo Cavallini almost 6 years ago
Could you please check with current release?
Thanks.
#3 Updated by Giovanni Manghi almost 6 years ago
- Status changed from Open to Feedback
Paolo Cavallini wrote:
Could you please check with current release?
Thanks.
Please change status to "feedback" when needed.
#4 Updated by Filip Mahieu almost 6 years ago
Tested on 3.4.1: problem stil exists..
#5 Updated by Giovanni Manghi almost 6 years ago
Filip Mahieu wrote:
Tested on 3.4.1: problem stil exists..
current release is 3.4.3
#6 Updated by Mie Winstrup almost 6 years ago
Tested with QGIS 3.4.3 - and now it works.
Thanks alot for fixing this.
#7 Updated by Giovanni Manghi almost 6 years ago
- Status changed from Feedback to Closed
- Resolution set to fixed/implemented
#8 Updated by Giovanni Manghi over 5 years ago
- Priority changed from Normal to High
- Subject changed from QGIS 3.2: Qlrfiles are not stored with absolute paths even though the project setting is changed to absolute paths. to QLR files are not stored with absolute paths even though the project setting is changed to absolute paths
- Status changed from Closed to Open
- Resolution deleted (
fixed/implemented)
not fixed in both 3.4.5 and 3.6.
#9 Updated by Giovanni Manghi over 5 years ago
- Duplicated by Bug report #21515: Qlrfiles are not stored with absolute paths even though the project setting is changed to absolute paths. added
#10 Updated by Mie Winstrup over 5 years ago
Yes, the problem still exists in QGIS 3.6.2.
#11 Updated by Giovanni Manghi over 5 years ago
- Affected QGIS version changed from 3.2.2 to 3.6.2