Typing timeout breaks querying of all scopes on startup

Bug #1370483 reported by Paweł Stołowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-scopes-shell
Fix Released
High
Paweł Stołowski

Bug Description

The recently introduced typing timeout (rev. 143) has unexpected side effect that breaks querying of all favorite scopes on startup (rev. 135).

When Scopes object instance is created, it dispatches search to all favorite scopes, so that results are immediately available when user goes to that scope after boot. Rev 135 however fires off typing timeouts for all these searches, causing results to be invalidated, forcing new search when user goes to a favorite scope.

I think a fix for that would be to start typingTimer only when scope is currently active, unless there is a better way to only do that if we're dealing with actual typing, and not a query that is set programatically.

Tags: rtm14

Related branches

Revision history for this message
Pete Woods (pete-woods) wrote :

I think we are starting to have a somewhat confused setup in the shell "scope" class now. There is a *lot* going on there. It's a bit disappointing that the tests didn't pick up this failure :(

Pete Woods (pete-woods)
Changed in unity-scopes-shell:
status: New → Confirmed
Changed in unity-scopes-shell:
importance: Undecided → High
assignee: nobody → Pawel Stolowski (stolowski)
status: Confirmed → In Progress
tags: added: rtm14
Pete Woods (pete-woods)
Changed in unity-scopes-shell:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.