manjaro / pamac

This repo has been archived. Our code is now hosted at
https://gitlab.manjaro.org/
GNU General Public License v3.0
223 stars 38 forks source link

Using space in search is not possible #358

Closed philmmanjaro closed 6 years ago

philmmanjaro commented 6 years ago

A user reported an issue not able to search for google music. Space can't be used at all. Intended that way? @guinux

ghost commented 6 years ago

Note : The problem happens after writing a word, if you wait a second or two, then hit the space bar.

guinux commented 6 years ago

Pamac waits for 500 ms after you stop typing and then start to search. The reported issue occurs when typing a space and wait after the timeout to continue typing. So using space is of course possible if you wait less than 500 ms between a space and the next character.

ghost commented 6 years ago

@guinux Could it be possible to increase the time ? 500 ms is pretty short.

guinux commented 6 years ago

@philmmanjaro @1LinuxGuy what would be a good delay between stop typing and start searching in your opinion ?

philmmanjaro commented 6 years ago

Make it an option in settings and set the default to 1000ms. The user can then always change the default to its needs. Everybody types differently to be honest.

guinux commented 6 years ago

I increased the timeout to 1000 ms, let's see if it's enough.

mirh commented 6 years ago

Actually, I don't think timeout was the problem (0.5s was kinda good, for google instant-like purposes). I'm trying to look for git cola, and it doesn't show (even though it's there in yaourt)