Bug report #6406

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

Added by Alister Hood about 12 years ago. Updated about 12 years ago.

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

Revision bc1bce19
Added by Giuseppe Sucameli about 12 years ago

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

Also available in: Atom PDF