Persisting Filters Through Different View Types

Hello, I just wanted to ask, is there a way to persist filters through an different doctype views? I’ve noticed that for example when switching from a list view to tree view in the task doctype, the filters are erased.