Closed falzonv closed 2 years ago
i dont undestand this issue but need fix the search after show 2 or more apps press enter nothing happen, only when show 1 app press enter work.
@xi7 That isn't the issue here, and it works for me. You can open a new issue about it. :)
From https://github.com/falzonv/discreet-launcher/issues/176#issuecomment-1078047270 I think maybe highlighting the actual hits and not showing any movement (if possible) works. It seems more like a search for when search isn't really needed though.
look the big search difference, i press C
enter - A
enter ... never show or open calculator.
the second lancher , i just press C and calculator open easy, and D show discreet launcher and open after enter...
the discreeet launcher here need write full name or no work after press enter.
Hello,
@xi7: I confirm that when there is only 1 result remaining, pressing Enter opens it. This is not shown in your video but it would be the case after typing "cal", there is no need to enter the full name.
At the very beginning of the discussion, @comradekingu made this remark:
The search currently shows every valid sequence. If "iscre" is typed, it shows "Discreet Launcher". I am thinking if just the first letter is allowed, and then it resets for ever new key. Type A → All apps with a word beginning with A Type C → All apps with a word beginning with C
I don't really like the approach to allow only one letter, but the idea to show only apps "having a word starting with the searched sequence" (instead of "containing the searched sequence" currently) is interesting. This would allow to reduce faster the number of results down to 1 that could be opened with Enter.
For example in the video: => Typing "c" would give only 6 results instead of at least 12 currently => Typing "ca" would give only 2 results (Calculator and Camera) instead of 5 currently In addition, with the changes from https://github.com/falzonv/discreet-launcher/issues/176#issuecomment-1078047270 these fewer results would also be just above the keyboard.
Not sure how to do this yet but I will have a look...
Best regards.
Actually, thinking about ...
the idea to show only apps "having a word starting with the searched sequence" (instead of "containing the searched sequence" currently) is interesting.
... there is not much added value to try matching the beginning of any word in the app name. Just checking if the app name starts with the searched sequence is enough.
I will implement this, it is also much more efficient than the current approach to search at every position in the app name.
Once this is implemented, and with the improvements from https://github.com/falzonv/discreet-launcher/issues/176#issuecomment-1078047270, I think this ticket will be solved :-)
Hello,
This has been implemented in new release v6.2.0! I will leave this ticket open until it is available on F-Droid (usually takes 4 to 8 days).
Best regards.
v6.2.0 the launcher crash after enter
wrong name
Hello,
Thank you for the report, I will have a look.
Also, did you tried to press Enter when there are search results? This should launch the first app as you asked (by the way I think it was this change which introduced the bug you just noticed...).
Best regards.
This was fix in v6.2.1 pushed to GitHub few minutes ago. As usual, it will take 4 to 8 days to be available also from F-Droid, I will let this ticket opened in the meantime.
sometimes crash , now without press enter
For me it crashes when typing the third letter of searched item, it doesn't matter which one. For example typing abc the c would crash the launcher.
For me version 6.2.1 doesn't fix the aforementioned issue. Searching still crashes the launcher.
Same here.
Ok thank you all for the reports!
I think I was able to find the new bug (it is not the same that the one fixed in v6.2.1). Actually I think this bug was already present since the Search was implemented, it was just never noticed...
I will soon publish an updated release v6.2.2.
v6.2.2 was pushed to GitHub few minutes ago. As usual, it will take 4 to 8 days to be available also from F-Droid, I will let this ticket opened in the meantime.
Installed the 6.2.2 and the bug is gone, thank you for your awesome work.
@UserNameM3: Thank you for your kind words, I am glad you like Discreet Launcher :-)
Since 11th April v6.2.2 is available on F-Droid so I will close this ticket.
This ticket is created following discussion with @comradekingu in ticket #197:
Since this is a different (and more complex) topic than the original ticket, I create this one for better follow-up.