Skip to content

Reuse MetaDataList for Windowed Widgets Runner

Alexander Lohnau requested to merge work/optimize_windowed_widgets into master

The metadata list can be reused. The proposal is to load them once in the match method and reuse them for the entire session. This way we don't query them for each letter typed and by doing it in the match thread we don't block the UI.

I have put the method call at the beginning of the match method and in combination with !288 (merged) they wont be loaded if the query is too short.

Checking for modification time of files/folders is IMO a bit difficult because of all the different file locations and folder structures. If anyone has ideas regarding this I am happy to hear, but the current solution is definitely an improvement.

@davidedmundson

Merge request reports