Operating system: Linux-4.13.10-041310-generic-x86_64-with-debian-stretch-sid 64 Bits
Graphics card: GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.67
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-02-12 16:20, hash: rB77d23b0bd76f
Short description of error
The "Purge All" operator, added to the File - Cleanup menu for 2.82, can't be run when added to the Quick Menu, probably due to the wrong context.
But why does it work from the File menu itself then?
I have the same problem adding the operator to a custom pie menu - it's greyed out and can't be run. Running it from a custom operator throws the an "incorrect context" error, even when run with a context override changing the area.type to OUTLINER.
Exact steps for others to reproduce the error
- add Purge All from the File - Clean Up menu to the Quick menu
- try running it from the Quick menu