Although this bug can be fixed for all queries within the Applications, Places, and System menus, to make it work for some plugins (such as Tracker) would require requesting that feature to be added to their respective dependencies (i.e. Tracker itself, in the case of the Tracker plugin).
For now, though, I will limit my efforts to finding the best solution for the regular menus only. Then, in a second moment, we can try to see how to solve this for Tracker and other plugins.
Although this bug can be fixed for all queries within the Applications, Places, and System menus, to make it work for some plugins (such as Tracker) would require requesting that feature to be added to their respective dependencies (i.e. Tracker itself, in the case of the Tracker plugin).
For now, though, I will limit my efforts to finding the best solution for the regular menus only. Then, in a second moment, we can try to see how to solve this for Tracker and other plugins.