Content Query Optimization

When we right click a file (like a umap) or a folder (like Content root) in the editor, UE sometimes hangs for a bit. I’m assuming this is because it pre-loads the file or finds all files in that folder so that it knows what to do if you click on one of the right-click options.

Wouldn’t it make more sense to load the file or find all the files in the folder after we’ve selected an option? Whatever the option we select is, there is often a buffer from when we select it to when we see the output, so extending the buffer instead of having two hangs (one on right click, one on option select) would be smoother. Especially because we won’t always need to click an option on right click, or maybe we right-clicked the wrong file or folder, etc.

Maybe there’s a reason the file/folder must be pre-loaded / queried. Maybe it’s because depending on the content, the right-click options differ. But even then, couldn’t UE just query a label of some kind to determine what options this type of file can have? Folders always have the same options.