Bug report #6406
Project Macros are silently disabled when you use 3 of the 4 methods of opening a project
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | - | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 15659 |
Description
When you open a project that has project macros, if you open it via "File>Open Project", then a notification is displayed saying "security warning: macros have been disabled. Enable".
If you open the project via "File>Open Recent Projects" or by drag-and-drop, or by double-clicking on it in a file manager, then the notification is not displayed; the macros are silently disabled.
Associated revisions
unify the QGis behavior opening project files (fix #6406) and cleanup
History
#1 Updated by Alister Hood about 12 years ago
Note: the macros are disabled when not using "File>Open Project" even if "Settings>Options>Enable Macros" is set to always.
#2 Updated by Giuseppe Sucameli about 12 years ago
- Status changed from Open to Closed
Fixed in changeset bc1bce195edf4c95ff966cfe62aaa410b97a54fe.