← Back to team overview

touch-packages team mailing list archive

[Bug 1471914] [NEW] Scope search queries don't persist departments beyond the first search

 

Public bug reported:

I have a scope with departments A and B. A is the root department (id:
""), and B has id: "b".

Scenario:

1) Initially surface scope, A is the current department.
2) Switch to the B department.
3) Run search query, typing very slowing so as to cause multiple searches to be run while the query is being typed.

Expected results:

Search results from each search during the typing of the search query
should be limited to department B.

Actual results:

Only the results from the very first search is from department B. As
soon as the second (and subsequent) searches occur while typing, the
search results are from the root department (A).

Suspected reason:

Adding debug prints to the scope shows that the department for the
search query is only passed along for the first search. If the search is
modified or being typed slowly enough so as to cause multiple searches
to occur, subsequent queries don't include the department at all, thus
the scope defaults to the root department.

** Affects: unity-scopes-shell (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-shell in
Ubuntu.
https://bugs.launchpad.net/bugs/1471914

Title:
  Scope search queries don't persist departments beyond the first search

Status in unity-scopes-shell package in Ubuntu:
  New

Bug description:
  I have a scope with departments A and B. A is the root department (id:
  ""), and B has id: "b".

  Scenario:

  1) Initially surface scope, A is the current department.
  2) Switch to the B department.
  3) Run search query, typing very slowing so as to cause multiple searches to be run while the query is being typed.

  Expected results:

  Search results from each search during the typing of the search query
  should be limited to department B.

  Actual results:

  Only the results from the very first search is from department B. As
  soon as the second (and subsequent) searches occur while typing, the
  search results are from the root department (A).

  Suspected reason:

  Adding debug prints to the scope shows that the department for the
  search query is only passed along for the first search. If the search
  is modified or being typed slowly enough so as to cause multiple
  searches to occur, subsequent queries don't include the department at
  all, thus the scope defaults to the root department.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-shell/+bug/1471914/+subscriptions


Follow ups

References