GNOME Bugzilla – Bug 737387
gnome clocks search provider strangeness
Last modified: 2016-05-05 02:38:42 UTC
Hi, I have hit a couple of issues with the gnome clocks search provider. Not sure if they are related, but if not, i can file seperate bugs later. First, if i type too fast, the search provider does not seem to register, and no results are found. It is not until I either delete a character in the search (or add another character) until the search is shown. Here is a video of this in action: https://www.youtube.com/watch?v=JXyLVlS_nkI Also, after this, i searched for something else, (gpick) and after deleting a few letters of this search, the search result for the first video was then shown: https://www.youtube.com/watch?v=Z_mBZ9mkW_Y
*** Bug 753322 has been marked as a duplicate of this bug. ***
Created attachment 327129 [details] [review] search-provider: rewrite to be stateless Currently the search provider carries state between searches. This is a source of bugs, as sometimes search results are not consistent or not returned at all for certain searches. This commit uses gweather_location_serialize()/deserialize() to make the provider stateless.
Review of attachment 327129 [details] [review]: Thanks, yes, I guess this is the best way to shield ourselves from the shell implementation.
Thanks, pushed to master Attachment 327129 [details] pushed as c6681f8 - search-provider: rewrite to be stateless