Comment 2 for bug 965299

Revision history for this message
desrt (desrt) wrote :

The hud-service will return as many results as you ask for. It's a parameter to the StartQuery call:

In libunitycore I see:

namespace unity
{
namespace hud
{

namespace
{
nux::logging::Logger logger("unity.hud.hud");
const int request_number_of_results = 6;
}

Seems that 6 is really the desired amount.

Is this a misunderstanding between unity-2d and unity-3d (libunitycore)?

As for the large number of results... I'm not sure how that could be happening. My guess is that you are not handling the change signal properly and adding the new results reported by the change signal to the list you already have (instead of replacing it). My suspicion is confirmed by the fact that many of the same items are appearing in the list you attached.

The old hud-service didn't ever emit change signals so you would not have noticed this bug before recently...