-
-
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
Auto upgrade SVG and text annotations to annotation layer items on project load #58405
Auto upgrade SVG and text annotations to annotation layer items on project load #58405
Conversation
a3155e5
to
2738289
Compare
The new Picture annotation item should be used instead
The new Text in Rect annotation item should be used instead
And avoid a bunch of duplicate code
2738289
to
bf3a1d6
Compare
@nyalldawson A documentation ticket will be opened at https://github.com/qgis/QGIS-Documentation when this PR is merged. Please update the description (not the comments) with helpful description and screenshot to help the work from documentors. Thank you! |
This pull request has been tagged for the changelog.
You can edit the description. Format available for credits
Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work.
@nyalldawson |
When loading old projects, any of the old SVG and text annotations will automatically be converted to the newer picture and rectangular text annotation item types.
Remove the actions for creating new SVG and text annotations, and require users to use the corresponding annotation items instead.
Refs qgis/QGIS-Enhancement-Proposals#269