Scope search queries don't persist departments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-scope-click (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
unity-scope-snappy (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
unity-scopes-shell (Ubuntu) |
Fix Released
|
High
|
Paweł Stołowski |
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.
summary: |
- Scope search queries don't persist departments beyond the first search + Scope search queries don't persist departments |
Changed in unity-scope-snappy (Ubuntu): | |
status: | New → Confirmed |
Changed in unity-scope-snappy (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in unity-scope-click (Ubuntu): | |
status: | Confirmed → Invalid |
Status changed to 'Confirmed' because the bug affects multiple users.