-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix relative paths to SVG files in embedded projects #4426
Commits on May 13, 2017
-
Propagate path resolver through renderers, annotations, diagrams
This is necessary in order to be able to correctly translate between absolute and relative paths deeper in the code - e.g. paths to SVG files used in marker or fill symbols. Until now, relative paths were translated to absolute paths on the fly. This is now changed - paths to files should be always absolute within QGIS objects - and paths only get turned into relative when saving projects. When loading a project, relative paths are translated to absolute paths immediately. This should lower the overall confusion about relative/absolute paths within QGIS, and also allow having different base directories for relative paths (e.g. QML or QPT files may use relative paths to their directory - rather than to the project directory)
Configuration menu - View commit details
-
Copy full SHA for 8ffd91e - Browse repository at this point
Copy the full SHA 8ffd91eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e18cc1 - Browse repository at this point
Copy the full SHA 3e18cc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbe5996 - Browse repository at this point
Copy the full SHA bbe5996View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15fc16d - Browse repository at this point
Copy the full SHA 15fc16dView commit details -
Introduce QgsReadWriteContext that encapsulates QgsPathResolver
This should make the read/write methods more flexible if we need to give them extra context.
Configuration menu - View commit details
-
Copy full SHA for 23a7bd0 - Browse repository at this point
Copy the full SHA 23a7bd0View commit details -
API break update + read/write context in labeling and text renderer
This enables correct loading/saving of relative paths of SVG files for background of labels
Configuration menu - View commit details
-
Copy full SHA for 5bdae75 - Browse repository at this point
Copy the full SHA 5bdae75View commit details -
Remove "relative path" checkbox from svg selector widget
It is decided on different level whether files are saved with relative paths and internally now QGIS always uses absolute paths to SVG files.
Configuration menu - View commit details
-
Copy full SHA for c882f88 - Browse repository at this point
Copy the full SHA c882f88View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbb13f4 - Browse repository at this point
Copy the full SHA bbb13f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93bfa94 - Browse repository at this point
Copy the full SHA 93bfa94View commit details -
Bring back temporarily disabled projects upgrade + fix a loading bug
Loading bug: on the first project load, data-defined properties for diagram layer settings were not read as the default constructor did not populate the list of data-defined property definitions.
Configuration menu - View commit details
-
Copy full SHA for 8dd5886 - Browse repository at this point
Copy the full SHA 8dd5886View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfcfadc - Browse repository at this point
Copy the full SHA dfcfadcView commit details -
Configuration menu - View commit details
-
Copy full SHA for a4717e2 - Browse repository at this point
Copy the full SHA a4717e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40f683d - Browse repository at this point
Copy the full SHA 40f683dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 590526e - Browse repository at this point
Copy the full SHA 590526eView commit details