IJHack / QtPass

QtPass is a multi-platform GUI for pass, the standard unix password manager.
https://qtpass.org/
GNU General Public License v3.0
1.03k stars 162 forks source link

Search not working as expected #410

Open wamtek opened 6 years ago

wamtek commented 6 years ago

Directly after starting QTPass all folders are closed. Now when i start typing into the search field for the first character one folder sub-level expands and after the second character nothing is shown anymore. When i clear the field and start typing again two sub-levels are expanded and nothing more. This behaviour repeats until all sub-levels are expanded and after that i can search for all entries. The behaviour is always the same after a fresh restart of the program.

My workaround to solve this issue is to type and delete one character a few times into the search field until all sub-levels are expanded directly after the first start.

I tried it with linux version 1.2.1, 1.2.3 and compiled latest from git and tried 1.2.1 on windows and it is always the same.

annejan commented 6 years ago

Thank you for this very clear description of the issue.

I think your workaround shows a way to solve this issue by always opening all folders recursively when starting a search.

FiloSpaTeam commented 6 years ago

@wamtek Would you like to try with my pull #407 if it's fixed? :+1:

wamtek commented 6 years ago

It looks good. Now i can see the search hits on the first try and do not have to do some "fake" searches to expand the folders at the beginning. :+1: And i like that the folders are beeing closed after i cleared the search.