Bug report #6406

Project Macros are silently disabled when you use 3 of the 4 methods of opening a project

Added by Alister Hood over 11 years ago. Updated over 11 years ago.

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


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

Revision bc1bce19
Added by Giuseppe Sucameli over 11 years ago

unify the QGis behavior opening project files (fix #6406) and cleanup


#1 Updated by Alister Hood over 11 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 over 11 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF