b0o / surfingkeys-conf

🏄 A SurfingKeys config which adds 180+ key mappings & 50+ search engines
MIT License
395 stars 67 forks source link

Scrolling down the Wikipedia search box will make the dialog disappear #7

Closed ghost closed 6 years ago

ghost commented 6 years ago

bug

Disambiguation page providing links to articles with similar titles

titles

b0o commented 6 years ago

This is really due to how the Surfingkeys OmniBar works and the fact that the Wikipedia result rows are taller than normal.

I wouldn't really consider it a bug because if you type something the search text input should be revealed again.

If it really bugs you, a workaround is to reduce the requested number of results from Wikipedia by using this URL instead: https://en.wikipedia.org/w/api.php?action=query&format=json&generator=prefixsearch&prop=info|pageprops%7Cpageimages%7Cdescription&redirects=&ppprop=displaytitle&piprop=thumbnail&pithumbsize=100&pilimit=6&inprop=url&gpslimit=6&gpssearch=

Please let me know if this solves your issue.

ghost commented 6 years ago

Thank you, showing 5 results are normal

https://en.wikipedia.org/w/api.php?action=query&format=json&generator=prefixsearch&prop=info|pageprops%7Cpageimages%7Cdescription&redirects=&ppprop=displaytitle&piprop=thumbnail&pithumbsize=100&pilimit=5&inprop=url&gpslimit=5&gpssearch=

b0o commented 2 years ago

This should be fixed in https://github.com/brookhong/Surfingkeys/pull/1893