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
Default layout manager templates not working #30064
Comments
@m-kuhn I didn't add this, so I'm not sure what the background to it is sorry. I'd say for the "default" button we should either open the first folder specified under settings for layout templates, or if there's NONE, then disable the button. |
I see, git blame didn't show the real origin because layouts is a copy of composer, it has its original roots here: @mhugent do you know if this is still in use somewhere and what's your opinion about the proposed change long term? I am afraid of breaking workflows by doing this change now. Would you be ok with the following proposal
|
The "Default templates" button in the layout manager now 1. checks if there is a composer_templates folder in the app dir 2. if not, redirects to the first configured composer templates folder 3. if no composer templates folder is configured, it's deactivated Fix qgis#30064
The "Default templates" button in the layout manager now 1. checks if there is a composer_templates folder in the app dir 2. if not, redirects to the first configured composer templates folder 3. if no composer templates folder is configured, it's deactivated Fix qgis#30064
In the layout manager, there is a button "Open template directory -> Default".
This button points to a system directory (
pkgDataPath/composer_templates
) that is not created by the QGIS installation. If the button is clicked, an error message appears, that the directory does not exist and cannot be created.I am not sure if this is a leftover (and nowhere used) or if it is intended to deploy organization-wide templates.
@nyalldawson I think you originally implemented this behavior, I'd be glad if you could shed some light
The text was updated successfully, but these errors were encountered: