touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #91693
[Bug 1394455] Re: 100ms timeout for query submission too brief
Hi, Is there any progress on this. I'm hitting a hard stop on making my
scope.
So the problem is - the scope makes several requests while typing - e.x.
typing "Douglas Adams" will result in a series of multiple requests
like:
Dispatching search: "ug" ""
Dispatching search: "ugl" ""
Dispatching search: "uglas" ""
Dispatching search: "uglas " ""
Dispatching search: "uglas a" ""
Dispatching search: " "uglas ad" ""
Dispatching search: "uglas adad" ""
Dispatching search: "uglas adam" ""
Dispatching search: "uglas adams" ""
Dispatching search: "duglas adams" ""
Dispatching search: "dou adams" ""
Dispatching search: "douglas adams" ""
most are irrelevant, as the api is not matching similar terms.
Also there is the problem that the api I am using limits the number of
requests per hour - so I am wasting 90% of those requests.
So, we either need
- a setting to delay request
- setting for longer typing timeout
- special only send on enter (maybe special icon withing search field to indicate)
or something so we can limit the rate of requests while typing...
--
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/1394455
Title:
100ms timeout for query submission too brief
Status in unity-scopes-api package in Ubuntu:
Invalid
Status in unity-scopes-shell package in Ubuntu:
Confirmed
Status in unity8 package in Ubuntu:
Incomplete
Bug description:
There is currently a 100 ms timeout between keypresses and query
submission. This is rather short and ends up submitting many queries
while the user is still typing a delay of ~300 ms would eliminate many
of these submissions while still being barely noticeable.
See this thread for further discussion: https://lists.launchpad.net
/ubuntu-phone/msg10361.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1394455/+subscriptions
References